summaryrefslogtreecommitdiffstats
path: root/src/com/android
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge "Fix widget tray crash on screen rotation introduced by ag/694693" ↵Hyunyoung Song2015-05-222-13/+29
|\ \ | | | | | | | | | into ub-launcher3-burnaby
| * | Fix widget tray crash on screen rotation introduced byHyunyoung Song2015-05-222-13/+29
| | | | | | | | | | | | | | | | | | | | | | | | ag/694693 b/21402209 Change-Id: Idae97fca971d90f5fbba658411491147cb023c8d
* | | Moving all apps code into sub package.Winson Chung2015-05-2215-137/+203
| | | | | | | | | | | | | | | | | | | | | - Renaming resources, dimens, etc to be more consistent - Removing old AppsCustomize resources and other unused code Change-Id: I15ce35e7cb7a9b9344fc7103963e4e4c9e45d89a
* | | Creating landscape and portrait device profiles at app initializationSunny Goyal2015-05-2214-368/+172
| | | | | | | | | | | | Change-Id: Ide9d007adc36b348e19b05cdf49e87f8b02db60e
* | | Animating workspace active background changeSunny Goyal2015-05-212-47/+30
| | | | | | | | | | | | | | | | | | > Removing workspace_overscroll_drawable_padding which is always 0 Change-Id: I89900738371458a6eb7cbfee215d98b267d6a0b0
* | | Refactoring DeviceProfileAdam Cohen2015-05-2138-709/+646
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -> Pulling out the parts of device profile which can (and need to be) initialized and accessed without access to an Activity context, ie. the invariant bits. -> The invariant bits are stored in InvariantDeviceProfile which is initialized statically from LauncherAppState. -> The DeviceProfile contains the Activity context-dependent bits, and we will create one of these for each Activity instance, and this instance is accessed through the Launcher activity. -> It's possible that we can continue to refactor this such that all appropriate dimensions can be computed without an Activity context (by only specifying orientation). This would be an extension of this CL and allow us to know exactly how launcher will look in both orientations from any context. Sets the stage for some improvements around b/19514688 Change-Id: Ia7daccf14d8ca2b9cb340b8780b684769e9f1892
* | | Merge "Tweaking method name." into ub-launcher3-burnabyWinson Chung2015-05-212-3/+3
|\ \ \
| * | | Tweaking method name.Winson Chung2015-05-212-3/+3
| | | | | | | | | | | | | | | | Change-Id: I2f4f9dc58c8148059914a106526995e80a82376f
* | | | Merge "Fixing crash in previous CL." into ub-launcher3-burnabyWinson Chung2015-05-212-4/+10
|\| | |
| * | | Fixing crash in previous CL.Winson Chung2015-05-212-4/+10
| | | | | | | | | | | | - Shouldn't be referencing mApps before it is set.
* | | | Merge "Icons are not updated to TYPE_APPLICATION during restore" into ↵Sunny Goyal2015-05-216-37/+49
|\ \ \ \ | |/ / / |/| | | | | | | ub-launcher3-burnaby
| * | | Icons are not updated to TYPE_APPLICATION during restoreSunny Goyal2015-05-216-37/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Use low res only for app shortcuts > Running icon migration after restore > Running icon migration again for all users > Deduping shortcuts added from widget tray Bug: 20945600 Change-Id: I3bb47545fdd9832510069026fbae8966d2311cc1
* | | | Merge "Preventing overdraw. Drawing background directly at the window, ↵Sunny Goyal2015-05-211-6/+20
|\ \ \ \ | | | | | | | | | | | | | | | instead of the rootview." into ub-launcher3-burnaby
| * | | | Preventing overdraw. Drawing background directly at the window, instead ofSunny Goyal2015-05-211-6/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the rootview. Change-Id: Ie974752e739d9acd1fbd765809c671f82f462644
* | | | | Cleaning up some app model code.Winson Chung2015-05-212-96/+102
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Preventing extra sorting when adding/updating apps - Preventing extra logic when filtering apps - Fixing overlapping prediction bar when all predictions are removed - Fixing crash when retrieving section names for AppInfos whose titles have been updated, but updateApps has not yet been called. Change-Id: I1da468b0fd5c5cc404b6a5e6146a268fefeca267
* | | | Merge "Breaking icon update task so that it doesn't block worker thread" ↵Sunny Goyal2015-05-212-87/+120
|\ \ \ \ | | | | | | | | | | | | | | | into ub-launcher3-burnaby
| * | | | Breaking icon update task so that it doesn't block worker threadSunny Goyal2015-05-212-87/+120
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 20945600 Change-Id: Iaf516577898b51ad6e8a813d7f018ecad969c100
* | | | | Merge "Load PackageItemInfo in background thread to prevent ANR" into ↵Hyunyoung Song2015-05-2110-58/+62
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | ub-launcher3-burnaby
| * | | | Load PackageItemInfo in background thread to prevent ANRHyunyoung Song2015-05-2110-58/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Decoupled widget model from widget view, and placed the creation to LauncherModel. - As a result packagemanager operation, iconcache retrieval is all done inside LauncherModel on background thread b/21311085 b/21325319 Change-Id: I294698527db58b89f3da558090a367530c058776
* | | | | Merge "Using color filter when animating the drop target instead to ↵Sunny Goyal2015-05-215-19/+56
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | TransitionDrawable" into ub-launcher3-burnaby
| * | | | | Using color filter when animating the drop target instead to TransitionDrawableSunny Goyal2015-05-215-19/+56
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | > No more flickering when crossfading between two bitmaps in small duration > Allows us to control the color directly without depending on the assets Change-Id: Ie7ed8bb94baf560e9b939cca624ed1bad457732c
* / | | | Do not trim folder titleSunny Goyal2015-05-212-3/+5
|/ / / / | | | | | | | | | | | | | | | | Bug: 21297281 Change-Id: I633780f8207aabc8362f016e6b5a6e720cee1b86
* | | | Fixing issue where the prediction bar apps are not focused.Winson Chung2015-05-213-22/+28
| | | | | | | | | | | | | | | | | | | | | | | | - Also fixes issue where all apps is not accessible by keyboard when there are no other apps in the hotseat. Bug: 21334471
* | | | Merge "Setting drawable to droptarget in the code to avoid multiple drawable ↵Sunny Goyal2015-05-201-25/+8
|\ \ \ \ | |/ / / |/| | | | | | | inflation" into ub-launcher3-burnaby
| * | | Setting drawable to droptarget in the code to avoid multiple drawable inflationSunny Goyal2015-05-201-25/+8
| | | | | | | | | | | | | | | | Change-Id: Ib713b3051e2707d46a4ee0090aed2db1d2e641b9
* | | | Merge "Reducing delay in applying widget previews loaded in the background." ↵Winson Chung2015-05-201-26/+74
|\ \ \ \ | |/ / / |/| | | | | | | into ub-launcher3-burnaby
| * | | Reducing delay in applying widget previews loaded in the background.Winson Chung2015-05-201-26/+74
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Push the writing of previews to the DB to the worker thread to ensure that we can apply the loaded preview as soon as possible. - Reducing additional bitmap allocations from cancelled tasks that did not re-add their bitmaps to the unused set (happens when the list is scrolling quickly). Change-Id: Ib7c2cfdfcc668c215b3a74271e1165235fbdf752
* | | Merge "Removing some unused functionalities" into ub-launcher3-burnabySunny Goyal2015-05-202-75/+6
|\ \ \
| * | | Removing some unused functionalitiesSunny Goyal2015-05-192-75/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Removing obsolete progrard rules > Removing BackgroundAlphaMultiplier from CellLayout, which is always 1 > Removign otiline animation from workspace. This animation never runs, as it is called during startReordeing which always happens when overview mode (workspaceInModalState() is true) Change-Id: I43219e41ea188771bc818988c1bcbd523f28cba6
* | | | Merge "Avoiding blocking worker thread when adding icons to DB" into ↵Sunny Goyal2015-05-201-12/+58
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-burnaby
| * | | | Avoiding blocking worker thread when adding icons to DBSunny Goyal2015-05-191-12/+58
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 20945600 Change-Id: If12b21ac62c55c769838ce17d5421f147c396256
* | | | | Removing unnecessary linear layoutSunny Goyal2015-05-201-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I7fe423b9526805a2e84887e0437ebdc96203c263
* | | | | Fixing unnecessary padding added to pages in overview modeSunny Goyal2015-05-202-2/+10
| | | | | | | | | | | | | | | | | | | | Change-Id: Icd17c2956b201ea0b6c6a2a495f567f51987b1ac
* | | | | Removing override annotation to fix build.Winson Chung2015-05-201-1/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: I5a4dfa339db7862ac3db4cc379469ac8d9f6fae5
* | | | | Merge "Removing itemCount, fromIndex and toIndex from ↵Vadim Tryshev2015-05-201-3/+0
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | AccessibilityEvent.TYPE_VIEW_SCROLLED sent by PagedView. This causes an additional reduntant voice message on scroll (see the bug)." into ub-launcher3-burnaby
| * | | | | Removing itemCount, fromIndex and toIndex fromVadim Tryshev2015-05-191-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AccessibilityEvent.TYPE_VIEW_SCROLLED sent by PagedView. This causes an additional reduntant voice message on scroll (see the bug). Also, setting these attributes violate rules set here: http://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html i.e. that these fields should be set only for descendants of AdapterView. Note that we can't just stop sending TYPE_VIEW_SCROLLED, because in this case, accessibility focus won't be set after scrolling. Bug: 21304383 Change-Id: I84f8e064d8209c0e09d6827551e00c9913829b57
* | | | | | Merge "List work profile widgets to the end of the row of the widget tray, ↵Hyunyoung Song2015-05-201-14/+19
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | then sort" into ub-launcher3-burnaby
| * | | | | List work profile widgets to the end of the row of the widget tray, then sortHyunyoung Song2015-05-201-14/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/20339403 Change-Id: I7cd824e47eba1121c9053a4064a51750bed587e7
* | | | | | Merge "Moving LauncherAccessibilityDelegate to accessibility package" into ↵Sunny Goyal2015-05-2012-18/+42
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | ub-launcher3-burnaby
| * | | | | | Moving LauncherAccessibilityDelegate to accessibility packageSunny Goyal2015-05-1912-18/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I510204a5a12abf2da2757f3e3f8b0e8869a6b04a
* | | | | | | Merge "Updating widget resize frame assets." into ub-launcher3-burnabySunny Goyal2015-05-201-62/+53
|\ \ \ \ \ \ \
| * | | | | | | Updating widget resize frame assets.Sunny Goyal2015-05-191-62/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Using a shadow as background and a frame as foreground. > The handle has baked in shadow which gets wrapped by the frame shadow Change-Id: Ib0e305ea735304236b3319e4fde22fb442f5dc0f
* | | | | | | | Merge "Adding null check to outline generator" into ub-launcher3-burnabySunny Goyal2015-05-201-0/+3
|\ \ \ \ \ \ \ \
| * | | | | | | | Adding null check to outline generatorSunny Goyal2015-05-191-0/+3
| | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | Change-Id: I8eb8b62a868d80fd0a7c9deec8915828bd8177d0
* / | | | | | | Avoiding object allocation during drawSunny Goyal2015-05-191-15/+16
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | Change-Id: I94c146e0f4ad7386a31782f0e63e5228a2fa0442
* | | | | | | Merge "Adding drop shadow effect in allapps" into ub-launcher3-burnabySunny Goyal2015-05-194-5/+92
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | |
| * | | | | | Adding drop shadow effect in allappsSunny Goyal2015-05-154-5/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic7a9b6e23d925d27a8dcbd418d2609e43917ac45
* | | | | | | Unify sorting between all apps and widget trayHyunyoung Song2015-05-195-136/+175
| |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - selected locale names are shown before latin - case independent sorting - main app > enterprise app Future possible refactoring: - Move all the *ItemInfo data structures to model package - Rename the comparator based on NOT what data structure it supports but what functionality it supports (locale? case independent? main app > enterprise app?) b/21271658 b/20339403 Change-Id: I8a776467392e21d5014e85cd3f51931a3ef89724
* | | | | | Merge "Widget cell improvement" into ub-launcher3-burnabySunny Goyal2015-05-195-86/+102
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | Widget cell improvementSunny Goyal2015-05-195-86/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Using a custom view for preview, instead of extensing image view > Preventing relayout when applying preview > Removing unnecessary method calls Bug: 21133230 Change-Id: Iab12fa1e5c871ee43a9fb0e6b6af897fecfb345f