Commit Graph

2934 Commits

Author SHA1 Message Date
Sunny Goyal 0ab09fcf7b Deleting sample code demonstrating how to extend Launcher3
Launcher already includes Launcher3Go build flavour and we will
be adding another build flavour for RecentsUI. There is no need
to maintain another build which is not used anywhere.

Change-Id: I9287f62691d57750460ccc9d6859c7fa11c99956
2017-10-30 09:28:03 -07:00
Sunny Goyal 4d49f9a8ac Removing animated caret drawable
> Both landscape and portrait UI will show a static drag handle
> In landscape the handle is drawn below the all-apps scrim,
  while in portrait it moves with the hotseat

Change-Id: Ia6964c6f98feb8ba90517e23667d8c68bc2f6d35
2017-10-27 02:44:49 +00:00
Sunny Goyal c99cb174c3 Moving some state specific logic to subclass of LauncherState
Bug: 67678570
Change-Id: I1316f91c9f19bd572e4a0da67a22fa8921e1dcf9
2017-10-20 13:56:47 -07:00
Sunny Goyal 910be3c05d Merge "Launcher state management cleanup" into ub-launcher3-master 2017-10-17 20:47:25 +00:00
Sunny Goyal aeb1643ec6 Launcher state management cleanup
> Removing Widgets and related states
> Fixing different durations being used when opening/closing all-apps
> Removing some unnecessary object allocations when changing state without animation
> Differentiating widget bootm sheel and full sheet in logs

Bug: 67678570
Change-Id: Ic169528736d04ee0b38564b4f96595ba066eabda
2017-10-17 12:42:08 -07:00
TreeHugger Robot 155ad7f9bd Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2017-10-16 22:18:03 +00:00
Bill Yi a4ec5b45d3 Import translations. DO NOT MERGE
Change-Id: Id64734c3e855af2dc1fe94de1cf6635bd2741e29
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-10-16 14:26:10 -07:00
Sunny Goyal f1fbc3fbe7 Converting widget panel into a floating view
> The widget panel is only inflated when needed
> Using the swipe up/down interaction for widgets tray
> Removing additional view wrappers from all-apps
> Widget tray is preserved across activity recreation
> Launcher no longer has WIDGET state, the actual code around
  the states will be removed in a follow-up cl

Bug: 67678570
Bug: 67585158
Change-Id: Ia29a7c33ec81e6c53cc24e2906b7022b6f41755b
2017-10-13 18:47:54 -07:00
TreeHugger Robot 661e558321 Merge "Removing unnecessary layout pass happening due when chaning gradientView visibility" into ub-launcher3-master 2017-10-05 22:09:24 +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
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 d66e3b6a65 Removing unnecessary layout pass happening due when chaning gradientView visibility
Change-Id: I0d8f0c2c995885143156a27536b0a2185d5eb0b8
2017-10-02 15:27:21 -07: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
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
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
Sunny Goyal dee55f92ad Disabling state saving for search textbox as search results are
not preserved across activity recreate

Bug: 65661416
Change-Id: I0bd6414cea8d25b341374cd40ecaa270d5f19c18
2017-09-19 12:06:40 -07:00
Bill Yi baaee5fd4e Import translations. DO NOT MERGE
Change-Id: I8b2409eb2a055992bd47f2c4f1959919333a9417
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-09-18 14:44:18 -07:00
Sunny Goyal 952e63d006 Fixing custom widgets support:
> Moving the definitions to xml so that it is easier to override in derivative projects
> Fixing verious bind and save logic for custom widgets
> Adding feature flag to easily disable custom widgets

Change-Id: I0e278bc7dd415713029364060ef10842da990be9
2017-09-13 14:04:35 -07:00
Bill Yi be213def87 Import translations. DO NOT MERGE
Change-Id: Id11401a9e60c09548748d7a60c602d33ae4a9329
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-09-13 11:49:14 -07:00
Sunny Goyal add3d8322d Removing some folder customization options
The old folder preview and animation relied on creating bitmaps for transition.
As we move to hardware bitmaps, creating custom bitmaps which rely on icon bitmaps
would be costly (hardware bitmaps are immutable and cannot be drawn on a software canvas).

Bug: 35428783
Change-Id: I39869ed44feb6a886985ad15775bc1ab55565727
2017-09-08 12:07:24 -07:00
Tony Wickham 9fad935b03 Merge "Adjust notification paddings" into ub-launcher3-dorval-polish2 2017-09-06 21:17:29 +00:00
Tony Wickham 614484617b [automerger] Adjust notification paddings am: 2063ebd990
Change-Id: I58f0521e3d23f113c5729bf79010a69ac7b6bf5a
2017-09-06 20:39:00 +00:00
Tony Wickham 2063ebd990 Adjust notification paddings
- Reduce main notification height
- Increase header height and center "Notifications"
- Footer has short height when empty to serve as padding

Bug: 65215656
Change-Id: I691d176628b0b51e8d9af030084b8c29837778dc
2017-09-06 13:37:00 -07:00
Mario Bertschler 7e3003a1a8 [automerger] Changing overlay color for all apps in dark theme. am: 152d4d476e
Change-Id: I59dcdee84e466ed4244cb6221dfc3e35fc001f0d
2017-09-06 18:36:59 +00:00
Mario Bertschler 152d4d476e Changing overlay color for all apps in dark theme.
Bug: 65382885
Change-Id: I8266f14256a93edffa7290addb3244a64dfe635b
2017-09-06 11:36:36 -07:00
Bill Yi 8a9db38a91 Import translations. DO NOT MERGE
Change-Id: I5c47a9fba63d1c6b565528a79e253a06c8cca937
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-09-06 09:04:56 -07:00
Mario Bertschler f41edbe875 Install long-click action for apps that are not installed.
Bug: 65059282
Change-Id: Ifec3ac15c9cf52c456e695846eb91024b07fe333
2017-08-31 12:09:13 -07:00
Sunny Goyal e18d3f537f Updating the all-apps discovery bounce animation
> Animation plays on every onResume
> Updating animation to loop continuously on v23+
> Updating animation spec

Bug: 64331951
Change-Id: Ic6fb8d6975b37f5b010fc585329cba615296f5c7
2017-08-29 10:17:51 -07:00
Sunny Goyal 4cebfc3484 Merge "Adding support for badging instant app icons." into ub-launcher3-dorval-polish2 2017-08-28 23:16:21 +00:00
Sunny Goyal f5523921c3 Adding support for badging instant app icons.
Change-Id: Idc43a1a83e0a93f70879730a0acefbc124f9c0e2
2017-08-28 15:35:25 -07:00
Jon Miranda 7fb9e712e8 Increase overview icon zone percentage from 20% to 22%.
This handles the case where "Home Settings" text is split into
two lines and is cropped when the user is in multi-window mode with
settings Display=Largest and Font=Largest.

Bug: 64976707
Change-Id: Ia1a4ee35a94a2fbe99f8ed25fce93a023e621147
2017-08-28 14:47:59 -07:00
Sunny Goyal 81a70e5dc2 Adding scrim in all-apps scrim
Bug: 64692527
Change-Id: Ib8262ad0cc3c95cd419eb9fa1dee3bbbc2d25a27
2017-08-24 15:11:18 -07:00
Mario Bertschler 9b745a82bf Merge "Adjusting opacity values for all apps." into ub-launcher3-dorval-polish2 2017-08-24 17:33:52 +00:00
Jon Miranda c56e3ff2ee Show progress dialog when uninstalling an app in Launcher3Go.
This ensures that the uninstall activity will finish only after
the task is completed.

We initially assumed that this was always the case, but in Android
Go the uninstall activity finishes before the uninstall is completed.

