OSDN Git Service

android-x86/packages-apps-Launcher3.git
7 years agoAdd outline to shortcuts when focused.
Tony Wickham [Thu, 8 Sep 2016 17:10:19 +0000 (17:10 +0000)]
Add outline to shortcuts when focused.
am: 8dd5168b05

Change-Id: Ibb0331561129d42ee83821bfa284689e2e0633c6

7 years agoAdd outline to shortcuts when focused.
Tony Wickham [Wed, 31 Aug 2016 20:30:27 +0000 (13:30 -0700)]
Add outline to shortcuts when focused.

Bug: 30563273
Change-Id: Ia54c112dcf91c225588b7388001eb93ee5c03171

7 years agoChange all apps caret target bounding box b/30400751 am: da1c17c492
Hyunyoung Song [Wed, 7 Sep 2016 22:43:20 +0000 (22:43 +0000)]
Change all apps caret target bounding box b/30400751 am: da1c17c492
am: 621ae5c2e6

Change-Id: I770f5a0b080bb6528d80ac157afd4663d0fae5ea

7 years agoChange all apps caret target bounding box b/30400751
Hyunyoung Song [Wed, 7 Sep 2016 22:40:49 +0000 (22:40 +0000)]
Change all apps caret target bounding box b/30400751
am: da1c17c492

Change-Id: Ic3b9cc87ec75e13162588bab8cefe8f870af13f8

7 years agoMerge "Preventing concurrentmodification exception when dragging a icon with shortcut...
Sunny Goyal [Wed, 7 Sep 2016 21:57:48 +0000 (21:57 +0000)]
Merge "Preventing concurrentmodification exception when dragging a icon with shortcuts from inside a folder" into ub-launcher3-calgary-polish
am: 27d10940d2

Change-Id: I71319a1c73da63640370508b17cb6c7fab4a223e

7 years agoPreventing concurrentmodification exception when dragging a icon with shortcuts from...
Sunny Goyal [Wed, 7 Sep 2016 21:57:48 +0000 (21:57 +0000)]
Preventing concurrentmodification exception when dragging a icon with shortcuts from inside a folder
am: d0d495f508

Change-Id: I9254264ae8a85f013efc0966fcf05ad826ca4790

7 years agoMerge "Change all apps caret target bounding box b/30400751" into ub-launcher3-calgar...
Hyunyoung Song [Wed, 7 Sep 2016 21:57:47 +0000 (21:57 +0000)]
Merge "Change all apps caret target bounding box b/30400751" into ub-launcher3-calgary-polish
am: 5f4d130d87

Change-Id: I84d1d5905fadd3476415e996669fe51351ddd296

7 years agoChange all apps caret target bounding box b/30400751
Hyunyoung Song [Wed, 7 Sep 2016 21:57:47 +0000 (21:57 +0000)]
Change all apps caret target bounding box b/30400751
am: 016eaeea99

Change-Id: Ib1b820557cd4ab1e404629df93231705f00ee5cd

7 years agoMerge "Preventing concurrentmodification exception when dragging a icon with shortcut...
Sunny Goyal [Wed, 7 Sep 2016 21:48:50 +0000 (21:48 +0000)]
Merge "Preventing concurrentmodification exception when dragging a icon with shortcuts from inside a folder" into ub-launcher3-calgary-polish

7 years agoChange all apps caret target bounding box
Hyunyoung Song [Wed, 7 Sep 2016 21:45:09 +0000 (14:45 -0700)]
Change all apps caret target bounding box
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
(cherry picked from commit 016eaeea99e163f0b5385cf660297e6c21ff21e5)

7 years agoMerge "Change all apps caret target bounding box b/30400751" into ub-launcher3-calgar...
Hyunyoung Song [Wed, 7 Sep 2016 21:46:04 +0000 (21:46 +0000)]
Merge "Change all apps caret target bounding box b/30400751" into ub-launcher3-calgary-polish

7 years agoChange all apps caret target bounding box
Hyunyoung Song [Wed, 7 Sep 2016 21:45:09 +0000 (14:45 -0700)]
Change all apps caret target bounding box
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

7 years agoPreventing concurrentmodification exception when dragging a icon
Sunny Goyal [Wed, 7 Sep 2016 21:39:41 +0000 (14:39 -0700)]
Preventing concurrentmodification exception when dragging a icon
with shortcuts from inside a folder

