Commit Graph

78507 Commits

Author SHA1 Message Date
TreeHugger Robot 0474222c25 Merge "Removing buildLayer call on workspace pages." into ub-launcher3-master 2017-10-03 22:39:49 +00:00
Jon Miranda a328a0d83a Merge branch 'ub-launcher3-dorval-polish2' into 1003
Bug: 64937210
Test: flashed img
Change-Id: Icec6e9642627fbb406561e64326864d8ca3cd24d
2017-10-03 17:45:05 -04:00
TreeHugger Robot e050182544 Merge changes from topic "am-a465be7a-460d-4d89-9018-8c0df96ff268" into ub-launcher3-master
* changes:
  [automerger] Larger icons for L3Go and spacing changes. am: 846455e1ff
  Larger icons for L3Go and spacing changes.
2017-10-03 21:34:52 +00:00
TreeHugger Robot 8838b8e0e5 Merge "Removing extraction service and palette api dependency" into ub-launcher3-master 2017-10-03 20:56:02 +00:00
Android Build Merger (Role) 8c23068b7c [automerger] Larger icons for L3Go and spacing changes. am: 846455e1ff
Change-Id: Iec2b04651788abaa3abb8a1b295a7f5eb1f92355
2017-10-03 18:27:55 +00:00
Jon Miranda 846455e1ff Larger icons for L3Go and spacing changes.
There are cases (ie. smaller devices) where the icon label is closer
to the icon below it (rather than its corresponding icon).

To fix this, we ensure that the drawable padding (space between the
icon and its label) is no larger than the vertical padding of the cell.

Bug: 67317867
Change-Id: Ic3729726eebb60b67d658361c4335e724b7d68d7
2017-10-03 11:23:05 -07:00
Sunny Goyal 3792096688 Allowing the widgetBottomSheet to be dragged
even when the touch is started from outside the panel

Removing various instanceOf checks in onNewIntent and onBackPress
and moving all the corresponding logging in the FloatingView
This simplifies handling of panel specific log and avoids
missing a particular panel type in the if-else statement.

Bug: 64751884
Bug: 64751923
Change-Id: I98f5aae18560a64be73c9efcf495479740d49a00
2017-10-02 16:18:52 -07:00
Sunny Goyal a502aa313b Removing buildLayer call on workspace pages.
> buildLayer was followed by setLayerType(NONE) which was causing the
layer to get destroyed immediately and hece was never useful.
> Also removing mAnimatingViewIntoPlace as after setting this to true
updateChildLayer was never being called.

Change-Id: I08a6da25de002247c956308973f1675c0e61e15c
2017-10-02 16:10:35 -07:00
Sunny Goyal d66e3b6a65 Removing unnecessary layout pass happening due when chaning gradientView visibility
Change-Id: I0d8f0c2c995885143156a27536b0a2185d5eb0b8
2017-10-02 15:27:21 -07:00
Sunny Goyal 326403e958 Moving some calls off the UI thread
This saves ~5ms in onNewIntent

Bug: 67305604
Change-Id: Ic97727b1c526e50bd3c8a1d8f511e1d7fd5e05e7
2017-10-02 14:50:09 -07:00
TreeHugger Robot 0cab65a5b6 Merge "Remove discovery bounce for demo users" into ub-launcher3-dorval-polish2 2017-10-02 21:07:21 +00:00
TreeHugger Robot ec21a599f4 Merge changes from topic "am-337c344f-ec88-4e4e-9ad7-07a92571f781" into ub-launcher3-master
* changes:
  [automerger] Remove discovery bounce for demo users am: 3993348043
  Remove discovery bounce for demo users
2017-10-02 21:07:21 +00:00
Android Build Merger (Role) ea8e140328 [automerger] Remove discovery bounce for demo users am: 3993348043
Change-Id: Id561b960f1b080ef9bf5d6245513401e859e2afb
2017-10-02 20:49:45 +00:00
Adam Cohen 3993348043 Remove discovery bounce for demo users
Bug 67116550

Change-Id: I8a27685f91e201072c0669c102077affe550fab6
2017-10-02 20:49:30 +00:00
Sunny Goyal fca6bc9dce Adding a utility method to simplify method tracing
Change-Id: I79ef0aa5d65b933f4b7f0520fc8bac26e366da2d
2017-10-02 13:47:42 -07:00
TreeHugger Robot 59adaabd51 Merge "Demo mode default layout support" into ub-launcher3-dorval-polish2 2017-10-02 20:29:17 +00:00
TreeHugger Robot 4a6e5858e9 Merge changes from topic "demoMode" into ub-launcher3-master
* changes:
  [automerger] Demo mode default layout support am: a81e8d855a
  Demo mode default layout support