Bug: 64033585
Change-Id: Ic5d8dd99e2fecd0c9cb24093ee66668b4b38cb1a
2017-08-23 12:13:24 -07:00
Mario Bertschler f30c63c593 Adjusting opacity values for all apps.
Bug: 64899571
Change-Id: Ida4ee441d604b18ed3e5a687a85c7836eedd0e94
2017-08-21 12:32:42 -07:00
Bill Yi 2d01eb610c Import translations. DO NOT MERGE
Change-Id: I0c577cf7de02928f02d9fde76ea5b6ec35d18c70
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-08-11 14:00:59 -07:00
Tony 3b7c865e04 Merge commit 'refs/changes/84/2659484/1' of sso://googleplex-android/platform/packages/apps/Launcher3 into am-860fd7dd-f3a3-4500-8fc2-78d473322b94
Change-Id: I0b39a20cee47d4aba4a033196db3df78b2357b7b
2017-08-03 17:06:19 -07:00
Tony Wickham 2bc5c995f6 Add new GradientView just for WidgetsBottomSheet
Reusing the one behind all apps caused problems when
opening widgets sheets from all apps.

Bug: 64344341
Change-Id: Ia964d8456645c78614f94693f9538dbac4f566a0
2017-08-03 15:42:03 -07:00
TreeHugger Robot 807c593256 Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval-polish 2017-08-02 12:56:13 +00:00
TreeHugger Robot ea093845d6 Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval-polish2 2017-08-02 12:45:20 +00:00
TreeHugger Robot 39c6de4374 Merge "Landscape launcher grid/all apps to spec." into ub-launcher3-dorval-polish 2017-08-02 00:12:37 +00:00
Jonathan Miranda 5bd1fd2289 [automerger] Landscape launcher grid/all apps to spec. am: 18751b649d
Change-Id: I5a859814fe44d1f91ccb21553bc91df0c6f287a1
2017-08-01 23:56:52 +00:00
Jon Miranda 18751b649d Landscape launcher grid/all apps to spec.
* Moves FastScroller to the right.

Bug: 64160529
Change-Id: Ie0dfc0a2f0f2d6f6366e4f299769148d76017782
2017-08-01 16:56:38 -07:00
Bill Yi 561ba6f75e Import translations. DO NOT MERGE
Change-Id: Ia9d31a97df9a90afdeb62b63c53142d2ebe302c1
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-08-01 15:23:26 -07:00
Bill Yi 43387914ca Import translations. DO NOT MERGE
Change-Id: Ief09f14606e61d02e2439d535158b95306510b75
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-08-01 15:22:18 -07:00
TreeHugger Robot 1ff6c41613 Merge "Moving GradientView background alpha to resources" into ub-launcher3-dorval-polish2 2017-08-01 20:42:12 +00:00
Sunny Goyal 0c793abf56 [automerger] Making the whole preference entry a single tap target when notification access is not available am: b65e13ca83
Change-Id: I4a2aab526002c59fcbc479121451988ae0872c23
2017-08-01 18:05:29 +00:00
Sunny Goyal b65e13ca83 Making the whole preference entry a single tap target when notification access
is not available

Bug: 64232287
Change-Id: I93dadfb88ee5d008dee7582c5f37ea3d354330cd
2017-08-01 11:05:08 -07:00
Adam Cohen 1201982233 Cleanup duplicate translation resources
issue 64095837

Remaining xx-rYY resource directories:
values-en-rAU
values-en-rGB
values-en-rIN
values-es-rUS
values-fr-rCA
values-pt-rPT
values-zh-rCN
values-zh-rHK
values-zh-rTW

Change-Id: I8c7c31487f953876998e1b4d08858fb1985e696d
2017-07-28 15:16:57 -07:00
Adam Cohen a04e5039bc Cleanup duplicate translation resources
issue 64095837

Remaining xx-rYY resource directories:
values-en-rAU
values-en-rGB
values-en-rIN
values-es-rUS
values-fr-rCA
values-pt-rPT
values-zh-rCN
values-zh-rHK
values-zh-rTW

Change-Id: Id0709386d94b0a619236f386018384159df04af0
2017-07-28 14:43:44 -07:00
Bill Yi 60d1fb4d9d Import translations. DO NOT MERGE
Change-Id: I85b6194931befa864bbda235f519a5890de05059
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-28 04:00:04 -07:00
Bill Yi 172fb8cffe Import translations. DO NOT MERGE
Change-Id: I06ca8217be02e7f8641d2e5254cfeb2f5d61e1a4
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-28 03:55:43 -07:00
Sunny Goyal 6d1e9a1012 Moving GradientView background alpha to resources
Bug: 63072570
Change-Id: Ie982a5a33ece72942ebee79e4eb81f83da7b31c4
2017-07-27 10:26:37 -07:00
TreeHugger Robot 20d27e513c Merge changes from topic 'am-7585e4a8-2edc-4122-a7e4-3366e2146d4b' into ub-launcher3-dorval-polish2
* changes:
  [automerger] Launcher grid changes. am: 30d0aa2605
  Launcher grid changes.
2017-07-26 23:59:59 +00:00
TreeHugger Robot b35bb6021c Merge "Launcher grid changes." into ub-launcher3-dorval-polish 2017-07-26 23:59:59 +00:00
Mario Bertschler 9fac09d852 Merge "Merging ScrimView into GradientView" into ub-launcher3-dorval-polish2 2017-07-26 21:39:28 +00:00
Mario Bertschler 254bd42729 Merging ScrimView into GradientView
Less banding, less drawing for All Apps Transition.

Bug: 63873246

Change-Id: I6c7c856e2939a10db7e44b266c1d6d51334fd152
2017-07-26 14:33:22 -07:00
TreeHugger Robot 5401fb146b Merge "Add padding to the top of Folders for visual balance." into ub-launcher3-dorval-polish 2017-07-26 20:25:24 +00:00
TreeHugger Robot 87b60258ed Merge changes from topic 'am-f7835728-4eea-4e25-a057-b154d99dcf6a' into ub-launcher3-dorval-polish2
* changes:
  [automerger] Add padding to the top of Folders for visual balance. am: bd3057dde2
  Add padding to the top of Folders for visual balance.
2017-07-26 20:25:24 +00:00
Mario Bertschler a0465afe8d Merging ScrimView into GradientView
Less banding, less drawing for All Apps Transition.

Bug: 63873246

Change-Id: I6c7c856e2939a10db7e44b266c1d6d51334fd152
2017-07-26 13:23:34 -07:00
TreeHugger Robot 4729c1b53c Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval-polish 2017-07-26 19:52:59 +00:00
TreeHugger Robot fb1d066049 Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval-polish2 2017-07-26 19:50:48 +00:00
Jonathan Miranda fbdfc556c9 [automerger] Add padding to the top of Folders for visual balance. am: bd3057dde2
Change-Id: I12bfa3eac24aeabeb6d64b9cd443efce17f1850f
2017-07-26 18:16:43 +00:00
Jonathan Miranda f2974a5c2a [automerger] Revert "Update Folders to match spec." am: 9ad87463a8
Change-Id: I75ad19eba41a0bab0461a0255954092a4790c617
2017-07-26 18:16:01 +00:00
Jon Miranda bd3057dde2 Add padding to the top of Folders for visual balance.
This CL is built on top of Ifb8ce81e23f38df2eb2c26f93376eca19caae5b1.
We will address Folder spec in a future release.

Bug: 63825895
Bug: 64064973
Change-Id: Ie351ad17805a092f59b5142fc2f7143e4f212b14
2017-07-26 11:14:26 -07:00
Jonathan Miranda 9ad87463a8 Revert "Update Folders to match spec."
This reverts commit fd8fa136f5.