When dragging the icon, DeepShortcutContainer removes itself as a
dragListener causing the exception

Change-Id: Ifb2b4a3045caa54aa0b6a9b525055ffdcfaa04a6

7 years agoSupport user event logging for drag and drop b/30039490 am: 551e5abfe1 -s ours
Hyunyoung Song [Tue, 6 Sep 2016 18:51:02 +0000 (18:51 +0000)]
Support user event logging for drag and drop b/30039490 am: 551e5abfe1  -s ours
am: 9b7149db40

Change-Id: I2f5f6083b2a29d1bcb41e3f35760a5f3a4d314f5

7 years agoSupport user event logging for drag and drop b/30039490
Hyunyoung Song [Tue, 6 Sep 2016 18:47:31 +0000 (18:47 +0000)]
Support user event logging for drag and drop b/30039490
am: 551e5abfe1  -s ours

Change-Id: Ie1edd18af660437dcbd510885f9101b93592b53f

7 years agoSupport user event logging for drag and drop
Hyunyoung Song [Thu, 1 Sep 2016 19:47:12 +0000 (12:47 -0700)]
Support user event logging for drag and drop
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
(cherry picked from commit 59a238095e82fd02355f4cb53abe01655a50b051)

7 years agoRemoving some reflection code am: 6ff1ef17a2 -s ours
Sunny Goyal [Fri, 2 Sep 2016 22:01:40 +0000 (22:01 +0000)]
Removing some reflection code am: 6ff1ef17a2  -s ours
am: b7ad5f8e09

Change-Id: I9db8d7943c935592d0fe5e180a1b7e2c6648f565

7 years agoRemoving some reflection code
Sunny Goyal [Fri, 2 Sep 2016 21:59:12 +0000 (21:59 +0000)]
Removing some reflection code
am: 6ff1ef17a2  -s ours

Change-Id: Ibfc257848b9714a592c016f7f72ead30eabbdc65

7 years agoMerge "Moving some image handling classes to .graphics package" into ub-launcher3...
Sunny Goyal [Fri, 2 Sep 2016 19:40:58 +0000 (19:40 +0000)]
Merge "Moving some image handling classes to .graphics package" into ub-launcher3-master

7 years agoMerge "Moving AppsAvailabilityCheck into a separate class" into ub-launcher3-master
Sunny Goyal [Fri, 2 Sep 2016 19:36:46 +0000 (19:36 +0000)]
Merge "Moving AppsAvailabilityCheck into a separate class" into ub-launcher3-master

7 years agoMoving some image handling classes to .graphics package
Sunny Goyal [Thu, 1 Sep 2016 19:50:11 +0000 (12:50 -0700)]
Moving some image handling classes to .graphics package

Change-Id: Id6d3d0b9c345a503ff2e09f073eb4b6449e21c7e

7 years agoRemoving some reflection code
Sunny Goyal [Thu, 1 Sep 2016 18:00:49 +0000 (11:00 -0700)]
Removing some reflection code

Change-Id: I8a0a707d69999e5f9911e7d8df7d4a659b3dfb8f
(cherry picked from commit e2ec8a3cd52f2322016fcadbae8963a446e2b0b3)

7 years agoMerge "Blocking alpha animation if the initial and final state for the animation...
Sunny Goyal [Fri, 2 Sep 2016 19:21:26 +0000 (19:21 +0000)]
Merge "Blocking alpha animation if the initial and final state for the animation are both 0" into ub-launcher3-calgary am: 171fbdbc10
am: 5d48634a9d

Change-Id: I8556a6996543e69d3640b95a54ad63d8767b395f

7 years agoBlocking alpha animation if the initial and final state for the animation are both...
Sunny Goyal [Fri, 2 Sep 2016 19:21:00 +0000 (19:21 +0000)]
Blocking alpha animation if the initial and final state for the animation are both 0 am: 62e7518359
am: 118f1d25b5

Change-Id: I2eada84b2eb82ef5c363eca769ad3e1f98cdb2ff

7 years agoMerge "Bug fix in Alarm where it was not getting called correctly if the new timeout...
Sunny Goyal [Fri, 2 Sep 2016 19:20:59 +0000 (19:20 +0000)]
Merge "Bug fix in Alarm where it was not getting called correctly if the new timeout was set that was smaller than the previously set timeout" into ub-launcher3-calgary am: dbbb1fee90
am: d82f688b9f