2017-10-02 20:29:17 +00:00
android-build-team Robot ee62d5ed2e release-request-b4bc7b84-64b6-4176-8f16-ce17068fad13-for-git_pi-release-4370135 snap-temp-L93500000107644030
Change-Id: I2f10647e3ffb81d8142ac9f80684a4d64662d196
2017-09-30 08:12:21 +00:00
Jon Miranda 6d39fbf4c9 Merge branch 'ub-launcher3-dorval-polish2' am: 850a7b1030
am: a420855e0b

Change-Id: I8ca2beefe89affd4796794b5dea101832798a39d
2017-09-30 02:59:32 +00:00
Jon Miranda a420855e0b Merge branch 'ub-launcher3-dorval-polish2'
am: 850a7b1030

Change-Id: Iefff638054d7916b8f87e8e9451677a8c650b43e
2017-09-30 02:40:17 +00:00
Jon Miranda 850a7b1030 Merge branch 'ub-launcher3-dorval-polish2'
Bug: 64937210
Test: flashed img
Change-Id: I85b9adc5c8bd5d0603112e8e115851b67dd23777
2017-09-29 18:22:11 -04:00
TreeHugger Robot 230cf17fe6 Merge "Fix predictiveApps Bug: 67010327" into ub-launcher3-dorval-polish2 2017-09-29 20:49:18 +00:00
Android Build Merger (Role) f9468f4dec [automerger] Fix predictiveApps Bug: 67010327 am: 7a77f1e678
Change-Id: I3f4eec8ee9e1dff6b75111060fdcaadfebe5000d
2017-09-29 20:42:14 +00:00
Hyunyoung Song 7a77f1e678 Fix predictiveApps
Bug: 67010327

Change-Id: Iab6ea790e99bb66bd0d7d4f07a8ad9fa05387d13
2017-09-29 13:41:43 -07:00
Adam Cohen 8831252399 Merge changes from topic "demoModeTopic" into ub-launcher3-dorval-polish2
* changes:
  [automerger] Demo mode default layout support am: 2782449da6
  Demo mode default layout support
2017-09-29 20:38:08 +00:00
Adam Cohen ce5229b642 Merge changes from topic "demoModeTopic" into ub-launcher3-master
* changes:
  [automerger] Demo mode default layout support am: 2782449da6 am: ea1212a38a
  [automerger] Demo mode default layout support am: 2782449da6
  Demo mode default layout support
2017-09-29 20:38:08 +00:00
Android Build Merger (Role) 238676ae42 [automerger] Demo mode default layout support am: a81e8d855a
Change-Id: I9aba6363856ab41974bd052e9760aeaaa2523fea
2017-09-29 20:11:47 +00:00
Adam Cohen a81e8d855a Demo mode default layout support
b/67062454

Change-Id: Ic060d3d7dba4fffe688dddf7cd04c48e4baaf813
2017-09-29 20:11:37 +00:00
Sunny Goyal 0edbb19c71 Merge changes from topic "am-ce7ed750-6b89-4e1c-80d9-bd9a3ec4b170" into ub-launcher3-master
* changes:
  [automerger] Caching system app flag to avoid unnecessary system calls when scrolling am: 6b0aa870b8
  Caching system app flag to avoid unnecessary system calls when scrolling
2017-09-29 19:57:07 +00:00
Sunny Goyal f2dd4216c1 Removing extraction service and palette api dependency
Change-Id: I30ad1a1462a97b6bc03f8e386ae3058c7fe022e5
2017-09-29 10:40:08 -07:00
Android Build Merger (Role) 165ff84d8e [automerger] Demo mode default layout support am: 2782449da6 am: ea1212a38a
Change-Id: Iaf6a29db70901d76125e79c86ca7dda0bf34ea67
2017-09-29 15:49:46 +00:00
Android Build Merger (Role) ea1212a38a [automerger] Demo mode default layout support am: 2782449da6
Change-Id: I0d03e760f97c6f9984ad0bf9e8f9e8c7a8a8b5c7
2017-09-29 15:49:43 +00:00
Adam Cohen 2782449da6 Demo mode default layout support
67062454