Change-Id: Ifb8ce81e23f38df2eb2c26f93376eca19caae5b1
2017-07-26 11:05:29 -07:00
Bill Yi b141a090d7 Import translations. DO NOT MERGE
Change-Id: Ic49cd83e4e4a7c9282f4ca2a8f970622ddd63c0c
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-26 10:18:02 -07:00
Bill Yi 119bb836b4 Import translations. DO NOT MERGE
Change-Id: I955c6857dba376a8f5d7f171c8cf06127183b1bb
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-26 10:17:19 -07:00
Jon Miranda 30d0aa2605 Launcher grid changes.
* Tighten up space on Workspace/All Apps for tall devices.
* Decrease the cell layout padding.

Bug: 63996463
Change-Id: Ifc89e4786b7033e2af77d3742006d8c9ee719081
2017-07-25 15:55:29 -07:00
Jonathan Miranda 3aa645b7e6 [automerger] Launcher grid changes. am: 30d0aa2605
Change-Id: I2acf9e9086534266b97846fbf3d9ea4181839f6f
2017-07-25 22:54:53 +00:00
Bill Yi cab2e0e8a1 Import translations. DO NOT MERGE
Change-Id: Ida105cf0ffa0df6be64cd9083449b622410d52dd
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-24 23:13:17 -07:00
Bill Yi 7364eb341b Import translations. DO NOT MERGE
Change-Id: I812ae16a396bef494b2d81f1b74d8ab95838b2a6
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-21 16:48:00 -07:00
Jon Miranda fd8fa136f5 Update Folders to match spec.
Bug: 63825895
Change-Id: Ia1a139f1afd944eefcd370645142227317e2bf20
2017-07-20 15:08:06 -07:00
Jonathan Miranda 55f2c45729 Update Folders to match spec. am: fd8fa136f5
Change-Id: If10efb5a72bbe261f6e7af2b66e741b7a9ee350b
2017-07-20 22:06:54 +00:00
Sunny Goyal f5a09fe638 Fixing wrong title case for some strings
Bug: 63866253
Change-Id: Ied669948cb71bd89637394aa0c6f936b29e8936e
2017-07-20 11:32:46 -07:00
Bill Yi 36435f5ffd Import translations. DO NOT MERGE
Change-Id: I8b6eb73065826c2fdf0857677e658fd8eb221c67
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-19 23:58:16 -07:00
Bill Yi 2e1c9afbb2 Import translations. DO NOT MERGE
Change-Id: If2dc6c9ef6b475270c85da54aa2dfcaf8329b4d3
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-19 23:56:51 -07:00
TreeHugger Robot b49ff69b91 Merge "Accounting for bottom margin in the search box in app-scroll range" into ub-launcher3-dorval-polish 2017-07-17 20:48:45 +00:00
Sunny Goyal 6cd0e46a8e Accounting for bottom margin in the search box in app-scroll range am: 0bf251b643
Change-Id: Icd2c57f7de9b46d7d4581bea94faf7d132217094
2017-07-17 19:55:26 +00:00
Sunny Goyal 0bf251b643 Accounting for bottom margin in the search box in app-scroll range
Bug: 2539098
Change-Id: I9d7cdb05d33af397a4adcfc2f1f6c1d380b9fb0e
2017-07-17 12:55:06 -07:00
Jonathan Miranda c38dde8fc0 Tighten up vertical spacing in landscape all apps. am: 4e358271d3
Change-Id: Ia9e9c8b2e24b5048a395595a07db8103fe500cc9
2017-07-14 23:05:41 +00:00
Jon Miranda 4e358271d3 Tighten up vertical spacing in landscape all apps.
Bug: 37015359
Bug: 62801588
Change-Id: Ia4bdc2c2b12647cd671cf8a3e7a8defc43863da1
2017-07-14 15:55:07 -07:00
Adam Cohen 1add00e874 Make landscape all apps caret clickable when in all apps as well as workspace am: 5441a9d30a
Change-Id: Iad49b3b93c3443c487193f901c1c28c52d27b419
2017-07-14 22:10:06 +00:00
Adam Cohen 5441a9d30a Make landscape all apps caret clickable when in all apps as well as workspace
-> Also increase the touch target size of the caret
-> Center the asset horizontally within the view (but keep it bottom
   asligned)

issue 63681599
issue 63682248

Change-Id: I64efdfb9f84b82cc21d82c10d9301a99fed3353a
2017-07-14 22:09:56 +00:00
Jon Miranda 2803200697 Set edgeMarginPx back to 8dp.
With the new grid changes, it was set to 16dp but this caused an issue
where the workspace page spacing was too large. To "restore" the original
page spacing we set it back to 8dp. This caused an issue where the
pages began to overlap.

This CL changes the edgeMarginPx back to 8dp, and then adds the additional
8dp to the padding of the CellLayout.

Bug: 63590728
Change-Id: Ie968d8bd81de19c726f73581d6609e3bc486c5ca
2017-07-13 18:40:48 -07:00
Jonathan Miranda 3ec4a6109b Set edgeMarginPx back to 8dp. am: 2803200697
Change-Id: I60b2924957964782a9e28f4457f1e3577a5e5848
2017-07-14 01:39:36 +00:00
Bill Yi 4dbe594a6a Import translations. DO NOT MERGE
Change-Id: I90a3dc42a79e141c20b3f6a7cce01c04d3661331
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-13 08:24:38 -07:00
Bill Yi f17ce4f1cd Import translations. DO NOT MERGE
Change-Id: Idc1d9f101e767b4f899f33818e58a051d465221f
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-13 08:23:16 -07:00
Sunny Goyal ab97f2ad8b Updating the warning icon
am: ea36114e4b

Change-Id: Ia8fba8ef292b162522abbb7c773def57987dd4b4
2017-07-11 18:31:23 +00:00
Sunny Goyal ea36114e4b Updating the warning icon
Bug: 63418030
Change-Id: I89bfc538e430239b4f793649ff6598e4f0da3bfb
2017-07-11 10:01:45 -07:00
Sunny Goyal 8323934863 Adding a warning button when notification access is not available
am: 848cad56ce

Change-Id: I9a487df3121779fe454775aef2cf9eff947f3690
2017-07-10 18:23:22 +00:00
Sunny Goyal 848cad56ce Adding a warning button when notification access is not available
Bug: 63418030
Change-Id: I4c2c497d989902ac002314a3b8fb97083757958b
2017-07-10 11:10:35 -07:00
Jon Miranda 050406fcd9 New calculation for page indicator size on tall devices.
am: 2ed276eb13

Change-Id: Ie3fdf1e1f646d4b4ecab5e9ecb542253bb85ca1b
2017-07-06 15:20:03 +00:00
Jon Miranda 2ed276eb13 New calculation for page indicator size on tall devices.
For a display with a large aspect ratio, the icons can get too far
spread out in portrait mode. We remedy this by adjusting the page
indicator height to utilize that extra space.

Bug: 62801588
Change-Id: Ib717dd32a20918248b59e1b46b4e881d6d6a7cb5
2017-07-06 08:05:26 -07:00
Tony Wickham 4f16c9ccf5 Merge "Polish popup" into ub-launcher3-dorval-polish
am: df5e2c1a74

Change-Id: Id2c843327c1764edbb2bc22c0b0278ecc6ac4188
2017-07-05 22:25:13 +00:00
Tony Wickham df5e2c1a74 Merge "Polish popup" into ub-launcher3-dorval-polish 2017-07-05 22:18:04 +00:00
Tony 45cdfa78d4 Polish popup
- Remove divider between system shortcut header and shortcuts
- Slightly reduce padding between popup and icon
- Fix gravity to center in drag layer using x and y calculations since
  we use the y value to position the popup when removing notifications

Change-Id: I1cb10ed953d11cc0924d8ee70881a434cb748317
2017-07-05 12:32:16 -07:00
Sunny Goyal c3c9ee7615 Merge "Sanitizing various search container ids and layout names" into ub-launcher3-dorval-polish
am: efbfcb838d