Change-Id: Iff5261899f13d8023c722b100501dd0ebe0f3fcc

7 years agoBug fix in Alarm where it was not getting called correctly if the new timeout was...
Sunny Goyal [Fri, 2 Sep 2016 19:20:59 +0000 (19:20 +0000)]
Bug fix in Alarm where it was not getting called correctly if the new timeout was set that was smaller than the previously set timeout am: 6f2bb1ada5
am: 562e04035b

Change-Id: Ied2ddd21deff40443ba30fcfc18179fe1cd09c69

7 years agoMerge "Fixing broken accessibility drag" into ub-launcher3-calgary am: d9033f3ae1
Sunny Goyal [Fri, 2 Sep 2016 19:20:58 +0000 (19:20 +0000)]
Merge "Fixing broken accessibility drag" into ub-launcher3-calgary am: d9033f3ae1
am: 4bee110f4f

Change-Id: I9f6fbf26fe1b629f3a760ec14ff6709b4f537d6b

7 years agoFixing broken accessibility drag am: 9be9936653 -s ours
Sunny Goyal [Fri, 2 Sep 2016 19:20:57 +0000 (19:20 +0000)]
Fixing broken accessibility drag am: 9be9936653  -s ours
am: 4240337e7f

Change-Id: I47f5f939a1cc2263060e08ffabb29e105731f756

7 years agoMerge "Blocking alpha animation if the initial and final state for the animation...
Sunny Goyal [Fri, 2 Sep 2016 19:18:54 +0000 (19:18 +0000)]
Merge "Blocking alpha animation if the initial and final state for the animation are both 0" into ub-launcher3-calgary
am: 171fbdbc10

Change-Id: Ia985ac4e86ff5aec8bc20f2decb5d13331dbd386

7 years agoBlocking alpha animation if the initial and final state for the animation are both 0
Sunny Goyal [Fri, 2 Sep 2016 19:18:53 +0000 (19:18 +0000)]
Blocking alpha animation if the initial and final state for the animation are both 0
am: 62e7518359

Change-Id: I3ac4f5be0726e2389e31a8fa3b18c5ca7d955c8c

7 years agoMerge "Bug fix in Alarm where it was not getting called correctly if the new timeout...
Sunny Goyal [Fri, 2 Sep 2016 19:18:53 +0000 (19:18 +0000)]
Merge "Bug fix in Alarm where it was not getting called correctly if the new timeout was set that was smaller than the previously set timeout" into ub-launcher3-calgary
am: dbbb1fee90

Change-Id: If5d392fb037a57669407c16d428ef12cdd52377a

7 years agoBug fix in Alarm where it was not getting called correctly if the new timeout was...
Sunny Goyal [Fri, 2 Sep 2016 19:18:52 +0000 (19:18 +0000)]
Bug fix in Alarm where it was not getting called correctly if the new timeout was set that was smaller than the previously set timeout
am: 6f2bb1ada5

Change-Id: I6f6603133cc0bb31fd1d7f354eb0fdefef2f9dea

7 years agoMerge "Fixing broken accessibility drag" into ub-launcher3-calgary
Sunny Goyal [Fri, 2 Sep 2016 19:18:52 +0000 (19:18 +0000)]
Merge "Fixing broken accessibility drag" into ub-launcher3-calgary
am: d9033f3ae1

Change-Id: Ib39a4246e3d054d3bb9e88bbeede44471c488e22

7 years agoMerge "Fixing overlay scroll state not getting reset properly when scrolling is was...
Sunny Goyal [Fri, 2 Sep 2016 19:18:29 +0000 (19:18 +0000)]
Merge "Fixing overlay scroll state not getting reset properly when scrolling is was cancelled" into ub-launcher3-calgary am: 7bc4b5bcd4
am: 0ab0175ded

Change-Id: I967eff6f7042426ebf38bac1a9a8b9c1fda526ac

7 years agoFixing overlay scroll state not getting reset properly when scrolling is was cancelle...
Sunny Goyal [Fri, 2 Sep 2016 19:18:28 +0000 (19:18 +0000)]
Fixing overlay scroll state not getting reset properly when scrolling is was cancelled am: 538b54c467
am: e7eb774a60

Change-Id: I36be80ead0ae2f6be8b28a3647376632f58ddfc6

