summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | Merge "Don't show app info for ITEM_TYPE_SHORTCUT." into ↵TreeHugger Robot2016-09-091-1/+2
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | ub-launcher3-calgary-polish
| * | | | | Don't show app info for ITEM_TYPE_SHORTCUT.Tony Wickham2016-09-081-1/+2
| |/ / / / | | | | | | | | | | | | | | | | | | | | Bug: 30440566 Change-Id: I77b101331ea249c633be9f7df1edebefa7b9e0a8
* | | | | Merge "Launcher restore state fixes:" into ub-launcher3-calgary-polishSunny Goyal2016-09-083-282/+362
|\ \ \ \ \
| * | | | | Launcher restore state fixes:Sunny Goyal2016-09-063-282/+362
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Creating PendingRequestArgs to store generic request info across activity instances > Storing the CALL_PHONE request in PendingRequestArgs > Handling onActivityResult only after the workspace has loaded. onActivityResult sometimes modifies launcher db when removing empty screens, and any add action is also deferred until bindComplete. This simplifies this logic. > Always binding the restored page irrespective of pending result. Before starting a request activity (bind widget permission, or widget config activity or shortcut picker), workspace commits the pending screen id to the DB. Hence the restore page is valid when restore is called (onResume loads with currentPage instead of restored page) Bug: 28573143 Change-Id: I34be603cbeb2145f5caf0d18e016f50029e07df8
* | | | | | Merge "Updating the assets for the all-apps search background." into ↵Sunny Goyal2016-09-081-3/+3
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | ub-launcher3-calgary-polish
| * | | | | Updating the assets for the all-apps search background.Sunny Goyal2016-09-081-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 30309105 Change-Id: I4dd4a97ff49fd3c6dd386f100ca35dfb629044df
* | | | | | Merge "Add outline to shortcuts when focused." into ub-launcher3-calgary-polishTony Wickham2016-09-081-1/+3
|\ \ \ \ \ \
| * | | | | | Add outline to shortcuts when focused.Tony Wickham2016-09-071-1/+3
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | Bug: 30563273 Change-Id: Ia54c112dcf91c225588b7388001eb93ee5c03171
* | | | | | Merge "Preventing concurrentmodification exception when dragging a icon with ↵Sunny Goyal2016-09-071-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | shortcuts from inside a folder" into ub-launcher3-calgary-polish
| * | | | | | Preventing concurrentmodification exception when dragging a iconSunny Goyal2016-09-071-1/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with shortcuts from inside a folder When dragging the icon, DeepShortcutContainer removes itself as a dragListener causing the exception Change-Id: Ifb2b4a3045caa54aa0b6a9b525055ffdcfaa04a6
* | | | | | Merge "Change all apps caret target bounding box b/30400751" into ↵Hyunyoung Song2016-09-074-41/+28
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | ub-launcher3-calgary-polish
| * | | | | Change all apps caret target bounding boxHyunyoung Song2016-09-074-41/+28
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/30400751 1) This also fixes the issue of apps drawer sliding up when page is swiped horizontally immediately above the hotseat area. 2) Disclaimer: this should be cp'ed to calgary. Hence, I tried to keep the diff small. Ideally, CaretDrawable animation handling should move to AllAppsHandleImageView via refactoring in follow up CL. Change-Id: I4d808ee2eeca53b40c0b4e4e0e364fef056e26c3
* | | | | Merge "Some optimizations in blur outline generator" into ↵Sunny Goyal2016-09-025-41/+37
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | ub-launcher3-calgary-polish
| * | | | | Some optimizations in blur outline generatorSunny Goyal2016-09-025-41/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Using ALPHA_8 as the start and end bitmap. This removes one extra bitmap generation step 2) Using ByteBuffer on ALPHA_8 bitmap for clipAlpha. This allows us to use byteArray instead of intArray for representing pixels Change-Id: I1b654c439fd491b6b91180ddc562bb97fad857aa
* | | | | | Fixing topView not being considered in all places when calculating accessibleSunny Goyal2016-09-027-82/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and focusable views Bug: 30563273 Change-Id: I6253ce33ee5c328efdde2ea733029975b31e5eb8
* | | | | | Some drag and drop code refactor:Sunny Goyal2016-09-0114-173/+224
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Adding DragOptions to easily extend drap functionality 2) Changing onDragStarted signature to send more information 3) Updating states for dropTargetButton based on drag event directly 4) Removing folder item based on onDragStarted and not startDrag Change-Id: I65b684e092ddc081d086bfe2c8c1973ed170eaeb
* | | | | Merge "Support user event logging for drag and drop b/30039490" into ↵Hyunyoung Song2016-09-0111-58/+172
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | ub-launcher3-calgary-polish
| * | | | | Support user event logging for drag and dropHyunyoung Song2016-09-0111-58/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/30039490 Supported in this CL: - DnD: drag from container [WORKSPACE|HOTSEAT|FOLDER|ALLAPPS|WIDGETS|DEEPSHORTCUTS] drag to container [HOTSEAT,WORKSPACE,FOLDER,DROPTARGETS] - Source and target can be [FOLDER_ICON, ICON, DEEPSHORTCUT, WIDGET] - $ adb shell setprop log.tag.UserEvent DEBUG will turn on debugging Change-Id: I0b8b879b80e6dce85bbde6e7794f9e0677832603
* | | | | | Merge "Removing some reflection code" into ub-launcher3-calgary-polishSunny Goyal2016-09-011-23/+8
|\ \ \ \ \ \
| * | | | | | Removing some reflection codeSunny Goyal2016-09-011-23/+8
| | |/ / / / | |/| | | | | | | | | | | | | | | | Change-Id: I8a0a707d69999e5f9911e7d8df7d4a659b3dfb8f
* / | | | | Unifying toString() method for various ItemInfo subclassesSunny Goyal2016-09-019-46/+29
|/ / / / / | | | | | | | | | | | | | | | Change-Id: I7cde42f0df412e2877fb93c77e74ee56a25edead
* | / / / Splitting some methods into individual compat classesSunny Goyal2016-08-315-15/+74
| |/ / / |/| | | | | | | | | | | Change-Id: Id5a2650b290367d1574eb56346beca389900596b
* | | | Merge "Adding isDemoUser method in userManager" into ub-launcher3-calgary-polishSunny Goyal2016-08-313-7/+18
|\ \ \ \
| * | | | Adding isDemoUser method in userManagerSunny Goyal2016-08-313-7/+18
| | | | | | | | | | | | | | | | | | | | Change-Id: I0ad2c0e7bfac5eff5e5c95c3e533840921a67dc3
* | | | | Merge "ComponentName null check MUST proceed before creating ComponentKey." ↵Hyunyoung Song2016-08-311-0/+4
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | into ub-launcher3-calgary-polish
| * | | | ComponentName null check MUST proceed before creating ComponentKey.Hyunyoung Song2016-08-291-0/+4
| |/ / / | | | | | | | | | | | | Change-Id: I2460561b62d77d3f2f17dc2a7db765785b46a8c6
* | | / Preventing unnecessary setLayout calls in workspaceSunny Goyal2016-08-302-5/+10
| |_|/ |/| | | | | | | | | | | | | | Separating getSystemProperty in a separate method Change-Id: I88716e796e29ac27ef25afa41077a8f29eb65f25
* | | Merge "Bug fix in Alarm where it was not getting called correctly if the new ↵Sunny Goyal2016-08-301-4/+11
|\ \ \ | | | | | | | | | | | | timeout was set that was smaller than the previously set timeout" into ub-launcher3-calgary-polish
| * | | Bug fix in Alarm where it was not getting called correctly if theSunny Goyal2016-08-301-4/+11
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | new timeout was set that was smaller than the previously set timeout > Using uptimeMillis in Alarm to avoid errors due to system time changes > Adding an extra check in Wait in case Thread.sleep eats up all the timeout Change-Id: Id1fac5e8fdb81a0c3c7a6a5e50586b2a2f180d06
* | | Merge "Use promisedIntent instead of intent when deep shortcuts are ↵Tony Wickham2016-08-295-11/+21
|\ \ \ | | | | | | | | | | | | restored." into ub-launcher3-calgary-polish
| * | | Use promisedIntent instead of intent when deep shortcuts are restored.Tony Wickham2016-08-295-11/+21
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | This ensures that the intent has the package corresponding to the shortcut publisher, rather than a market intent. It also ensures that the intent has the EXTRA_SHORTCUT_ID attached. Bug: 31123204 Change-Id: I05d56396b629880322e915f52bfc0605b921b0b1
* / / Adding a debug flag to prevent broken downlodas from getting removed duringSunny Goyal2016-08-292-9/+18
|/ / | | | | | | | | | | | | | | | | restore After setting this flag apps do not need to have an active settion during restore which would simplyfy debugging backup-restore bugs. Change-Id: I89f2d3ec677281887f8bab8559ace991709caadc
* | Merge "Improve handling of external deletion in LauncherProvider.delete" ↵Sunny Goyal2016-08-261-3/+26
|\ \ | | | | | | | | | into ub-launcher3-calgary-polish
| * | Improve handling of external deletion in LauncherProvider.deleteLouis Begin2016-08-161-3/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | When deleting a widget, ensure that we also delete the corresponding widget from the system server Bug 30835877 Change-Id: I7d539c2d37ef53086d09ae128f7278941f804aeb
* | | Merge "Moving the scrim to draglayer" into ub-launcher3-calgary-polishSunny Goyal2016-08-254-179/+0
|\ \ \
| * | | Moving the scrim to draglayerSunny Goyal2016-08-234-179/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > This causes the scrim to animate with the content on first launch > Also removing the logic to disable scrim based on state. That logic was only executing onResume which could lead to an invalid state Bug: 30972956 Bug: 30576826 Change-Id: Ia8386b303ce260f69e3b3b93041226f409301a01
* | | | Starting the settings activity with same animation as wallpaper (and widgets ↵Sunny Goyal2016-08-252-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | tray) Change-Id: I7744d50c9762200eb2ffea37d8435c9bc221c526
* | | | Merge "Prevent against NPE inside ComponentKey" into ub-launcher3-calgary-polishHyunyoung Song2016-08-242-2/+10
|\ \ \ \
| * | | | Prevent against NPE inside ComponentKeyHyunyoung Song2016-08-242-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/31063280 Change-Id: I71254fc1a3244fd6834ebf65923d194f17afc1ba
* | | | | Fixing the hotseat import logicSunny Goyal2016-08-242-10/+41
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | am: d70ef24233 Change-Id: I1be426419d7a7f044dfd81207c3ee3b1df43b404
| * | | | Fixing the hotseat import logicSunny Goyal2016-08-242-10/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The import logic following the behavior: Improt everything and force run GridMigrationTask to automatically remove broken icons. This logic would fail for hotseat as the replacement happens before the GridMigrationTask, which will not replace the broken targets appropriately The cl changes some logic only for hotseat import > After import remove any broken icons/empty folders > When adding default icons, only add as much icons as required. Since GridMigrationTask uses weights, it sometimes removes imported icon, if the hotseat size becomes too large. Bug: 30909630 Change-Id: I6ca1f25dac81649794d81aaf82c3c38d1c918d91
| * | | | Checking for duplicate intent with proper source bounds.Sunny Goyal2016-08-241-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since we are doing a equality check on the intent, items which already have the bounds attached to the intent will not get matched, causing duplicate icons Bug: 27176189 Change-Id: Ia9ed9120b04e9c234304995aed13777a5773119e (cherry picked from commit cbfe71dba38af1d1cd2d2372b649537d7d94610b)
* | | | | Merge "Comparing widget sizes when sorting if the labels are same" into ↵Sunny Goyal2016-08-241-1/+12
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | ub-launcher3-calgary-polish
| * | | | | Comparing widget sizes when sorting if the labels are sameSunny Goyal2016-08-181-1/+12
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | Bug: 21441837 Change-Id: Ib0e6d3b84389f900264a0d696d22057426973719
* | | | | Checking for duplicate intent with proper source bounds.Sunny Goyal2016-08-231-1/+3
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since we are doing a equality check on the intent, items which already have the bounds attached to the intent will not get matched, causing duplicate icons Bug: 27176189 Change-Id: Ia9ed9120b04e9c234304995aed13777a5773119e
* | | | Merge "Adding a resource pointer to the app name so that derived projects ↵Sunny Goyal2016-08-231-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | can easily modify app name" into ub-launcher3-calgary-polish
| * | | | Adding a resource pointer to the app name so that derived projects canSunny Goyal2016-08-221-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | easily modify app name Change-Id: I3f301e1b2ba38d0a45d220bb628dcfdf3906246c
* | | | Merge "Landscape container padding update. b/30021487" into ↵Hyunyoung Song2016-08-231-3/+3
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-calgary-polish
| * | | | Landscape container padding update.Hyunyoung Song2016-08-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/30021487 Change-Id: I179825eba09f3c4c57175e8f6da49708dae1931c
* | | | | Cancel hotseat color animator before setting a new color.Tony Wickham2016-08-221-4/+16
|\ \ \ \ \ | |_|/ / / |/| | / / | | |/ / | |/| | | | | | am: ef0c537925 Change-Id: I1aea3e288d7e54e788ad95b8599e6d909458b220