Change-Id: Id66c371061d3cca6f9c0c09684e12ff7b5f33c32
2017-07-04 09:11:37 +00:00
TreeHugger Robot efbfcb838d Merge "Sanitizing various search container ids and layout names" into ub-launcher3-dorval-polish 2017-07-04 09:06:53 +00:00
Bill Yi 7bb7d6c0dc Import translations. DO NOT MERGE
Change-Id: I2a64d8024850c87b55bcbc48199db7f0413537af
Auto-generated-cl: translation import
2017-07-01 02:59:13 -07:00
Bill Yi 43c03312cb Import translations. DO NOT MERGE
Change-Id: Idd738d2228f85b4b4cca61a1fba7b293e2a34816
Auto-generated-cl: translation import
2017-07-01 02:58:11 -07:00
Jon Miranda 644665c282 Merge "Folder animation polish." into ub-launcher3-dorval-polish
am: 20c55b0e87

Change-Id: Ie8fa1a018c004635a99aaf9b7fae6360fb034a04
2017-06-29 22:42:03 +00:00
TreeHugger Robot 20c55b0e87 Merge "Folder animation polish." into ub-launcher3-dorval-polish 2017-06-29 22:35:35 +00:00
Tony 7504cd7f79 Tweak popup animation
am: d6573ed128

Change-Id: I55aaf8792be262c6adece953829e32e395ba668b
2017-06-29 21:12:02 +00:00
Tony d6573ed128 Tweak popup animation
- Decrease duration
- Add alpha fade in and out
- Remove arrow scale when closing, so that
  the reversal happens immediately

These changes help the popup feel snappier while also reducing
visual jank when moving icons (as the animation accelerates in
later and the alpha stays close to 0).

Bug: 62738635
Change-Id: Ic8af4e0e5bc00913ea713853997069e8b9c8f953
2017-06-29 13:43:35 -07:00
Jon Miranda de0ea81442 Folder animation polish.
* Use different interpolators so that the prevew items in large folders
  appear aligned with the rest of the folder contents longer (the
  preview item movements are less jumpy).
* Fixed animation elevation on close.

Bug: 63131666
Bug: 35064148
Change-Id: Iecb1a8d3105e630ee00b3ea4b692979efb928d7d
2017-06-29 09:34:17 -07:00
Mario Bertschler 0c69c01e1a Merge "All apps alpha mask asset for all densities." into ub-launcher3-dorval-polish
am: fa283822d6

Change-Id: Ia2d4e267270d7f5598bbb982aea3af2e489fd609
2017-06-28 21:27:57 +00:00
TreeHugger Robot fa283822d6 Merge "All apps alpha mask asset for all densities." into ub-launcher3-dorval-polish 2017-06-28 21:17:05 +00:00
Tony Wickham b258e1ab3d Popup visual changes
am: aa2272f81c

Change-Id: Iea60ed8675d7e71189f0536a85c506f524c97d73
2017-06-28 02:55:47 +00:00
Tony Wickham aa2272f81c Popup visual changes
- Don't remove elevation during animation (b/62905720)
- Other adjustments (b/35766387)
  - Add "gutter" between notification and shortcuts
  - Change shortcuts to always be primary color (e.g. white)
  - Scale down shortcut icons when notifications present
  - Apply icon extracted color to "Notifications" header

Change-Id: Idf791dc76d15d05d246000ad73810916d7cd1750
2017-06-27 19:43:18 -07:00
Jon Miranda 72b85a3103 Merge "Grid change polish bugs." into ub-launcher3-dorval-polish
am: 184f018ea1

Change-Id: If4ccbbb74307d594882793c8c7eeb6a17b66f914
2017-06-27 22:20:34 +00:00
Mario Bertschler 60c1456472 All apps alpha mask asset for all densities.
Bug: 63008339
Change-Id: I4f0ccb9caea703901a2407d4e4eb6795515bfda9
2017-06-27 15:18:56 -07:00
TreeHugger Robot 184f018ea1 Merge "Grid change polish bugs." into ub-launcher3-dorval-polish 2017-06-27 22:14:45 +00:00
Sunny Goyal c7b8df8329 Sanitizing various search container ids and layout names
Bug: 63014381
Change-Id: Ia75a8a048c7a85c6324f8861abd2bcf1721032fa
2017-06-27 11:11:32 -07:00
Hyunyoung Song 2bdce730e6 Merge "Bitmap resource should not be scaled on lower density devices Bug: 63008339" into ub-launcher3-dorval-polish
am: 71d94efcfb

Change-Id: I8d10acfa8b95599e1f77cd308f67dd162ae2bb73
2017-06-27 00:25:37 +00:00
TreeHugger Robot 71d94efcfb Merge "Bitmap resource should not be scaled on lower density devices Bug: 63008339" into ub-launcher3-dorval-polish 2017-06-27 00:19:33 +00:00
Hyunyoung Song 53f5f172a3 Bitmap resource should not be scaled on lower density devices
Bug: 63008339

Change-Id: I51163169adbc279c3229b3abef167702f75d0f1b
2017-06-26 16:04:37 -07:00
Sunny Goyal 607a8ff8d4 Merge "Updating fast scrollbar UI in Landscape" into ub-launcher3-dorval-polish
am: b647302a90

Change-Id: Ia1fdc21126375cb7c95fb57126990e0921ed3083
2017-06-26 22:14:04 +00:00
Sunny Goyal 89d5c5a31b Updating fast scrollbar UI in Landscape
Creating a separate view for FastScrollBar and moving all the relavant logic in
the view.
For protrait, the touch handling is delegated by the recycler view just like before.
For landscape, the dcrollbar does not overlay with recyclerView and handles the touch
itself

Bug: 37015359
Change-Id: Ie1981326457ba739bdf0ac8063db1065f395f133
2017-06-26 14:56:36 -07:00
Tony Wickham eeefd2cf33 Merge "Add dark widgets theme" into ub-launcher3-dorval-polish
am: 7a0ec3f28c

Change-Id: If06b993fd3c4ff96c73def8d9ae3378c622e20cc
2017-06-26 21:56:08 +00:00
Tony Wickham 7a0ec3f28c Merge "Add dark widgets theme" into ub-launcher3-dorval-polish 2017-06-26 21:34:59 +00:00
Hyunyoung Song e6c002adfb Merge "Reorder home settings Bug: 62957388" into ub-launcher3-dorval-polish
am: 32a1e2cd48

Change-Id: I57dfd01b4b1d50d2e71fc66148c5b6daed00b471
2017-06-26 20:51:40 +00:00
Hyunyoung Song 2c1814378c Reorder home settings
Bug: 62957388

Change-Id: I8fdc6448033d3c7f49396e506ef7f1fee45a7914
2017-06-26 12:17:25 -07:00
Tony Wickham 093c3ac7c3 Add dark widgets theme
Bug: 62907264
Change-Id: I9831e071eab9a746d1aacab7d023371cc4a631ef
2017-06-26 17:50:29 +00:00
Jon Miranda 72b5fd186e Grid change polish bugs.
- Folder icons were too small in landscape.
- Folders can now be 16dp away from the edge
  (used to be 64dp which resulted in super small folders)
- Decrease page spacing back to 8dp
- Decrease PreviewBackground accept scale factor since
  hotseat is now generally smaller.

Bug: 37014334
Bug: 37015359
Change-Id: Icbb53d34136bfdb93796d48f7379da6b9e214345
2017-06-25 18:15:29 -07:00
Jon Miranda e2468d8483 Merge "Landscape grid changes for Workspace/All Apps." into ub-launcher3-dorval-polish
am: 6828cbb751