7 years agoLandscape container padding update. b/30021487 am: 6cf1e0f36b
Hyunyoung Song [Fri, 2 Sep 2016 19:18:28 +0000 (19:18 +0000)]
Landscape container padding update. b/30021487 am: 6cf1e0f36b
am: 24b12143ac

Change-Id: I163754d6b9feb678a81dd77faa872c48bd52f776

7 years agoMerge "Some optimizations in blur outline generator" into ub-launcher3-calgary-polish
Sunny Goyal [Fri, 2 Sep 2016 19:18:27 +0000 (19:18 +0000)]
Merge "Some optimizations in blur outline generator" into ub-launcher3-calgary-polish
am: f2d363f670

Change-Id: I1e0547f07c7b3115f1ef2932ceb283c2a801dffb

7 years agoFixing broken accessibility drag
Sunny Goyal [Fri, 2 Sep 2016 19:18:26 +0000 (19:18 +0000)]
Fixing broken accessibility drag
am: 9be9936653  -s ours

Change-Id: I784cd756542cb5712a7e94bbc2166ddaf35236aa

7 years agoSome optimizations in blur outline generator
Sunny Goyal [Fri, 2 Sep 2016 19:18:26 +0000 (19:18 +0000)]
Some optimizations in blur outline generator
am: f28e6afafd

Change-Id: I135810c233d64d4a6fdc14c3b3dc913117c6ffc9

7 years agoMerge "Fixing overlay scroll state not getting reset properly when scrolling is was...
Sunny Goyal [Fri, 2 Sep 2016 19:16:29 +0000 (19:16 +0000)]
Merge "Fixing overlay scroll state not getting reset properly when scrolling is was cancelled" into ub-launcher3-calgary
am: 7bc4b5bcd4

Change-Id: Ic1a2af3400e49168f37fc89f3cf84bdd60300fd7

7 years agoFixing overlay scroll state not getting reset properly when scrolling is was cancelled
Sunny Goyal [Fri, 2 Sep 2016 19:16:28 +0000 (19:16 +0000)]
Fixing overlay scroll state not getting reset properly when scrolling is was cancelled
am: 538b54c467

Change-Id: Ie03ceb66e211e1e961724b7e94cd6519a2a0012d

7 years agoLandscape container padding update. b/30021487
Hyunyoung Song [Fri, 2 Sep 2016 19:16:28 +0000 (19:16 +0000)]
Landscape container padding update. b/30021487
am: 6cf1e0f36b

Change-Id: I547443f09702d054f4a60c3ed95570b76bb85193

7 years agoMerge "Some optimizations in blur outline generator" into ub-launcher3-calgary-polish
Sunny Goyal [Fri, 2 Sep 2016 19:15:59 +0000 (19:15 +0000)]
Merge "Some optimizations in blur outline generator" into ub-launcher3-calgary-polish

7 years agoMerge "Blocking alpha animation if the initial and final state for the animation...
Sunny Goyal [Fri, 2 Sep 2016 19:14:55 +0000 (19:14 +0000)]
Merge "Blocking alpha animation if the initial and final state for the animation are both 0" into ub-launcher3-calgary

7 years agoMerge "Bug fix in Alarm where it was not getting called correctly if the new timeout...
Sunny Goyal [Fri, 2 Sep 2016 19:14:38 +0000 (19:14 +0000)]
Merge "Bug fix in Alarm where it was not getting called correctly if the new timeout was set that was smaller than the previously set timeout" into ub-launcher3-calgary

7 years agoMerge "Fixing broken accessibility drag" into ub-launcher3-calgary
Sunny Goyal [Fri, 2 Sep 2016 19:13:56 +0000 (19:13 +0000)]
Merge "Fixing broken accessibility drag" into ub-launcher3-calgary

7 years agoMerge "Fixing overlay scroll state not getting reset properly when scrolling is was...
Sunny Goyal [Fri, 2 Sep 2016 19:13:06 +0000 (19:13 +0000)]
Merge "Fixing overlay scroll state not getting reset properly when scrolling is was cancelled" into ub-launcher3-calgary

7 years agoFixing topView not being considered in all places when calculating accessible and...
Sunny Goyal [Fri, 2 Sep 2016 18:38:08 +0000 (18:38 +0000)]
Fixing topView not being considered in all places when calculating accessible and focusable views
am: 52851aa3fd

Change-Id: I4ab189d43bb30b2a7271d9b62ad6589753ce46aa

