Commit Graph

2208 Commits

Author SHA1 Message Date
Bill Yi
edd583d6cd Import translations. DO NOT MERGE
Change-Id: Id9dfc22db1bca7d0e0278bad6854582bf6dbb9b6
Auto-generated-cl: translation import
2016-08-03 14:22:25 -07:00
Tony Wickham
1f01b016ce Align shortcut text with view start.
Bug: 30401505
Change-Id: Iffaa0a01f2c2983a085d8c9d4be36fc063ae2004
2016-08-03 12:00:33 -07:00
Peter Schiller
e6fe1b5947 Simpler caret
Bug: 30527159
Change-Id: I674de149e613c7adb567a13a288baa9877d36112
2016-08-02 17:54:18 -07:00
Sunny Goyal
a659bfe3d2 Updating content description for the shortcuts menu and announcing
it when the container is opened

Bug: 30587453
Change-Id: I6f2d3ba05593f3e2a1a8f05c66a0f80e76932c38
2016-08-02 16:16:16 -07:00
Tony Wickham
d92e36e6f9 Update shortcuts font to match spec.
Bug: 30594316
Change-Id: I9de1068a502e9f441f2609d114595b7513f20cad
2016-08-02 11:53:07 -07:00
Bill Yi
b22c174a2e Import translations. DO NOT MERGE
Change-Id: I221a6a62f6329ddac3e71461bb381820ed239873
Auto-generated-cl: translation import
2016-08-01 18:26:24 -07:00
Bill Yi
6c5025a9f5 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 30413963
Change-Id: I356f01214564a37fd27810a4bbd51a433ef5514d
2016-07-28 18:52:23 -07:00
Sunny Goyal
70a7c9b700 Showing the shortcuts in the disabled state and removing ti from the menu
when its disabled

Bug: 30315906
Change-Id: Ice747e7be955d8bb2dd65191f7613e2afd4abc1c
2016-07-28 12:22:51 -07:00
Sunny Goyal
a2454ad2d8 Launcher shortcuts animations update.
> The shortcut container closes with an animation
> When opening/closing the animation only the icon scales
and not the title and drag handle
> When dragging the icon, it starts from the original icon position and
moves under the user finger. The container grows to follow the drag view.

Bug: 28980830
Change-Id: Ic0353c30b682d1f018cbf4d62e8a6e8e7d7d4664
2016-07-27 17:37:23 -07:00
Hyunyoung Song
8fcdee05bb Merge "Change default animation duration for all apps open and close." into ub-launcher3-calgary 2016-07-27 18:55:29 +00:00
Hyunyoung Song
e3876e8dd0 Change default animation duration for all apps open and close.
> Also set different interpolator for all apps opening clicking the caret

Change-Id: I7f9b764a8bf8bb7c38d94acbd964e912f22d6941
2016-07-27 11:54:02 -07:00
Sunny Goyal
3cdf466e2b Updating the label for shortcuts aciton
Bug: 30374655
Change-Id: I92d269aca8b9361356b1b2241b24fc9e17ad1074
2016-07-27 11:17:22 -07:00
Tony
780c926db5 Match updated redlines for shortcuts.
- Align shortcut icons with original icon.
- Drag handle is lighter and smaller.
- Shortcut pills are slightly wider to accommodate long text.

Bug: 28980830
Change-Id: I8e9709e3cbdb9df86a805a4b63a696975c61df5a
2016-07-26 17:54:02 -07:00
Tony
eec1f9a839 Add arrow view to deep shortcuts container.
- We create a trangular path, which we use as the view's
  outline (for the shadow) and as its PathShape background.
- We scale up the arrow as the container opens.

Bug: 28980830
Change-Id: I71e566552f063dfdb69067bb7e3cee659988f934
2016-07-26 17:10:05 -07:00
Sunny Goyal
3ffa64df36 Added custom actions for showing the shortcuts menu and adding a quick action
on the home screen

Bug: 30374655
Change-Id: I2f3ae31f2fb2c09f64f2a47e95a9d25435f7efe2
2016-07-25 17:39:34 -07:00
TreeHugger Robot
e8af8a65bc Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary 2016-07-25 16:45:38 +00:00
Bill Yi
87c235f2e4 Import translations. DO NOT MERGE
Change-Id: Ibe25b8c09e10130238dc0e9e73503825baaf604d
Auto-generated-cl: translation import
2016-07-25 08:58:38 -07:00
Sunny Goyal
ce3fffb5fb Updating the search hint to contain the icon as a span object.
This makes the icon part of the hint text, and removes any need for
custom focus event handling.
Also the icon will now appear at the start of the text  based on the
direction of the text and not the direction of the layout