Change-Id: I3892b4c6d7b0635e7edb7340de0c4f19730c388d
2017-06-23 19:04:01 +00:00
TreeHugger Robot 6828cbb751 Merge "Landscape grid changes for Workspace/All Apps." into ub-launcher3-dorval-polish 2017-06-23 18:59:12 +00:00
Jon Miranda b28c4fcf35 Landscape grid changes for Workspace/All Apps.
This is the just first CL to get eyes on the changes.
Next CL will update the All Apps to be full width.

Bug: 37015359
Change-Id: I2d7ec6851fdc13b8fa654e7e2be3152330243ccc
2017-06-23 11:47:48 -07:00
Sunny Goyal d3cc914fcd Separating double shadow logic for BubbleTextView in a separate subclass
am: 9314b7c01d

Change-Id: I8074c790267e1c88cabe0bf43f6c67051fb6a7a4
2017-06-23 17:59:43 +00:00
Sunny Goyal 9314b7c01d Separating double shadow logic for BubbleTextView in a separate subclass
This allows better customization and reuse of the double shadow logic and simplified
various attribute management

Change-Id: I5e277d8399756385452d8bb8c0a0107234a76d34
2017-06-23 10:37:25 -07:00
Jon Miranda 194ae33e77 Merge "Set clipToPadding false for FolderPagedView." into ub-launcher3-dorval-polish
am: 051f469acc

Change-Id: I8901b4cb1b313ef15a1cd8b380f21ce54790b604
2017-06-21 23:43:43 +00:00
Jon Miranda 7efd29ad85 Set clipToPadding false for FolderPagedView.
Bug: 62867021
Change-Id: I2d897f4c0e4d844f6dd3c2aab97450637796ad02
2017-06-21 12:12:27 -07:00
Tony Wickham e7f3667c08 Merge "Round some more icons" into ub-launcher3-dorval-polish
am: f763f61e96

Change-Id: I8b4f7676bbfc7f657a6ae2250e91b50f2e6bc6b8
2017-06-20 21:23:32 +00:00
Tony Wickham f763f61e96 Merge "Round some more icons" into ub-launcher3-dorval-polish 2017-06-20 21:13:32 +00:00
Sunny Goyal 9cd21a258a Merge "Fixing dark tint for ShadowDrawable. Updating the dark theme for empty all-apps search drawable." into ub-launcher3-dorval-polish
am: 7e2e2aa80b

Change-Id: I07dbf3f8ba76920d6284f90dae74739a16c9c16d
2017-06-20 16:17:38 +00:00
TreeHugger Robot 7e2e2aa80b Merge "Fixing dark tint for ShadowDrawable. Updating the dark theme for empty all-apps search drawable." into ub-launcher3-dorval-polish 2017-06-20 16:11:18 +00:00
Sunny Goyal 5931ca0415 Fixing dark tint for ShadowDrawable.
Updating the dark theme for empty all-apps search drawable.

Change-Id: Ieb2018924da337bdd97eaf3adf2d32c3e3bebc73
2017-06-20 09:03:30 -07:00
Tony Wickham ea1c781752 Adjust some sizes in popup
am: 5a1ca5756e

Change-Id: Ib9f6e237c6e0bce2d3cc3f289ce4326101543839
2017-06-20 01:58:38 +00:00
Tony Wickham 5a1ca5756e Adjust some sizes in popup
- Increase main notification height and pad text/icon bottom
- Reduce shortcuts height when there are notifications to 48dp
  - When the last notification is dismissed, animate back to 56dp

Bug: 35766387
Change-Id: I84f843c042137fdf93fa720802eb2f19337197b4
2017-06-19 18:42:46 -07:00
Tony Wickham a1d334e130 Merge "Show more shortcuts when last notification is dimissed" into ub-launcher3-dorval-polish
am: 034d74da19

Change-Id: I363236f3400ae234b3482739ab989d36e385efc4
2017-06-20 01:40:38 +00:00
Tony Wickham 034d74da19 Merge "Show more shortcuts when last notification is dimissed" into ub-launcher3-dorval-polish 2017-06-20 01:36:55 +00:00
Tony Wickham dd74150287 Merge "Update icons to be rounded" into ub-launcher3-dorval-polish
am: 13fc445b07

Change-Id: I83e16b4753eb2d5de4e016f884d1662bbffd9a79
2017-06-20 00:43:03 +00:00
Tony Wickham 0e43826c66 Round some more icons
- Wallpapers
- Home settings
- Remove
- Uninstall

Change-Id: I50990fdcf0f8bf2b3c9e9e7cedaa6fc1f06ff9a4
2017-06-19 17:35:18 -07:00
Tony Wickham 13fc445b07 Merge "Update icons to be rounded" into ub-launcher3-dorval-polish 2017-06-20 00:34:01 +00:00
Jon Miranda 1fd8ff0c83 Merge "Portrait grid changes for Workspace/All Apps." into ub-launcher3-dorval-polish
am: bacc582817

Change-Id: Id332cf749a7dd46993786668437409da886c4258
2017-06-20 00:27:32 +00:00
Jon Miranda 0966072c91 Portrait grid changes for Workspace/All Apps.
Bug: 37015359
Change-Id: Ifbdd0e71c36e532b189e02283e3eeb562ebe2654
2017-06-19 17:02:45 -07:00
Tony Wickham 446cd728d1 Update icons to be rounded
- App info
- Widgets
- Shortcuts drag handles

Change-Id: I247d154fc1ec8ccfc5527ed50cc4d133f4c03c58
2017-06-19 15:59:00 -07:00
Sunny Goyal c00744144a Merge "Updating the fast scroll bar UI" into ub-launcher3-dorval-polish
am: a2341af20f

Change-Id: I64abf31edd7798184098c27390ef18b91863ef77
2017-06-16 22:16:58 +00:00
Sunny Goyal 1a8f6fb736 Updating the fast scroll bar UI
Bug: 37015359
Change-Id: Iec0748f04ebe9a3eef13ff759da3cab6ff28c3a1
2017-06-16 14:57:34 -07:00
Bill Yi af9eb6997a Import translations. DO NOT MERGE
Change-Id: I852864cb1bb98c2677a04a1c3ca46fdae677f1a3
Auto-generated-cl: translation import
2017-06-15 22:39:51 -07:00
Bill Yi d4274a6fa4 Import translations. DO NOT MERGE
Change-Id: I35349dcb69ae712340d4f189b9e26cdb59d15622
Auto-generated-cl: translation import
2017-06-15 22:38:59 -07:00
Sunny Goyal e8f2f7b34c Merge "Updating the UI for Add-to-homescreen dialog" into ub-launcher3-dorval-polish
am: 35a4ae02d1

Change-Id: Ie9d0739910a251604dd65d35436f011739e33d6b
2017-06-15 23:34:12 +00:00
Tony 887bd1fe1a Show more shortcuts when last notification is dimissed
We currently only show 2 shortcuts when notifications are
present, but support up to 4 otherwise. With this change,
the hidden shortcuts are added back after dismissing the
notifications, instead of only after closing and reopening
the container.

To ensure the transition is as elegant as possible, we also
separated the shortcuts header from the rest of the shortcuts.
That way we can reveal the new shortcuts without removing the
header (the shortcuts come out from behind the header).

Bug: 38036250
Change-Id: Ie9ab35f9be57cec1d5345e9e70e84e09ea52c9fc
2017-06-15 16:21:34 -07:00
Sunny Goyal 8b4342c943 Updating the UI for Add-to-homescreen dialog
> Adding scrollView so that the contents are accessible in multi-window
  mode as well
> Updating the padding to be same as an alert-dialog

Bug: 36725328
Change-Id: I83d32156aa9cb751daf6589bc226d7cde69e9b53
2017-06-15 14:51:28 -07:00
Tony Wickham 539ddc1b46 Merge "Align widgets labels to view start for RTL" into ub-launcher3-dorval-polish
am: 922f84acf2