7 years agoBug fix in Alarm where it was not getting called correctly if the
Sunny Goyal [Sat, 27 Aug 2016 22:33:16 +0000 (15:33 -0700)]
Bug fix in Alarm where it was not getting called correctly if the
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
(cherry picked from commit a2125e1d102034e1d638b5d1e973b5b77cfe1efd)

7 years agoFixing broken accessibility drag
Sunny Goyal [Wed, 17 Aug 2016 18:11:48 +0000 (11:11 -0700)]
Fixing broken accessibility drag

> 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
(cherry picked from commit 4583d09c0560a83bfd0320299482cc41ac460b0c)

7 years agoLandscape container padding update.
Hyunyoung Song [Tue, 23 Aug 2016 18:06:24 +0000 (11:06 -0700)]
Landscape container padding update.
b/30021487

Change-Id: I179825eba09f3c4c57175e8f6da49708dae1931c
(cherry picked from commit 9d96fd579039d07a6a36887ae699907631014c8d)

7 years agoSome optimizations in blur outline generator
Sunny Goyal [Wed, 31 Aug 2016 23:02:40 +0000 (16:02 -0700)]
Some optimizations in blur outline generator

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

7 years agoFixing overlay scroll state not getting reset properly when
Sunny Goyal [Fri, 12 Aug 2016 19:46:01 +0000 (12:46 -0700)]
Fixing overlay scroll state not getting reset properly when
scrolling is was cancelled

Bug: 30834333
Change-Id: I3605cd2dd939057905d297b5a25ce8669d578125
(cherry picked from commit 4ff424abf91a24b2ef021e12ab4bed434f13cd40)

7 years agoBlocking alpha animation if the initial and final state for the animation
Sunny Goyal [Thu, 11 Aug 2016 19:54:04 +0000 (12:54 -0700)]
Blocking alpha animation if the initial and final state for the animation
are both 0

Bug: 30739854
Change-Id: I4f7c579dc3f64a4fed60d7b2f8ecd5f359e165ec
(cherry picked from commit bf206123a8cfad9f1341b60ff9a138e64b30b6e3)

7 years agoMoving AppsAvailabilityCheck into a separate class
Sunny Goyal [Thu, 1 Sep 2016 22:50:36 +0000 (15:50 -0700)]
Moving AppsAvailabilityCheck into a separate class

Change-Id: Ieea1b5100d63752d928049ad9b1d3b4f84234f0d

7 years agoFixing topView not being considered in all places when calculating accessible
Sunny Goyal [Fri, 2 Sep 2016 17:41:43 +0000 (10:41 -0700)]
Fixing topView not being considered in all places when calculating accessible
and focusable views

Bug: 30563273
Change-Id: I6253ce33ee5c328efdde2ea733029975b31e5eb8

7 years agoSome drag and drop code refactor:
Sunny Goyal [Fri, 2 Sep 2016 17:23:04 +0000 (17:23 +0000)]
Some drag and drop code refactor:
am: 94b510cc68

Change-Id: I2e6e8eaf8c972a6261ec54c322753a1c76f8bc95

7 years agoSome drag and drop code refactor:
Sunny Goyal [Tue, 16 Aug 2016 22:36:48 +0000 (15:36 -0700)]
Some drag and drop code refactor:

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

7 years agoMerge "Support user event logging for drag and drop b/30039490" into ub-launcher3...
Hyunyoung Song [Thu, 1 Sep 2016 21:58:24 +0000 (21:58 +0000)]
Merge "Support user event logging for drag and drop b/30039490" into ub-launcher3-calgary-polish
am: 61bcfba335

Change-Id: I380cbe6c3797e1890cf18d0ea6ab62efeba9fa48

7 years agoSupport user event logging for drag and drop b/30039490
Hyunyoung Song [Thu, 1 Sep 2016 21:58:24 +0000 (21:58 +0000)]
Support user event logging for drag and drop b/30039490
am: 59a238095e

Change-Id: Ic4dd4acc74f82867874bb879dd7ff1033f76d5d4

7 years agoMerge "Support user event logging for drag and drop b/30039490" into ub-launcher3...
Hyunyoung Song [Thu, 1 Sep 2016 21:51:25 +0000 (21:51 +0000)]
Merge "Support user event logging for drag and drop b/30039490" into ub-launcher3-calgary-polish

