{"push_id":744628022,"size":2,"distinct_size":2,"ref":"refs/heads/lp5.1","head":"a1d3d45a58fbab2629f7a57a94ff712f5da43915","before":"4ac72d0edcf3aa8c66c8c6b969364ec88f5459a2","commits":[{"sha":"227e07155598f5169fc3bf759269c2dbfd3bb660","author":{"email":"3abb84728bc5f2f8a63de3259ee09ad86fb2f26f@gmail.com","name":"lichti1901"},"message":"FWB: Navigation bar button color (1/2)\n\nSigned-off-by: NoelMacwan <yulespencer@gmail.com>\n\nConflicts:\n\tcore/java/android/provider/Settings.java\n\tpackages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java","distinct":true,"url":"https://api.github.com/repos/SXDSemcROMs/android_frameworks_base/commits/227e07155598f5169fc3bf759269c2dbfd3bb660"},{"sha":"a1d3d45a58fbab2629f7a57a94ff712f5da43915","author":{"email":"338da36b0b88a09286ade72059277a2652c85f05@googlemail.com","name":"Lars Greiss"},"message":"Frameworks: Slim recent app screen\n\nPS14: revert to PS12\n\nOne of the parts on AOSP google missed to update/improve in the last\ncouple of releases is the recent app screen to allow better and faster\nmultitasking. I had always a special vision how it could/should look\nand gives the user a faster workflow.\n\nThis commit is now our new recent screen. It is a complete new implementation\nand replaces googles AOSP recent app screen. The code changes in the base itself\nare quiet miniml to call the new recent screen.\n\nSome notes:\n\n1. This patch needs a new repo: frameworks_opt_cards which is a central repo\n   to get any kind of googles cards style. Thanks Gabrielle Mariotti a ton who\n   made the base for this library and hellped a lot out.  We just fixed together with him some parts\n   and mad it useable as AOSP central library. So we can use it later for other\n   changes as well\n\n2. Preload needs to work 100%. So it is needed to check that the calling parts\n   (like hw key rebinding, pie, navigation bar) do a proper preload. If they do not\n   recent screen will just not show up. To follow what they are doing you can enable\n   debug in RecentController.java which exactly shows what was called.\n\nSome notes to the patch itself:\n\n- Recent app  screen slides from the right edge into the screen\n\n- Show recent apps in new google card style. Most recent apps show\n  expanded with the app screenshot. Other are collapsed. Of course\n  the user can change expanded/collapse of each app during the session where the state\n  will be restored on next access.\n\n- Compared to AOSP recents we do a 3 stage loading\n  1. step: preload the task list and build or update the cards (does not load any content at this point)\n  2. step: User actually toggled the recent screen....icons, text and screenshot thumbnail which will get visible are loaded now\n  3. step: Recent screen is fully animated in. All other non visible content at this time are loaded now.\n  This allows a smooth experience for the user and a minimal load on the first 2 steps. Especially important due that we handle\n  a lot animations which are very picky when it comes to background loads. last 2 steps are async multithreaded loading tasks.\n\n- We are using for the app icons and thumbnails a bitmap LRU cache controller to have fast access to the bitmaps we need. This improves especially\n  the scrolling and as well the loading time due that allready loaded app icons are holded in the LRU cache.\n\n- Theme support is included as well for all items the recent screen has\n\n- Most important point: Way faster workflow now. The recent screen neither freezes the underlaying app nor it does interrupt the current process the\n  user is in. It just slides over the current app about 40% of the screen. Back button as well just an outside touch (which will be passed trough to the app)\n  allows to immediatelly go ahead in your workflow.\n\n- Normal click opens an app, longpress opens app detail screen (note: we have only one hidden action on our current recents. If we later decide there could be\n  other actions as well...showing a google card menu button on the top right is a very easy task and allready provided from the frameworks_opt_cards lib)\n  swipe left or right removes the app from the current tasks\n\n- Pinch to zoom out gesture provides the ability to remove all tasks with a big red warning!!\n\n- All above mentioned actions are animated.\n\n- As usual it is multiDpi compatible\n\n- A lot work went into the optimizing especially for low end non gfx devices where animations\n  as well listview scrolling is not that easy. We got the maximum out of optimization here which\n  gives acceptable results on low end devices and amazing one on the gfx capable devices.\n\n- A small side note this patch contains as well a fix on navigation bar preload.\n\nThats the short description.....user need to see it to get the real benefits of this new way.\n\ncheers\n\nkufi\n\nChange-Id: I1925cd9ea37f2239585445142bd37370f137eabd\n\nFrameworks: slimrecents: call app details screen correctly\n\nSo feedback shows that we only have 2 bugs. For the one patch is up. The other\none is fixed here.\n\ntwo problems\n\n1. Longpress opened the detail screen twice and wrong\n\n2. It shows up in the task list which it should not. Going inline\n   with the AOSP implementation of it.\n\nuse TaskStackBuilder to call it proper with our animation on top.\n\nChange-Id: I18ba0a23ee91fe259143567d157bf24a72e1036a\n\nFrameworks: slimrecents: allow closing recents in middle of the open animation\n\nAs reported by Tejus Kandachar steps to reproduce:\n\nPress Recents button and very quicky tap on one of the apps in the recents list,\njust as recents list is sliding in. If done fast, the app opens but recents screen does not close.\nIf done normally it slides away as expected.\n\nFix it with allowing to close the pannel as well on animation in state.\n\nChange-Id: I4c52e6e6a4fd4b3a2a63bc364ead055f0e619faf\n\nFrameworks: Slimrecents: cover bad 3rd party apps behaviour\n\nRecent app screen as well the original AOSP one needs a proper preloading.\nWe discovered due of reports that a lot apps (launcher etc) just call over\nthe SystemUIService some even with reflection :/ just the toggle and no\npreload at all.\n\nWhatever we cover this behaviour due that we do not want to break 3rd party\napps. If someone calls the toggle without proper preload we preload them first before\nthe recent starts animating. Listener takes already care on it for low end devices. We\njust use this now and let the taskloader in this case decide when the recent app screen\ncan be shown.\n\nAs well this commit disables the logcat spam lol. Forgot to disable debug on the relase\ncommit\n\nPS:\n- fixed code style issue\n- go on out animation down in the runable delay. Not needed to be that long at all\n\nPS:\n- add another safety check\n\nPS\n- another one\n\nChange-Id: I43a47185da446b9ecaec114c1835ecfd20c3ac73\n\nFrameworks: keep IME keyboard alive due recent is showing\n\nChange-Id: Ieae9b899afa99739cc5cfa536a03d6827567c24b\n\nFrameworks: SlimRecents: go more inline with AOSP and add menu + new googly shortcuts\n\nThis commit changes the longpress behaviour. Like on stock aosp longpress opens the menu with this options\n\n1. App info (like stock)\n\n2. Play Store link to the app\n\n3. Amazon store link to the app\n\nNote: the store links are only shown if the app has the info that it was installed by one of this\nstores. So stock apps (installed by system) or sideloaded apps do not show this link.\n\nAs well some backup apps break this entry on restore lol.\n\nAs well a bit cleanup on here and there and remove the close panel call on cancelPreload. Not needed\n\nPS\n- disable debug\n\nPS\n- set correct style\n- disable one default debug\n\nChange-Id: I29769f48ce6073acb6105f5590b93c671d6fc0d4\n\nFrameworks: fix the random fc on pinch\n\nWell logic error from me which can lead in an recycle bitmap fc due of a race\ncondition. Reason is simple it the animation needs for whatever reason longer then\nthe removing the tasks the view is probably still visible and recycle of the bitmap\nresults in a fc.\n\nTo fix it just remove the tasks after the animation is done and we definitly know\nthat no items are visble which are recycled.\n\nChange-Id: I7878e02e6fb1887f8d11304550e083d107095a4a\n\nFrameworks: go kitkat + style tweaks and follow googles color sheme\n\nGoogles color sheme on cards is\n\ncard: ffffff\naditional content: f5f5f5\nbackground: e5e5e5\n\nfirst two we did...background not. Follow the color sheme due it has a better contrast.\n\nAs well remove the non google rounded edges.\n\nAllow drawing behin status and navigation bar if the bars are translucent\n\nPS:\n- due it is now a system window ensure that all other system windows are closed when opening recents.\nPS\n- minor tweaks\nPS\n- remove one unused flag\nPS\n- respect app system ui visibility status and reflect it for smoother experience\nPS\n- bring back TYPE_RECENT_OVERLAY window layouparams back to live. It was never documented\nnor depreciated. Was used in the past for GB recents and is even updated till today although\nnothing in the system is using it.\n\nMake it fully functionall (it is basically just an extended TYPE_SYSTEM_DIALOG) and allow\nthis window type to extend its content behind navigation bar.\n\nPS\n- minor fix...init the systemUI flags for the view allready on preload to prevent positioning\nof the listview.\nPS\n- draw always behind navigation bar as long it is not immersive mode or hide navigation bar mode\n- add more margin to the delete icon for kill all\n\nChange-Id: If38036dded961fcf0a6d8c2e7d2ba44a8e1dd08a\n\nFrameworks: derp\n\nwell it does not effect us due that we proper preload etc. But if it is not\na cancel repload event should reset the mIsPreloaded flag\n\nsorry\n\nChange-Id: Icc531dcd6bae187473f65ec7da267c72f9edbcf6\n\nFrameworks: SlimRecents make it RTL/LTR aware + scaling + lefty mode (1/3)\n\nThis commit adds several features:\n\n- Make it fully RTL/LTR aware. Means it shows up on the oposite side if an RTL\n  language was choosen. As well icon, textposition, menu etc follows RTL direction.\n  So like AOSP guidelines suggest it is fully compatible now for all locals\n\n- Add scaling mode....user can scale the overall size down (especially for the\n  user with stock dpi requested)\n\n- Add lefty mode. Recent panel shows up on the left edge instead of the right edge\n\nAs well this commit unlinks the construct of the card with the update of the content. This\nreduces one update call on construct and gives a tight faster loading.\n\nChange-Id: I4c5105f86644a08da81861851da7e0e347c26244\n\nFrameworks: add favorite mode\n\nAllow user to set favorite apps in recent task list. User can set them with\nlongpress on the app icon. This apps are always shown in the task list above\nthe first default one (on phone the first 2 which always show the last 2 active\ntasks). Favorites are shown in order of last time they were called. Favorites\nsettings are saved permanently till the user removed it from favorites.\n\nAs well this commit fixes the wrong icon if an package has more then one\nactivity to call (eg Google+ and Google Photo).\n\nUsing for all now a unique identifier.\n\nChange-Id: I3cd7dd6600389c73e678f382377b441612902833\n\nFrameworks: notify arrayadapter early that data has changed on clear all\n\nRecent clear all. Current behaviour is that we do not update the array adapter at all\ndue that it gets rebuild on next reload. But in very rare cases it happens that getView\nwant to update shortly after all is cleared althought the view is not visible anymore.\n\nWhatever just call notifyDataSetChanged after List is cleared to work against it.\n\nChange-Id: I61ca25358ebe164336ba349565459537861c5495\n\nFrameworks: do not kill favorite recent apps\n\nDue of a lot user requests and I basically like the idea (not a fan of clear all apps at all\ndue that it does not make sense android wise) we ehance the favorite recent apps feature.\n\nThis commit basically does not remove the apps from the task list which were marked from the user\nas favorite.\n\n3 possibilities:\n\n- No favorites are in the task list - clear all behaves like it was before - all tasks cleared and panel closes\n\n- favorites and non favorites are in the task list - clear all removes all non favorite tasks and favorite tasks stay.\n  Yes without fancy animations....we want to be fast ;) - panel stays open\n\n- only favorites are in the list - pinch to zoom out is blocked due that nothing is there to clear all.\n\nsingle clear of a task with swipe behaves in all cases normal like it was before this change\n\nChange-Id: Ia05562e0f59dfb023aa65ec3a40dd951594dc88e\n\nSlimRecents: Adress the 50ms touch unsresponsive issue\n\nUser reported that if the screen is fully animated in that the touch\ndetection is not working for about the first 50ms. For user who are working\nfast this is indeed an issue. Especially due that the recent screen speeds\nup the workflow much already.\n\nProblem is our third loading stage due that after the recent screen animates in\nit calls getView on all elements which rebuilds the touch listeners and cause to\nthe slight timeframe where it is unresponsive.\n\nWell the third loading stage was a left over from the first optimizations when\nwe started to develop this feature. Other optimizations are into place now so we\ndo not really need the third loading stage at all. So instead of handling now\nthe fix in the getView implementation of the arrayadapter we simply just remove the\nthird loading stage completely.\n\nPS:\n- small other optimization\n\nChange-Id: Ibf46fbe393de4f9d6b867e6bdb9c331dff1dd38e\n\nFrameworks: SlimRecents: Make expanded layout pretty\n\nInstead of adding an extra box below the header expand it in the inner layout\nso it is visual one card. Looks nicer, conform with google style and saves\na bit space\n\nChange-Id: I6b406c622ac557a1ce6b81bfa86b4c96b492eceb\n\nFrameworks: SlimRecents pass gesture detector to the cardslistview\n\nsee this commit https://gerrit.slimroms.net/6469\n\nthis fixes broken gesture detector\n\nChange-Id: Ifd28e7e570808ade0494c7015c50c01c344d8741\n\nFrameworks: SlimRecents: user configurable default expanded mode (1/2)\n\nA lot requests to customize the default behaviour\n\nauto = like it is now....dependend on the overlay the first tasks are expanded other collapsed\nalways = always all expanded\nnever = always all collapsed\n\nOf course still user changes directly in the recent panel counts more then the default settings\nbehaviour\n\nPS\n- correct code comment to new behaviour\nPS\n- fix typo\n\nrebase\n\nChange-Id: I468be296de3c50d0036d2805c0d0cb8e54248e57\n\nSlimRecents: fix sometimes missing first task\n\napply the fix for aosp recents\n\nhttps://github.com/SlimRoms/frameworks_base/commit/760413134a5efe60c1d4473322e467152d71c80b\n\nas well to slimrecents\n\nChange-Id: Ibce0707cf516034675451d0440608bafe097c92d\n\nSlim Recents: Option to show topmost task [1/2]\n\nChange-Id: Ib39d9b87b0fd30b4d34d4292af39e891038f337a\n\nSlim Recents: Always show topmost task collapsed\n\nPS2: Also restore expanded state of topmost task when on homescreen\nPS3: Fix code style\n\nChange-Id: I64956410fb389d8e880979a84b51321d8b372217\n\nSlimRecents: Rework show top most task feature\n\nrecently introduced this feature needed a bit rework. Basic changes\n\n- do not call settings provider on every preload to prevent high IO work.\n  Use our observer for that\n- Use internal flag logic to mark topmost task\n- Move interpretation of the expanded state into the card\n- Due that topmost task is always collapsed do not show expanded icon at all\n- Minor cleanup\n\nPS:\n- set mFirstTask to null if it is not used\n\nChange-Id: Ifaabc035b6b9bd2d4527d5b34a1bca9c80a74e32\n\nFB: Slimrecents background color && transparency [2/2]\n\nPS: now setting sticks through reboots and TRDS state\n        changes. also, add reset to default color option.\n\nPS: when resetting to default, use TRDS (png) resources\n        instead of custom color\n\nPS: remove LSN dependency\n\nPS: make default background setting cognizant of\n        recent panel gravity setting to display\n        correct background resource\nChange-Id: Icf0259ce45d416364d6e7a7a8c2038f6c4c0cbde\n\nFix recent panel defaulting to white on clean flash\n\nPreviously, recent panel would default to a solid\n    white background on clean flash, until the user\n    changed/reset the colors.  This fixes that issue,\n    and the recent panel background now defaults to\n    the proper semi-transparent white drawable (or\n    semi-transparent black drawable if the TRDS\n    state is switched).\n\nChange-Id: Iea9d292596e8f4f51b55940e97e6597215ca58c2\n\nFB: Slimrecents card/text color [2/2]\n\nAllows user to set custom colors for Slimrecents card\n    header text and background.\n\nPS: fixed expanded card (thumbnail) background\nChange-Id: I896a4db4ce235dc53858381347379d5fd7f7e796\n\nRevert \"SystemUI: Fix missing top task in recent panel.\"\n\nThis was fixed with another commit which was merged some time ago.\n\nThis reverts commit 760413134a5efe60c1d4473322e467152d71c80b.\n\nAICPfy\n\nChange-Id: I026f0905ce7231d4505bedc3c0f9a956d2efd8fb\nSigned-off-by: NoelMacwan <yulespencer@gmail.com>\n\nConflicts:\n\n\tcore/java/android/provider/Settings.java\n\tcore/java/android/view/IWindowManager.aidl\n\tpackages/SystemUI/Android.mk\n\tpackages/SystemUI/res/values/custom_colors.xml\n\tpackages/SystemUI/res/values/dimens.xml\n\tpackages/SystemUI/res/values/styles.xml\n\tpackages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java\n\nConflicts:\n\tcore/java/android/hardware/fingerprint/Fingerprint.aidl\n\tpackages/SystemUI/Android.mk\n\tpackages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java\n\tcore/java/android/view/IWindowManager.aidl\n\tcore/res/res/values/tesla_symbols.xml\n\tpackages/SystemUI/res/values/colors_custom.xml\n\tpackages/SystemUI/res/values/tesla_config.xml\n\tpackages/SystemUI/res/values/tesla_dimens.xml\n\tpackages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java\n\ttools/layoutlib/bridge/src/android/view/IWindowManagerImpl.java","distinct":true,"url":"https://api.github.com/repos/SXDSemcROMs/android_frameworks_base/commits/a1d3d45a58fbab2629f7a57a94ff712f5da43915"}]}