Change-Id: I2e060336df906997a3ecab11f8e19b5da0743557
2017-06-15 19:26:53 +00:00
Tony Wickham 7fd4bb625d Align widgets labels to view start for RTL
Bug: 62593142
Change-Id: I058be62904d0c3a04837331e2da884aca21a598c
2017-06-15 11:30:37 -07:00
Bill Yi 54cfee2668 Import translations. DO NOT MERGE
Change-Id: I43d215bdcab111a02a894b7b9d8baae037506ef6
Auto-generated-cl: translation import
2017-06-12 18:45:36 -07:00
Bill Yi 5212c88bcd Import translations. DO NOT MERGE
Change-Id: I40904a0c4db2c9d625aab269988ac34a472487b4
Auto-generated-cl: translation import
2017-06-12 18:44:42 -07:00
Tony Wickham 37a256dfed Merge "Fix typo in preferences" into ub-launcher3-dorval-polish
am: a1840c6e29

Change-Id: Iec1d99618864335438a902be4435c720c783b183
2017-06-12 21:35:01 +00:00
Tony Wickham a1840c6e29 Merge "Fix typo in preferences" into ub-launcher3-dorval-polish 2017-06-12 21:32:26 +00:00
Tony 4eb823a4ce Fix typo in preferences
Bug: 62299923
Change-Id: I6e76a46f9e1fa7acf4b746840c33c914de364417
2017-06-12 12:44:43 -07:00
Sunny Goyal 12d88b1178 Merge "Replacing png asset with vector drawable" into ub-launcher3-dorval-polish
am: 9c1e80cfe1

Change-Id: Ic9b2f258950aa5977d7ff55d5052a594e078b400
2017-06-12 17:05:11 +00:00
TreeHugger Robot 9c1e80cfe1 Merge "Replacing png asset with vector drawable" into ub-launcher3-dorval-polish 2017-06-12 17:01:06 +00:00
Sunny Goyal a17eb3ace6 Some theme fixes
am: 325b5c7a66

Change-Id: I922c2483680dce3fd4df708141359ab39e3507aa
2017-06-12 16:59:40 +00:00
Sunny Goyal 325b5c7a66 Some theme fixes
> workspaceTextColor was not clearly defined to white and relied on HomeScreenElementTheme
> Not all attributes were defined in sw720dp. Created a interm style to avoid such errors
> Applying proper tint to resize frame
> Fixing shadow colors for homescreen icon

Change-Id: If8441011c968291de50b2fd8d7612ce3d5353b95
2017-06-11 20:24:02 -07:00
Sunny Goyal a93d09fe63 Replacing png asset with vector drawable
Change-Id: Id3aa5f7a1782052cd646b8935cff5f62e2ee2cdf
2017-06-11 01:14:29 -07:00
Mario Bertschler 5188599a0f Title style for text setting font family.
am: 93e39ecdeb

Change-Id: If2fc91aef3a47524fe9fc1aff1d17f3d515383d5
2017-06-09 18:48:23 +00:00
Mario Bertschler 93e39ecdeb Title style for text setting font family.
b/62389480

Change-Id: I93135d99487a18e2a74d0e197955898cec40072b
2017-06-09 11:23:47 -07:00
Tony Wickham 0ecf5bcfcb resolve merge conflicts of 7092db024 to ub-launcher3-dorval-polish
Test: I solemnly swear I tested this conflict resolution.x
Change-Id: I0f9ed3d42fcb04299c3c23d06629f855614c0538
2017-06-08 15:49:07 -07:00
Tony Wickham 33eafc6328 Merge commit 'refs/changes/42/2374342/1' of sso://googleplex-android/platform/packages/apps/Launcher3
Change-Id: I85dc9f76f21ebbe156ef68bcb5a11c28c8d871ba
2017-06-08 22:12:46 +00:00
Tony Wickham 6f1118a919 Revert "Merge commit 'refs/changes/42/2374342/1' of sso://googleplex-android/platform/packages/apps/Launcher3 into dots-color"
This reverts commit 0316c12062.

Change-Id: I166af3bd287b0c9c0aad6430c0f9ec50961c8f3c
2017-06-08 22:04:23 +00:00
Tony Wickham 7092db0241 Add support for color extracted notification dots
Changing the badge_color in colors.xml to transparent
will cause them to be color extracted.

When an extracted color is used in the IconPalette, we
desaturate the background. Otherwise we respect the
exact color specified in colors.xml.

Change-Id: Ie82d0c5335fa5f24d4cc47766e4c1719c4916f8b
2017-06-08 21:08:47 +00:00
Tony Wickham 0316c12062 Merge commit 'refs/changes/42/2374342/1' of sso://googleplex-android/platform/packages/apps/Launcher3 into dots-color
Change-Id: I85d3d443fcdc4f738da7040178eaab01dd881856
2017-06-08 21:00:37 +00:00
Tony Wickham 16c3e91949 Updating icon badging string to "Notification dots"
am: 85b64c7da0

Change-Id: Ibbdb9576502673ea1229c78a4d0027c4a50a18a8
2017-06-08 20:05:10 +00:00
Tony Wickham 58c174692f Updating icon badging string to "Notification dots" am: 85b64c7da0
Change-Id: Ied60704fb927cd03201d362283d6a1e9264aa58d
2017-06-08 19:18:40 +00:00
Tony Wickham 85b64c7da0 Updating icon badging string to "Notification dots"
Change-Id: Ie3193c8aae8fee5860274ba6823b0cdfe25b1083
2017-06-08 19:18:31 +00:00
Mario Bertschler ca20dc56b7 Dark text support for caret, drop target text and cell layout drop outline
am: 54ba601a99

Change-Id: Ie3169f9bbbeaae3d9d8c3826d93666ac1857a35b
2017-06-08 18:17:36 +00:00
Mario Bertschler 54ba601a99 Dark text support for caret, drop target text and cell layout drop outline
Change-Id: I1bcad657b6e49be6fa93cafe9d8ae304604be34d
2017-06-08 10:54:09 -07:00
Mario Bertschler 245a575be9 Merge "Dark color on super light wallpaper support" into ub-launcher3-dorval-polish
am: 9483c6f4ed

Change-Id: I2592bc5811c8dcb0742c4fcc888c117cb2bee83c
2017-06-08 17:51:30 +00:00
Mario Bertschler 9483c6f4ed Merge "Dark color on super light wallpaper support" into ub-launcher3-dorval-polish 2017-06-08 17:45:56 +00:00
Jon Miranda 8dd654c9dd Refactor and generalize SpringAnimationHandler.
am: 5c83e7cdc5

Change-Id: I3fa69b3ab59badf589657a1dfc539481710e34b8
2017-06-07 23:00:03 +00:00
Jon Miranda 5c83e7cdc5 Refactor and generalize SpringAnimationHandler.
SpringAnimationHandler is only responsible for motion tracking and
updating the list of springs it is handling.

Spring initialization and updates are handled by the AnimationFactory
interface.

This is done in preparation for future CLs where SpringAnimationHandler
will be used in more cases.

Bug: 38349031
Change-Id: I5ebce710cc05e4e88b708ceea5d2cfefbd0eb3d0
2017-06-07 15:45:45 -07:00
Mario Bertschler a693694502 Dark color on super light wallpaper support
Change-Id: I0fdfa9abefb72e06c45b1f635ac97e2acfa97f05
2017-06-07 15:25:07 -07:00
Sunny Goyal fd62e7eb20 Adding tint support for shadow drawable.
am: d9a2187621