7 years agoSupport user event logging for drag and drop
Hyunyoung Song [Thu, 1 Sep 2016 19:47:12 +0000 (12:47 -0700)]
Support user event logging for drag and drop
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

7 years agoMerge "Removing some reflection code" into ub-launcher3-calgary-polish
Sunny Goyal [Thu, 1 Sep 2016 18:55:42 +0000 (18:55 +0000)]
Merge "Removing some reflection code" into ub-launcher3-calgary-polish
am: 3cc2d8b3dd

Change-Id: Iaa5006ef94524cf6e1e0ec71b1d3afdbea021509

7 years agoRemoving some reflection code
Sunny Goyal [Thu, 1 Sep 2016 18:55:42 +0000 (18:55 +0000)]
Removing some reflection code
am: e2ec8a3cd5

Change-Id: I4b71a6fa63e16324c8b6c70812827db81d62b443

7 years agoUnifying toString() method for various ItemInfo subclasses
Sunny Goyal [Thu, 1 Sep 2016 18:55:41 +0000 (18:55 +0000)]
Unifying toString() method for various ItemInfo subclasses
am: 1edab71d01

Change-Id: Ie113b17062c85503589d9bcd289fb184ed65ea54

7 years agoMerge "Removing some reflection code" into ub-launcher3-calgary-polish
Sunny Goyal [Thu, 1 Sep 2016 18:48:28 +0000 (18:48 +0000)]
Merge "Removing some reflection code" into ub-launcher3-calgary-polish

7 years agoRemoving some reflection code
Sunny Goyal [Thu, 1 Sep 2016 18:00:49 +0000 (11:00 -0700)]
Removing some reflection code

Change-Id: I8a0a707d69999e5f9911e7d8df7d4a659b3dfb8f

7 years agoUnifying toString() method for various ItemInfo subclasses
Sunny Goyal [Thu, 1 Sep 2016 17:55:20 +0000 (10:55 -0700)]
Unifying toString() method for various ItemInfo subclasses

Change-Id: I7cde42f0df412e2877fb93c77e74ee56a25edead

7 years agoSplitting some methods into individual compat classes
Sunny Goyal [Wed, 31 Aug 2016 22:46:24 +0000 (22:46 +0000)]
Splitting some methods into individual compat classes
am: 35908f9e67

Change-Id: I52bcc43c3c8978df9cb6414784c4bc96da2de9cf

7 years agoSplitting some methods into individual compat classes
Sunny Goyal [Wed, 31 Aug 2016 21:15:40 +0000 (14:15 -0700)]
Splitting some methods into individual compat classes

Change-Id: Id5a2650b290367d1574eb56346beca389900596b

7 years agoMerge "Adding isDemoUser method in userManager" into ub-launcher3-calgary-polish
Sunny Goyal [Wed, 31 Aug 2016 20:47:46 +0000 (20:47 +0000)]
Merge "Adding isDemoUser method in userManager" into ub-launcher3-calgary-polish
am: 45b9fd280a

Change-Id: Icd30776efee4fe9cf74c06980d6bca6024b957c6

7 years agoAdding isDemoUser method in userManager
Sunny Goyal [Wed, 31 Aug 2016 20:47:46 +0000 (20:47 +0000)]
Adding isDemoUser method in userManager
am: b5bf3e6cee

Change-Id: Id59e1b1a543b96f17253133acf0cd42ea9be17f2

7 years agoMerge "Adding isDemoUser method in userManager" into ub-launcher3-calgary-polish
Sunny Goyal [Wed, 31 Aug 2016 20:39:53 +0000 (20:39 +0000)]
Merge "Adding isDemoUser method in userManager" into ub-launcher3-calgary-polish

7 years agoAdding isDemoUser method in userManager
Sunny Goyal [Wed, 31 Aug 2016 20:12:40 +0000 (13:12 -0700)]
Adding isDemoUser method in userManager

Change-Id: I0ad2c0e7bfac5eff5e5c95c3e533840921a67dc3

7 years agoMerge "ComponentName null check MUST proceed before creating ComponentKey." into...
Hyunyoung Song [Wed, 31 Aug 2016 18:57:38 +0000 (18:57 +0000)]
Merge "ComponentName null check MUST proceed before creating ComponentKey." into ub-launcher3-calgary-polish
am: c8b997a21c

Change-Id: Ic13a75cdf4df956c6544dd1a168d1d37fbefb6c4