Change-Id: I06c5cf99492d75b1005c69ec7c521cde0fdab010
2016-07-22 13:17:30 -07:00
Hyunyoung Song
c001cf5620 Animate discovery bounce for all apps pull up interaction
b/30221381

> Will not support landscape case. If the user knows how to enable
rotation, it's very unlikely they don't know how to bring up apps drawer
> If unlocked using finger unlock immediately after screen is turned
off, bounce is not shown due to delay in ACTION_SCREEN_OFF broadcast

Change-Id: Ia8b7e572eaa4aeab8b1add1e5660fee3a63ba21c
2016-07-21 17:32:43 -07:00
Winson Chung
06580312ed Merge changes I09bce218,Id5716a34 into ub-launcher3-calgary
* changes:
  Matching hotseat to spec.
  Fixing issue with shadow drawing over search bar.
2016-07-21 16:58:42 +00:00
Tony Wickham
35a754bade Change shortcut background to #FFFFFF, as per spec.
Bug: 28980830
Change-Id: Ie05ce97267cdeaebeb48691a948c61961d2a39d2
2016-07-20 17:40:48 -07:00
Tony Wickham
f3c911cb10 Merge "Add drag handle to shortcuts." into ub-launcher3-calgary 2016-07-21 00:38:35 +00:00
Hyunyoung Song
852974375d Merge "Centered all apps search text" into ub-launcher3-calgary 2016-07-21 00:35:05 +00:00
Tony Wickham
377ed3f63e Add drag handle to shortcuts.
Also use short text if long text is ellipsized.

Bug: 30212144
Bug: 28980830
Change-Id: I213766bca0561d284d1da883ca37b0a42d886129
2016-07-20 17:28:34 -07:00
Winson
6231ede10c Matching hotseat to spec.
- Fixing regression in hottest folder background getting clipped
- Ensuring that the padding is correctly applied in vertical bar layout
  to match workspace

Bug: 30021487
Change-Id: I09bce21829867f4bd4e50646e565959421e4984c
2016-07-20 17:21:55 -07:00
Peter Schiller
03340309e2 Caret background protection
Change-Id: I5f902a3977677e7848932a6a60992a62f1638e39
2016-07-20 14:27:23 -07:00
Winson Chung
c80a024fb0 Merge "Initial changes to tweak layout." into ub-launcher3-calgary 2016-07-20 18:51:23 +00:00
Winson
1f06427266 Initial changes to tweak layout.
- Adding DeviceProfile callback for when the launcher layout changes due
  to insets.  This is necessary since there are now different layouts
  depending on which side the navigation bar is on
- Consolidating hotseat and other layout into the device profile 
  launcher layout logic
- Making the all apps icons match the workspace icon height
- Tweaking caret drawable to draw to the bounds specified to simplify
  layout in each orientation
- Fixing minor issue with page indicator shifting in landscape
- Centering overview buttons to the workspace page

Bug: 30021487
Change-Id: I1866bce00b2948f3edd06168c0f88d81207e3f13
2016-07-20 10:17:08 -07:00
Sunny Goyal
4dcb831382 Merge "Fixing accessibility description for apps search box" into ub-launcher3-calgary 2016-07-20 01:49:15 +00:00
Peter Schiller
5b3ace8e56 Merge "Centered typing in search field" into ub-launcher3-calgary 2016-07-20 00:31:23 +00:00
Peter Schiller
637e40ad6f Centered typing in search field
Change-Id: Iae46722195d0d06ff88da52df4fa48ca7b157512
2016-07-19 17:30:44 -07:00
Tony Wickham
8f58e61d02 Update shortcut animations.
- Open animation: shortcuts reveal using modified circular reveal
  (so that it reveals in the pill shape instead of a circle);
  slight translation away from the original icon; scale icon and text.
- Hover animation: scale the shortcut pill and translate others away.