Change-Id: If2db63380a409e932fb023d2c56070ebc6574299
2017-06-07 20:20:49 +00:00
Sunny Goyal d9a2187621 Adding tint support for shadow drawable.
Bug: 37616877
Change-Id: I2ce8d82143238422bccabfa5191ef95e936a713d
2017-06-07 10:41:55 -07:00
Sunny Goyal a56bc452c4 Merge "Removing QsbBlockerView" into ub-launcher3-dorval-polish
am: da84e97947

Change-Id: Ia5c93304e1da31992d6bb1288a1e389e72972787
2017-06-07 00:55:11 +00:00
TreeHugger Robot da84e97947 Merge "Removing QsbBlockerView" into ub-launcher3-dorval-polish 2017-06-07 00:47:56 +00:00
Tony Wickham 052355006e Merge "Add support for popup dark theme" into ub-launcher3-dorval-polish
am: 15fcdbed07

Change-Id: I3fb6540ef98c5d00a438d3095d54e876af92bf17
2017-06-07 00:03:35 +00:00
Sunny Goyal 966d901af0 Removing QsbBlockerView
> Removing workspace state change listener. State change happens with hardware layer,
  so children should not be calling invalidatge() during the animation
> Moving QSB inside the QSB and removing a floating layout

Bug: 37616877
Change-Id: I9af3522a05dafa5796586bb64f512d98688caf79
2017-06-06 16:48:25 -07:00
Tony Wickham 90038ebab2 Add support for popup dark theme
Bug: 62380473
Change-Id: Ib22e9b82841bf10b7f139638f268f0a878e3c6b9
2017-06-06 16:34:20 -07:00
Tony Wickham 695e4705dd Merge "Fix visibility of notification footer divider" into ub-launcher3-dorval-polish
am: 0540c0606b

Change-Id: If9cf7e955eddea70d96e2996f42cb77973e81629
2017-06-06 17:39:59 +00:00
Tony Wickham 0540c0606b Merge "Fix visibility of notification footer divider" into ub-launcher3-dorval-polish 2017-06-06 17:29:16 +00:00
Tony Wickham 79b176e42c Fix visibility of notification footer divider
Now it is only visible when the notification footer is present,
instead of always being visible.

Change-Id: Ie85ff31918901115cdfe55b36e75aa80b43e7b13
2017-06-05 17:54:45 -07:00
Bill Yi 26d7528bc2 Import translations. DO NOT MERGE
Change-Id: I62ae15df954f8a27f87bc27b7217360fb0925079
Auto-generated-cl: translation import
2017-06-02 18:17:40 -07:00
Bill Yi 6c74114660 Import translations. DO NOT MERGE
Change-Id: I01fa29ac699eaac1d7eed9f345c3b65a9f480508
Auto-generated-cl: translation import
2017-06-02 18:16:58 -07:00
Bill Yi 303b81010a Import translations. DO NOT MERGE
Change-Id: Iaccfb365895d66930405f7114613bcbadbca1c25
Auto-generated-cl: translation import
2017-06-02 18:15:04 -07:00
Tony 5101a68b27 Remove gap between popup items
am: acaf5b3a37

Change-Id: Ib1644ec746562a61c2533c61c8b220c558f61e06
2017-06-01 19:12:15 +00:00
Tony acaf5b3a37 Remove gap between popup items
- Unround interior corners
- Update colors (shortcuts are gray when next to
  notifications, notifications always white)
- Clean up animation to animate entire popup with
  simple reveal instead of individual items
  animating with reveal and icon scale

Bug: 35766387
Bug: 36110804
Change-Id: I33685d53e2db3904731676123dc230be4dabb5d4
2017-05-31 15:11:43 -07:00
Bill Yi 07309691c8 Import translations. DO NOT MERGE
Change-Id: I0a45159b7ef25640e7dfdbb7a465245033d031e9
Auto-generated-cl: translation import
2017-05-30 15:47:17 -07:00
Bill Yi 47559fb858 Import translations. DO NOT MERGE
Change-Id: I64d7acaae108b79025a5a82514fbeac9eee785cf
Auto-generated-cl: translation import
2017-05-30 15:46:25 -07:00
Bill Yi 8b6ea60fac Import translations. DO NOT MERGE
Change-Id: I2b9ae2bbd37711412de29f0c0f48d7317398f853
Auto-generated-cl: translation import
2017-05-30 15:43:56 -07:00
Mario Bertschler fc173c0ed5 Merge "Providing a default color extraction implementation. Enabling FeatureFlag LAUNCHER3_GRADIENT_ALL_APPS" into ub-launcher3-dorval-polish
am: 0e695fe41f

Change-Id: Ifecd239fe6b4a47ef264a31b42b932964d64ba42
2017-05-26 18:52:48 +00:00
Mario Bertschler c6e07299c2 Providing a default color extraction implementation.
Enabling FeatureFlag LAUNCHER3_GRADIENT_ALL_APPS

Change-Id: I86d982344a4a04a79bde6dce714b1f0bff90f992
2017-05-26 11:36:51 -07:00
Sunny Goyal b7484f9381 resolve merge conflicts of 9d9dbcb1b to ub-launcher3-master
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I9978124fb3c24bb497cac0d199c0b5dcdc670715
2017-05-25 10:05:45 -07:00
Sunny Goyal 1f5a264fac [DO NOT MERGE] Making various icon shape options as non-translatable
Change-Id: I2abe2c84a7c6a2b9cad8b3238ba6ee8a5761f70e
2017-05-25 09:46:17 -07:00
Sunny Goyal 9d9dbcb1b8 Revert "Revert "Fixing string not correctly marked as non-translatable""
This reverts commit 0ec2da54f8.

Change-Id: Id685c338ab5474e41cfd3792ef98b9cf4b0c4fba
2017-05-25 16:44:33 +00:00
Sunny Goyal 0ec2da54f8 Revert "Fixing string not correctly marked as non-translatable"
This reverts commit 477b8cc1b4.

Change-Id: I114f89c20d735d0e17cc93e8f78876bf8a388a6a
2017-05-25 16:42:18 +00:00
Sunny Goyal 477b8cc1b4 Fixing string not correctly marked as non-translatable
Bug: 38371442
Change-Id: I79a679d461e422dbb4e4832192ac40e6c2d509de
2017-05-25 09:08:49 -07:00
Sunny Goyal e55b05329b Defining a dark theme for launcher
am: 368ae77201

Change-Id: I7aa0033716eb9c07798b87669347179715e3a712
2017-05-24 21:57:45 +00:00
Sunny Goyal 368ae77201 Defining a dark theme for launcher
> Removing the code for LIGHT_STATUS_BAR as that will be controlled by the theme
> Updating icon cache to always use transparent background for low-res, as the
theme can change the bg color

Change-Id: Iab64ec29cab629ee515af22ec15b95d3f40a9df5
2017-05-24 14:34:04 -07:00
Jon Miranda e6d0b2783f Merge "Update FolderIcon preview to be 1dp bigger (stroke) than other shortcuts." into ub-launcher3-dorval-polish
am: dcc0cc7220

Change-Id: I66d408c8d9a7e6ff645cf3d845ae2dd4a5af4564
2017-05-24 20:35:11 +00:00
Jon Miranda 896e71a859 Update FolderIcon preview to be 1dp bigger (stroke) than other
shortcuts.

Bug: 38338424
Change-Id: I2e9cdb2285e97e9d899eda13947bedb40d6fbcb2
2017-05-24 12:15:24 -07:00
Mario Bertschler 06cdfb21d7 Merge "Revert "Allapps motion changes for landscape"" into ub-launcher3-dorval-polish
am: 2aab7dc0af

Change-Id: Iedb47256c3847f27c3a702c7da69fb366139c210
2017-05-24 18:18:00 +00:00
Mario Bertschler 57dbde0c21 Allapps motion changes for landscape
am: d15dccf10e