Change-Id: Ic060d3d7dba4fffe688dddf7cd04c48e4baaf813
2017-09-29 15:49:34 +00:00
Android Build Merger (Role) 9c73d4ff0c [automerger] Caching system app flag to avoid unnecessary system calls when scrolling am: 6b0aa870b8
Change-Id: I88759881bf7b22e691186b8f11f1bc7912537864
2017-09-29 14:55:42 +00:00
Sunny Goyal 6b0aa870b8 Caching system app flag to avoid unnecessary system calls
when scrolling

Bug: 65493000
Change-Id: If60ec6dec23e7efa1031d72e76775fa2449bcd7b
2017-09-29 07:55:25 -07:00
Sunny Goyal 9b8e36b95d Avoiding duplicate calls to Bitmap.getPixel(x, y)
Change-Id: I24414b41e9b0e9833cd4e962187a08672bc86c46
2017-09-28 19:21:35 -07:00
TreeHugger Robot 510fdfbcea Merge "Disabling state saving for search textbox as search results are not preserved across activity recreate" into ub-launcher3-dorval-polish2 2017-09-28 19:52:56 +00:00
TreeHugger Robot 9315c9a8cd Merge changes from topic "am-9137c936-4340-4643-aada-1ced62c0dd3f" into ub-launcher3-master
* changes:
  [automerger] Disabling state saving for search textbox as search results are not preserved across activity recreate am: b808e1102f
  Disabling state saving for search textbox as search results are not preserved across activity recreate
2017-09-28 19:52:56 +00:00
Mario Bertschler 230612f502 Fixing content description of a promise icon that is fully downloaded.
Bug: 65779803
Change-Id: I912a70310c6a44f0b0b443cebf77608fd19bdc71
2017-09-27 17:05:21 -07:00
Sunny Goyal 22d43850fa [automerger] Disabling state saving for search textbox as search results are not preserved across activity recreate am: b808e1102f
Change-Id: I2076af198e9672947898870d99a29aca3ed8abba
2017-09-27 21:05:07 +00:00
Sunny Goyal b808e1102f Disabling state saving for search textbox as search results are
not preserved across activity recreate

Bug: 65661416
Change-Id: I0bd6414cea8d25b341374cd40ecaa270d5f19c18
(cherry picked from commit dee55f92ad)
2017-09-27 21:05:03 +00:00
Zhi An Ng 534fa8a62b [automerger] Remove stateUnchanged flag from activity am: d772c0aece
Change-Id: I61fcd30de9a4bd3e2b59278e6e0c95d1ab181ad7
2017-09-27 20:41:22 +00:00
Ng Zhi An d772c0aece Remove stateUnchanged flag from activity
Bug: 65298313
Test: manual
1) Launch messages
2) Tap on FAB to compose new message, IME shows
3) Tap on Home button
4) Verify IME is hidden

Change-Id: I1823e70d49921d2c66b5abd9ce5d45592bde923c
2017-09-27 20:41:20 +00:00
Sunny Goyal 6316d98a2c Build fix due to prograud changes
Change-Id: I161020ecb2a1786fc9184d024208cac4efc4052f
2017-09-27 12:35:02 -07:00
Sunny Goyal aa3a2baab6 Simplifying drag preview generation
> Fixing wrong icon normalization when dragging a folder icon
> Reusing the preview bitmap for creating dragOutline
> Generating drag outline on the background thread

Bug: 35428783
Change-Id: I01e724ba63404302090ee1e562f6c2fc7147ba2f
2017-09-27 09:10:05 -07:00
Bill Yi f00c5b5fd4 Import translations. DO NOT MERGE
Change-Id: I565f8090a76c1019d02a1d00bef8d9f5a73a97ca
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-09-26 09:16:39 -07:00
TreeHugger Robot 505adedae8 Merge "Disabling state saving for search textbox as search results are not preserved across activity recreate" into ub-launcher3-master 2017-09-25 14:59:34 +00:00
Jon Miranda fc2bf24022 Remove assumptions from swap prediction logic.
Bug: 64689250
Change-Id: If54ac03dec7d8c09f951b3ffeb7732202e3f1562
2017-09-20 18:28:39 +00:00
Jon Miranda 4f1545ddee Clean up span calculations in LauncherAppWidgetProviderInfo.
Using the results from DeviceProfile#getCellSize instead of
manually computing the cell sizes.

Bug: 63850436
Change-Id: I1de3871756a8b0e9bc8c5f9c2c1f386bb8dc31a2
2017-09-20 11:09:42 -07:00
Jonathan Miranda 8c220d1311 [automerger] Move orientation initialization to onCreate. am: 11ee2f6e8f
Change-Id: Ic4928769ab2891a7a709ed57404298a988baec1d
2017-09-20 17:19:20 +00:00