Commit Graph

2846 Commits

Author SHA1 Message Date
Bill Yi 6383659bab Import translations. DO NOT MERGE
Change-Id: I9b52987bd708c5b2b955b0446f42db329ba02ec8
Auto-generated-cl: translation import
2017-11-20 12:44:23 -08:00
Mario Bertschler 2153e1c814 Implementation of PredictionRowView.
> Enable to use floating for prediction row even without tabs.
> Behind ALL_APPS_PREDICTION_ROW_VIEW feature flag.
> Expand/Collapse personal/work tabs in stopped intermediate state.

Bug: 68713881
Change-Id: I7817e7b7c6f572358f2b9a7a347339a9081708ee
2017-11-16 17:07:44 -08:00
Sunny Goyal 7149889dc0 Merge "Simplifying app icon popup" into ub-launcher3-master 2017-11-16 01:15:37 +00:00
Sunny Goyal 00ac920241 Simplifying app icon popup
> Using a single linearLayout instead of multiple nested views
> Using clipToOutline for rounded corners instead of using canvas.saveLayer
> Removing nested view elevations and overdraw
> Using LayoutTransition for animating layout changes, instead of manually creating animators

Change-Id: I8e57092f52ca5a032a2756594fdd39788acc5a0d
2017-11-15 16:43:20 -08:00
Mario Bertschler 510a64d099 Adding a sliding tab strip to the custom tab layout.
Bug: 68713881

Change-Id: Ib0873482f80903611f183ccf430185f40a292f8e
2017-11-15 16:19:34 -08:00
Mario Bertschler ac9408a5cd Enable work profile tab in all apps.
This CL will bring two tabs to all apps: Personal and Work,
currently only if the user has a workfile set up and
behind a feature flag defaulting to disabled.

Bug: 68713881

Change-Id: Ib5a558281ef3593359db3ad593ee1d0cf279f547
2017-11-14 10:28:54 -08:00
TreeHugger Robot f405f507b7 Merge "Load some recent tasks" into ub-launcher3-master 2017-11-14 18:13:08 +00:00
Winson Chung b63b44c3d5 Load some recent tasks
Bug: 69166452
Test: Build quickstep
Change-Id: Id4b0172256d6920616a6b9529d61abd1fe0c1a36
2017-11-13 18:02:44 -08:00
Sunny Goyal 96f4961d97 Merge "Fixing wrong xml refenrece when the packageName is changed" into ub-launcher3-master 2017-11-13 22:10:23 +00:00
Sunny Goyal ea529083bd Using view elevation for shadow during click feedback instead of
creating a shadow bitmap

Change-Id: I331186664c3c448596af3172e0e080921a6a1908
2017-11-08 15:13:10 -08:00
Sunny Goyal 3cf2d5093f Fixing wrong xml refenrece when the packageName is changed
Change-Id: I276d22e82dbef65eaa0f6c3331d7990292a62bc9
2017-11-07 15:41:16 -08:00
Sunny Goyal 16764588c9 Separing the overview states for normal and quickstep builds
In QuickStep, adding a placeholder ScrollView and changing the state logic
appropriately to handle that

Change-Id: I10223c0692788d6e5dbf8c408c01cafb4e39bd2c
2017-11-07 09:46:20 -08:00
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