7 years agoComponentName null check MUST proceed before creating ComponentKey.
Hyunyoung Song [Wed, 31 Aug 2016 18:57:38 +0000 (18:57 +0000)]
ComponentName null check MUST proceed before creating ComponentKey.
am: d3bf9803f5

Change-Id: If723a18616d444ea51ca054f226318bfdcce4429

7 years agoMerge "ComponentName null check MUST proceed before creating ComponentKey." into...
Hyunyoung Song [Wed, 31 Aug 2016 18:30:00 +0000 (18:30 +0000)]
Merge "ComponentName null check MUST proceed before creating ComponentKey." into ub-launcher3-calgary-polish

7 years agoPreventing unnecessary setLayout calls in workspace Separating getSystemProperty...
Sunny Goyal [Tue, 30 Aug 2016 23:18:48 +0000 (23:18 +0000)]
Preventing unnecessary setLayout calls in workspace Separating getSystemProperty in a separate method
am: dfc8b6685b

Change-Id: I7cb0a1d38895351a70979b95b990a36261753de5

7 years agoPreventing unnecessary setLayout calls in workspace
Sunny Goyal [Tue, 30 Aug 2016 19:05:48 +0000 (12:05 -0700)]
Preventing unnecessary setLayout calls in workspace
Separating getSystemProperty in a separate method

Change-Id: I88716e796e29ac27ef25afa41077a8f29eb65f25

7 years agoMerge "Bug fix in Alarm where it was not getting called correctly if the new timeout...
Sunny Goyal [Tue, 30 Aug 2016 18:55:34 +0000 (18:55 +0000)]
Merge "Bug fix in Alarm where it was not getting called correctly if the new timeout was set that was smaller than the previously set timeout" into ub-launcher3-calgary-polish
am: 0a6dde7265

Change-Id: I9a88426d472b117a300d2f543720b8e52b3e2ded

7 years agoBug fix in Alarm where it was not getting called correctly if the new timeout was...
Sunny Goyal [Tue, 30 Aug 2016 18:55:32 +0000 (18:55 +0000)]
Bug fix in Alarm where it was not getting called correctly if the new timeout was set that was smaller than the previously set timeout
am: a2125e1d10

Change-Id: Ib67b5fffb698dedf03a936d652a12f053027a902

7 years agoMerge "Bug fix in Alarm where it was not getting called correctly if the new timeout...
Sunny Goyal [Tue, 30 Aug 2016 18:47:48 +0000 (18:47 +0000)]
Merge "Bug fix in Alarm where it was not getting called correctly if the new timeout was set that was smaller than the previously set timeout" into ub-launcher3-calgary-polish

7 years agoBug fix in Alarm where it was not getting called correctly if the
Sunny Goyal [Sat, 27 Aug 2016 22:33:16 +0000 (15:33 -0700)]
Bug fix in Alarm where it was not getting called correctly if the
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

7 years agoUse promisedIntent instead of intent when deep shortcuts are restored. am: def6e474da
Tony Wickham [Tue, 30 Aug 2016 00:24:57 +0000 (00:24 +0000)]
Use promisedIntent instead of intent when deep shortcuts are restored. am: def6e474da
am: aa806a4f48

Change-Id: Iaf14c80751de7630a68837b6e388dbc68e254ecb

7 years agoUse promisedIntent instead of intent when deep shortcuts are restored.
Tony Wickham [Tue, 30 Aug 2016 00:20:57 +0000 (00:20 +0000)]
Use promisedIntent instead of intent when deep shortcuts are restored.
am: def6e474da

Change-Id: I634bb0b13cb2449da159b4c8d23b4ddcf32f09ac

7 years agoUse promisedIntent instead of intent when deep shortcuts are restored.
Tony Wickham [Mon, 29 Aug 2016 22:17:48 +0000 (15:17 -0700)]
Use promisedIntent instead of intent when deep shortcuts are restored.

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)

7 years agoMerge "Use promisedIntent instead of intent when deep shortcuts are restored." into...
Tony Wickham [Mon, 29 Aug 2016 23:55:58 +0000 (23:55 +0000)]
Merge "Use promisedIntent instead of intent when deep shortcuts are restored." into ub-launcher3-calgary-polish
am: 765ff3d7c9

Change-Id: Icd239f0afb1f17a1f65a015b6edca34299acb0ab

