summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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-302-4/+20
|\ \ | | | | | | | | | 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-302-4/+20
| |/ | | | | | | | | | | | | | | | | | | | | 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
* | Use promisedIntent instead of intent when deep shortcuts are restored.Tony Wickham2016-08-300-0/+0
|\ \ | | | | | | | | | | | | | | | am: def6e474da Change-Id: I634bb0b13cb2449da159b4c8d23b4ddcf32f09ac
| * | Use promisedIntent instead of intent when deep shortcuts are restored.Tony Wickham2016-08-305-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 (cherry picked from commit fc02c1b446ee54561ac7351fb6ff0f8294785f0e)
* | | 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
* | Fixing wrong label in the AndroidManifestSunny Goyal2016-08-252-7/+27
| | | | | | | | | | | | Updating the gradle and protobuf library version Change-Id: I0470ebe7465cf2f04ef59688ac2b3f4933d48ad1
* | 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
* | | Updating the workspace scrimSunny Goyal2016-08-2513-0/+0
| | | | | | | | | | | | | | | | | | | | | The scrim is only drawn on the top in both normal & transposed layout Bug: 29189114 Change-Id: I99bbf4c4a73e172e000ef24af0662e1922592e0a
* | | Merge "Moving the scrim to draglayer" into ub-launcher3-calgary-polishSunny Goyal2016-08-257-179/+3
|\ \ \
| * | | Moving the scrim to draglayerSunny Goyal2016-08-237-179/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > 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
* | | | | 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-240-0/+0
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | am: 92cb84d4e5 Change-Id: I934ffa4fbb1a9be31d19f69554092af77fe06612
| * | | | 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)
* | | | | 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-233-2/+6
|\ \ \ \ | | | | | | | | | | | | | | | 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-223-2/+6
| | |/ / | |/| | | | | | | | | | | | | | | | | | 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
| * | | Cancel hotseat color animator before setting a new color.Tony Wickham2016-08-221-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was a race condition that caused the new color to not be applied. For example, here's how the hotseat would become transparent: 1 Launcher is loaded for the first time; as such, there is not yet a color defined for the hotseat, so we start animating to the provided default (Color.TRANSPARENT). Meanwhile we start the color extraction. 2 When the color extraction finishes, we set the hotseat to the new color. However, if launcher is paused at the time (perhaps some retail mode content is showing), then we don't animate the change. 3 If 2 happens before the animation in 1 is complete, the color from 2 will be overriden by subsequent animation frames and thus the hotseat remains transparent until the wallpaper changes. Bug: 30956221 Change-Id: Iddf72379b0162f1b32883ad26ce267473e172849
* | | | Removing wrong dead code around direction matchingSunny Goyal2016-08-181-6/+3
| | | | | | | | | | | | | | | | Change-Id: Ic8349fcac4bfe6222b1cbf26e8cbb1810dc32298
* | | | Fixing allApps UI not extending to statusbar & navbar on tabletsSunny Goyal2016-08-181-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | AllApps UI on tablets includes the extra gray bottom bar at the bottom for nav-bar background protection, and should overlay the nav bar Change-Id: Idb138b714c34de5510eb9aedfcefb22c9189eee4
* | | | Merge "Adding support for pending widgets in AutoInstall layout" into ↵Sunny Goyal2016-08-175-49/+129
|\ \ \ \ | | | | | | | | | | | | | | | ub-launcher3-calgary-polish
| * | | | Adding support for pending widgets in AutoInstall layoutSunny Goyal2016-08-165-49/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Pending widgets whill show a loading progress while the app is being installed. > Extra bind options can be defined using the tub tags <extra key="key-name" value="key-value" /> These are sent as widget options when the widget is bound. > If the widget has any config activity, it is not shown > Required attributes: className, packageName, x, y, spanY, spanY & screen Bug: 30279609 Change-Id: I1338618bfa5d86967339dffb68c12b1add6eb5d7
* | | | | Merge "Fixing broken accessibility drag" into ub-launcher3-calgary-polishSunny Goyal2016-08-172-7/+8
|\ \ \ \ \
| * | | | | Fixing broken accessibility dragSunny Goyal2016-08-172-7/+8
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Allow touch events on hotseat while in accessible drag as drag now happens in spring loaded state. > Allow drop target buttons to ignore thershold check when in accessibility drag Bug: 30900444 Change-Id: I88274367983fc027b2ddde3a719ca943f4f48587
* | | | | Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgaryBill Yi2016-08-160-0/+0
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | am: c9efe2ba9c -s ours Change-Id: I1fbfd1be22e96d99d05a76e480fc6dca290bc519
| * | | | Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgaryTreeHugger Robot2016-08-161-1/+1
| |\ \ \ \
* | \ \ \ \ Import translations. DO NOT MERGEBill Yi2016-08-160-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| / / / | |_|/ / / |/| | | | | | | | | am: 2deaba905f -s ours Change-Id: I4d456a029be23f5a716cac7b3132cdf82f27bac9
| * | | | Import translations. DO NOT MERGEBill Yi2016-08-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I96007581be40da18813dfcb8606bc6d8fed29e54 Auto-generated-cl: translation import