Change-Id: I0e5a5051251d3878781eeb9aa86b305ba4d8ece8
2017-05-24 17:57:58 +00:00
Mario Bertschler 418d443d2f Revert "Allapps motion changes for landscape"
This reverts commit d15dccf10e.

Change-Id: I04c06d419bc636929259bc5f4fdce982d97ef33f
2017-05-24 17:56:56 +00:00
Mario Bertschler d15dccf10e Allapps motion changes for landscape
Bug: 38230696
Change-Id: I82e36c240c934ff6b86b55e0a0f07391fd11ec82
2017-05-24 10:30:13 -07:00
Bill Yi 91ee8fe94e Import translations. DO NOT MERGE
Change-Id: I4e178f81de257e11834dd3ac141eded81d16bf0d
Auto-generated-cl: translation import
2017-05-23 13:15:18 -07:00
Bill Yi c152748e46 Import translations. DO NOT MERGE
Change-Id: I94345589894b7d404865e34abaf6fb6c37b85f70
Auto-generated-cl: translation import
2017-05-23 13:14:33 -07:00
Bill Yi b64355fe05 Import translations. DO NOT MERGE
Change-Id: I7f53533487bce703a8fa6e45c1a8650057e108f2
Auto-generated-cl: translation import
2017-05-23 13:12:13 -07:00
Jonathan Miranda 50e6d12fb5 Merge "Add physics motion to items in all apps." into ub-launcher3-dorval-polish
am: db894b9bba

Change-Id: I7a30a1039122e3e70ceb5d30f958de57ace57879
2017-05-23 17:40:43 +00:00
Jonathan Miranda db894b9bba Merge "Add physics motion to items in all apps." into ub-launcher3-dorval-polish 2017-05-23 17:35:36 +00:00
Jon Miranda 4e11c2738a Add physics motion to items in all apps.
Motion applied to:
- Icons
- Prediction icons
- Prediction divider

Bug: 38349031
Change-Id: I376e6e39080c8c80463a0ce8b104b05e4d576f17
2017-05-23 10:02:51 -07:00
Bill Yi a139810632 Import translations. DO NOT MERGE
Change-Id: Ia08a537f6ef1e555cd381b69224124fbcad34d68
Auto-generated-cl: translation import
2017-05-22 19:13:37 -07:00
Bill Yi f6f526d7ec Import translations. DO NOT MERGE
Change-Id: Ic054fdce631204ca6f134343d8bd40237024845b
Auto-generated-cl: translation import
2017-05-22 19:12:44 -07:00
Tony Wickham 5a439dc611 Merge "Rename "Settings" to "Home settings"" into ub-launcher3-dorval-polish
am: 998dbecf53

Change-Id: I5fc6cc32851ed6b2d135e8a12c9d1fee478dedab
2017-05-22 20:19:47 +00:00
Tony Wickham 998dbecf53 Merge "Rename "Settings" to "Home settings"" into ub-launcher3-dorval-polish 2017-05-22 20:14:15 +00:00
Mario Bertschler e5c411e626 Minor accessibility change for app discovery item
am: fc2b3d2b8a

Change-Id: I8ebb397d368f83e7602f7f6fa6658ac89493d498
2017-05-22 17:58:38 +00:00
Mario Bertschler df346d9b59 Minor accessibility change for app discovery item am: fc2b3d2b8a
Change-Id: Id6794c68e3b222152d3d7a6413bb123109bc2a36
2017-05-22 16:22:14 +00:00
Mario Bertschler fc2b3d2b8a Minor accessibility change for app discovery item
Bug: 38345854

Change-Id: Ib200b5a6295eb26650c7f28d0b7823b489c70cda
2017-05-22 09:21:01 -07:00
Tony Wickham cbe6c2849e Rename "Settings" to "Home settings"
Bug: 37903251
Change-Id: Ia6a8b329135100af9b54900e275c5362695bfd74
2017-05-19 19:33:26 -07:00
Tony Wickham fda3107c8b Merge "Make expanded system shortcuts clickable" into ub-launcher3-dorval
am: 440052ce5d

Change-Id: I5d53a468bb4aa3060e3e7e618bfdbdb537a5aadc
2017-05-19 19:36:38 +00:00
Tony Wickham 3720c69322 resolve merge conflicts of 8af16760d to ub-launcher3-dorval-polish
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I4cdfeebd09be58270c249429104d91dc9a31b49c
2017-05-19 12:17:02 -07:00
Tony Wickham 8aea3b185a resolve merge conflicts of d5dbf6175 to ub-launcher3-master
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I2aefe84331c3236993bf23bd982d639b2ba2499e
2017-05-19 12:03:45 -07:00
Tony Wickham d5dbf61757 resolve merge conflicts of 02aced978 to ub-launcher3-dorval-polish
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ib44ce0130b9eb01c354f18326d7d3a1eeb2c5eb8
2017-05-19 10:52:19 -07:00
Tony Wickham 95cb4e098d Don't set system shortcut text to white
am: 30e55d0f7c

Change-Id: Iab1977c0d2599cb1131ea3a9fa62dd6c15e56e69
2017-05-18 22:50:53 +00:00
Tony Wickham 30e55d0f7c Don't set system shortcut text to white
Bug: 38201638
Change-Id: Icacd63810306848ec1fb54e5dcc6021660ac5099
2017-05-18 15:31:19 -07:00
TreeHugger Robot 45febfec54 Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval 2017-05-18 18:40:39 +00:00
TreeHugger Robot abd32f986d Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2017-05-18 18:38:41 +00:00
TreeHugger Robot 440052ce5d Merge "Make expanded system shortcuts clickable" into ub-launcher3-dorval 2017-05-18 18:34:04 +00:00
Tony Wickham 79222e9c3f Make expanded system shortcuts clickable am: cd58d0d4e5
Change-Id: If8148c3dc536a7c098f0d81a61afb006248e5baf
2017-05-18 18:17:15 +00:00
Tony Wickham cd58d0d4e5 Make expanded system shortcuts clickable
The textview on top was consuming the clicks, so we set it to
not be focusable (clicks are handled by the parent).

This regression was caused by a TextView bug introduced in
ag/2247666, which set clickable=true if focusable=true.

Bug: 38385679
Change-Id: I0a946073919dabcd19b47cd7df2a1fcac6946cd5
2017-05-18 11:16:58 -07:00
Tony Wickham 8af16760dc Merge "Update accessibility for popup" into ub-launcher3-dorval 2017-05-18 01:06:46 +00:00
Tony Wickham d1c496e5fe Merge changes from topic 'am-103e12ab-e4f5-4f1e-a8f6-6b164b13e8de' into ub-launcher3-master
* changes:
  Merge commit '18c4aa458ea5c9ee5513fa756da4f5492bb7c5b8' into am-103e12ab-e4f5-4f1e-a8f6-6b164b13e8de
  Update accessibility for popup
  Update accessibility for popup
2017-05-18 01:06:46 +00:00
Bill Yi 0c098dc5a0 Import translations. DO NOT MERGE
Change-Id: I5b6795f9483c54daf9d0484bc370f056263979ac
Auto-generated-cl: translation import
2017-05-17 17:10:05 -07:00
Bill Yi 4915614962 Import translations. DO NOT MERGE
Change-Id: I14925e787ac1adbf5aa2e89cebc6c5b3548c7fe4
Auto-generated-cl: translation import
2017-05-17 17:08:22 -07:00
Bill Yi 2a7c820dac Import translations. DO NOT MERGE
Change-Id: I0e20d48d0f6eaedfa6d93fc7ed0b355c34e92a98
Auto-generated-cl: translation import
2017-05-17 17:05:55 -07:00
Sunny Goyal 233fbd7059 Adding an option to change the shadow size
am: 8b6ac00a1b

Change-Id: I6ebafb3b81f486adeb510bc021638dd266ca1234
2017-05-17 21:10:34 +00:00