Bug: 28980830
Bug: 30127368
Change-Id: I8ed05c7a082f2c2a3f6c663da7259f6cd33e394f
2016-07-19 13:58:51 -07:00
Peter Schiller
a92447a7fd Centered all apps search text
Change-Id: I21aaec56cd2202cea284880a28d9513435877368
2016-07-19 12:21:10 -07:00
TreeHugger Robot
2f3b0b7e3b Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary 2016-07-19 09:43:53 +00:00
Bill Yi
e2b883b40c Import translations. DO NOT MERGE
Change-Id: Iec88a83798bed88e16a66cae50829a4b1bd5a852
Auto-generated-cl: translation import
2016-07-19 01:06:21 -07:00
Hyunyoung Song
e4be3b3fdb Support gray hotseat background in all apps transition
b/30201515

Change-Id: Ie4b8442ac804b4df94e9673608129e6ffc0c3360
2016-07-18 16:35:10 -07:00
Sunny Goyal
19187cb9f5 Fixing accessibility description for apps search box
Change-Id: I9c6c85eeec5e54dd29867c58ead7ce43acdc7cb1
2016-07-15 08:11:01 -07:00
Peter Schiller
a30b51ceb2 Adding stateful caret drawable
Change-Id: Iba30da09f882297f789c405f932fef10617bba89
2016-07-14 17:22:49 -07:00
Peter Schiller
c9dec56c27 Merge "Preventing unnecessary layouts on search focus change" into ub-launcher3-calgary 2016-07-14 23:40:40 +00:00
Sunny Goyal
5024503702 Preventing unnecessary layouts on search focus change
Instead of expanding the edittext, using a separate textview
which is shown/hidden as the hint text

Change-Id: Ib4cedeaed9291f972be2ee407c06f4944c983e27
2016-07-14 16:39:48 -07:00
Sunny Goyal
01440c6e83 Adding a view to indicate space blocked by QSB when QSB is hidden
Change-Id: Ifc6b1f2a7312e7919582887ea67bfe900668b70f
2016-07-14 15:12:37 -07:00
Bill Yi
705a4e3ebb Import translations. DO NOT MERGE
Change-Id: I78d77deeed7278ec10507d588a6a979d845b02aa
Auto-generated-cl: translation import
2016-07-13 20:33:01 -07:00
Hyunyoung Song
dc2fd8b2da Merge "Remove hotseat flicker and all apps GPU overdraw" into ub-launcher3-calgary 2016-07-14 00:49:48 +00:00
Hyunyoung Song
ad140515b8 Remove hotseat flicker and all apps GPU overdraw
> Short story: elevation + transparency caused both flicker and overdraw

b/29641308
b/29648104

Change-Id: I621ccd888fa4c7e9292336dac1371246115cd3bb
2016-07-13 17:46:31 -07:00
Sunny Goyal
fcb81b978d Merge "Moving the QSB out of the cell layout to the Drag layer" into ub-launcher3-calgary 2016-07-14 00:41:42 +00:00
Sunny Goyal
6178f13e2d Moving the QSB out of the cell layout to the Drag layer
This allows better edge matching for the QSB. The QSB position
is kept synchronized with the page scroll and all-apps transition.
But its not visible in spring loaded and overview mode

Change-Id: I4e6723607ea966ee672273a9ca67c792fd6b5661
2016-07-13 12:37:08 -07:00
Sunny Goyal
f420438a0b Updating the content description of disabled icons
Bug: 27644457
Change-Id: I03aec29e0ea6017b51dcd7567967a067e478cefd
2016-07-13 10:46:34 -07:00
Winson
b655b88500 Cleaning up scrollbar logic to properly calculate stable extents.
- Removing old logic which assumed that views were the same size,
  especially now we can have variable dividers, etc.
- Simplifying old scroll position logic.
- Removing unnecessary prediction icon layout (same as normal icon)

Bug: 30023608
Change-Id: I39e1126fa586a76a9bdd3ff38cd6e360ac3021e6
2016-07-12 12:16:26 -07:00
TreeHugger Robot
7ed42af339 Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary 2016-07-12 16:12:50 +00:00
Bill Yi
be66d1d32d Import translations. DO NOT MERGE
Change-Id: I07f86a6dbb45fbc38e9f8617a23ae42f6a12db66
Auto-generated-cl: translation import
2016-07-12 00:00:19 -07:00