7 years agoUse promisedIntent instead of intent when deep shortcuts are restored.
Tony Wickham [Mon, 29 Aug 2016 23:55:57 +0000 (23:55 +0000)]
Use promisedIntent instead of intent when deep shortcuts are restored.
am: fc02c1b446

Change-Id: Ic4c7bc4dfbeb2260f411edd56df2df3769127365

7 years agoMerge "Use promisedIntent instead of intent when deep shortcuts are restored." into...
Tony Wickham [Mon, 29 Aug 2016 23:38:03 +0000 (23:38 +0000)]
Merge "Use promisedIntent instead of intent when deep shortcuts are restored." into ub-launcher3-calgary-polish

7 years agoUse promisedIntent instead of intent when deep shortcuts are restored.
Tony Wickham [Mon, 29 Aug 2016 22:17:48 +0000 (15:17 -0700)]
Use promisedIntent instead of intent when deep shortcuts are restored.

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

7 years agoComponentName null check MUST proceed before creating ComponentKey.
Hyunyoung Song [Mon, 29 Aug 2016 21:43:53 +0000 (14:43 -0700)]
ComponentName null check MUST proceed before creating ComponentKey.

Change-Id: I2460561b62d77d3f2f17dc2a7db765785b46a8c6

7 years agoAdding a debug flag to prevent broken downlodas from getting removed during restore
Sunny Goyal [Mon, 29 Aug 2016 21:12:13 +0000 (21:12 +0000)]
Adding a debug flag to prevent broken downlodas from getting removed during restore
am: b05a00a441

Change-Id: I25f3b4490c543b05e31be181fc43fde40fc87c4e

7 years agoAdding a debug flag to prevent broken downlodas from getting removed during
Sunny Goyal [Mon, 29 Aug 2016 17:06:57 +0000 (10:06 -0700)]
Adding a debug flag to prevent broken downlodas from getting removed during
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

7 years agoFixing wrong label in the AndroidManifest Updating the gradle and protobuf library...
Sunny Goyal [Fri, 26 Aug 2016 05:38:24 +0000 (05:38 +0000)]
Fixing wrong label in the AndroidManifest Updating the gradle and protobuf library version
am: 4a4b49ff34

Change-Id: I7e23525895a33b712a5885a3e6fd70a3ee699faa

7 years agoFixing wrong label in the AndroidManifest
Sunny Goyal [Fri, 26 Aug 2016 05:21:40 +0000 (22:21 -0700)]
Fixing wrong label in the AndroidManifest
Updating the gradle and protobuf library version

Change-Id: I0470ebe7465cf2f04ef59688ac2b3f4933d48ad1

7 years agoMerge "Improve handling of external deletion in LauncherProvider.delete" into ub...
Sunny Goyal [Fri, 26 Aug 2016 02:52:13 +0000 (02:52 +0000)]
Merge "Improve handling of external deletion in LauncherProvider.delete" into ub-launcher3-calgary-polish
am: bb248828fc

Change-Id: I5afa0ef4bd5bd3a25d4002ac8a08bd5fa0ce638c

7 years agoImprove handling of external deletion in LauncherProvider.delete
Louis Begin [Fri, 26 Aug 2016 02:52:13 +0000 (02:52 +0000)]
Improve handling of external deletion in LauncherProvider.delete
am: a9c21c624c

Change-Id: I73e1244fb97428b04d4c5cfe7f2b7c2d0477f60b

7 years agoMerge "Improve handling of external deletion in LauncherProvider.delete" into ub...
Sunny Goyal [Fri, 26 Aug 2016 02:45:38 +0000 (02:45 +0000)]
Merge "Improve handling of external deletion in LauncherProvider.delete" into ub-launcher3-calgary-polish

7 years agoUpdating the workspace scrim The scrim is only drawn on the top in both normal &...
Sunny Goyal [Fri, 26 Aug 2016 00:32:03 +0000 (00:32 +0000)]
Updating the workspace scrim The scrim is only drawn on the top in both normal & transposed layout
am: c855023982

Change-Id: If787c44c2c4816efceb0a6a47807be38ceb3855f

7 years agoUpdating the workspace scrim
Sunny Goyal [Thu, 25 Aug 2016 23:14:44 +0000 (16:14 -0700)]
Updating the workspace scrim
The scrim is only drawn on the top in both normal & transposed layout

Bug: 29189114
Change-Id: I99bbf4c4a73e172e000ef24af0662e1922592e0a