Commit Graph

14490 Commits

Author SHA1 Message Date
TreeHugger Robot 2d8f6f0050 Merge "Fixing preview for newly created folder not getting clipped properly." into ub-launcher3-dorval-polish 2017-07-05 20:16:22 +00:00
Hyunyoung Song b8ae2dd2af Default icon should match platform one even on N and below devices.
Bug: 63083094

Change-Id: Ie08ccaf63a49fa766f0d51d840d7763fc4bf2a5a
2017-07-05 13:10:17 -07: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
Tony Wickham 4d59e4a520 Merge "Don't enter overscroll when dragging fast scrollbar." into ub-launcher3-dorval-polish
am: 35005ef213

Change-Id: Ia48ce4ac048e9d40dab594428fd00b86e0782a2b
2017-07-05 17:57:50 +00:00
Tony Wickham 35005ef213 Merge "Don't enter overscroll when dragging fast scrollbar." into ub-launcher3-dorval-polish 2017-07-05 17:49:57 +00:00
Mario Bertschler aba7299da6 Merge "Settings: only replace content with new fragment if it has no saved instance state." into ub-launcher3-dorval-polish
am: c3f7664475

Change-Id: Ie802edcfc44df01fd8bfbf36fbfb913544285bb0
2017-07-05 17:38:18 +00:00
Tony 200352ca4e Don't enter overscroll when dragging fast scrollbar.
Bug: 63298293
Change-Id: Id3a6551df265c5a92ce5da6509fdac60fb44fcb7
2017-07-05 10:36:33 -07:00
Mario Bertschler c3f7664475 Merge "Settings: only replace content with new fragment if it has no saved instance state." into ub-launcher3-dorval-polish 2017-07-05 17:28:53 +00:00
Rajeev Kumar c7adc8275a Merge "Close cursor after use in RestoreDbTaskTest." into ub-launcher3-dorval-polish
am: 67058f2009

Change-Id: I6a2c7845bf0d79ce593485d2ce1b21d470ec6d4e
2017-07-05 16:28:45 +00:00
Rajeev Kumar 67058f2009 Merge "Close cursor after use in RestoreDbTaskTest." into ub-launcher3-dorval-polish 2017-07-05 16:23:15 +00:00
Sunny Goyal 5247f5b05a Fixing preview for newly created folder not getting clipped properly.
When a new folder was created, isClipping was set to false so that the stroke is
drawn behind the previewItems, but it was never reset to true.

Bug: 37654209
Change-Id: I03e94008dd19d8c5a0acb61207ebac33860fdf1d
2017-07-04 14:23:41 -07:00
Sunny Goyal f978bf06c8 Merge "Fixing clip mask not getting initialized properly." into ub-launcher3-dorval-polish
am: 2348796e36

Change-Id: If8a8c8895a9e0170355d98fae044b986d42d62ac
2017-07-04 20:38:13 +00:00
Sunny Goyal 2348796e36 Merge "Fixing clip mask not getting initialized properly." into ub-launcher3-dorval-polish 2017-07-04 20:32:56 +00:00
Sunny Goyal bc1d0774aa Fixing clip mask not getting initialized properly.
Before initializing the clip mask, we were calling iconNormalization on
the adaptive icon which was changing the bounds of the drawable (only for
the first call). Instead setting the bounds of the drawable after icon
normalization.

Bug: 63010770
Change-Id: I028d1e38a0d8c4001286d343e107637cf307c4a4
2017-07-04 12:51:02 -07:00
Tony Wickham a6b45073c4 Merge "Ensure mCurrentPage is valid after page is removed" into ub-launcher3-dorval-polish
am: 94e9d53728

Change-Id: I63696e5843f0f49f48c84659d5b8f37a171e63f2
2017-07-04 18:45:37 +00:00
Tony Wickham 94e9d53728 Merge "Ensure mCurrentPage is valid after page is removed" into ub-launcher3-dorval-polish 2017-07-04 18:42:23 +00:00
Tony a361c7204f Ensure mCurrentPage is valid after page is removed
Specific case this addresses: removing work profile
- Removing work profile causes workspace to be rebound
- This means pages are removed and re-added
- As icons are added back to the pages, they use the
  context of the current page to ensure theming is
  correct (see ag/1919636)
- Without this change, the current page could be null,
  causing a crash. Now we make sure the index is valid.

Bug: 62699220
Change-Id: I0aa1d0c2c6150c51dacb2eb860e4dacd183b3505
2017-07-04 09:43:06 -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
Tony Wickham 7ea21bbaee Merge "Use last saved icon if pinned shortcut is unpublished" into ub-launcher3-dorval-polish
am: f593fb916e

Change-Id: I59b633b08aa41d8e59cf45fdb0a7204a6932603d
2017-07-03 16:06:13 +00:00
Tony Wickham f593fb916e Merge "Use last saved icon if pinned shortcut is unpublished" into ub-launcher3-dorval-polish 2017-07-03 16:02:07 +00:00
Bill Yi de05db816c Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval-polish
am: 1fb300e272  -s ours

Change-Id: I43042aee6bf5afbf0cdc30d090f388483b27eaa9
2017-07-01 14:14:03 +00:00
Bill Yi 666a8246f4 Import translations. DO NOT MERGE am: 0256289bf6 -s ours
am: 1e7a412ee3  -s ours

Change-Id: I6e7fa59ae61c7688a88ebdbc3d430042a96e969b
2017-07-01 14:13:52 +00:00
TreeHugger Robot 1fb300e272 Merge "Import translations. DO NOT MERGE" into ub-launcher3-dorval-polish 2017-07-01 14:10:10 +00:00
TreeHugger Robot 98f8178311 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2017-07-01 14:09:44 +00:00
Bill Yi 1e7a412ee3 Import translations. DO NOT MERGE
am: 0256289bf6  -s ours

Change-Id: I16a31eb9135752d2db6a1b4b560d76efdc0f9ae8
2017-07-01 14:08:52 +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
Bill Yi fc93cb847c Import translations. DO NOT MERGE skipped: 0256289bf6
Change-Id: I6c38190a5b6e00b501ef3b02a85ce81780794c7b
2017-07-01 09:56:12 +00:00
Bill Yi 0256289bf6 Import translations. DO NOT MERGE
Change-Id: Ibe7b75dd7780b72b124a8c710de28d6d7443d131
Auto-generated-cl: translation import
2017-07-01 02:55:57 -07:00
Mario Bertschler 2de2d6781b Settings: only replace content with new fragment if it has no saved
instance state.

Bug: 63141698
Change-Id: Ifdaca42224199cfd8fdd2fc01c3760faecf35e2d
2017-06-30 18:51:46 -07:00
Hyunyoung Song e18a7cf243 Merge "Add user event logging for page rearrangement and LEFT/RIGHT swipes 1. Call logOverviewRearrange logging call ONLY when the order actually changed 2. Call logActionOnContainer when containers are swiped. Bug: 32457561 Bug: 32457561" into ub-launcher3-dorval-polish
am: ac648a9249

Change-Id: Ie8f33910994d17ffdcd73eb9aaf1357e0eec1777
2017-06-30 21:23:25 +00:00
TreeHugger Robot ac648a9249 Merge "Add user event logging for page rearrangement and LEFT/RIGHT swipes 1. Call logOverviewRearrange logging call ONLY when the order actually changed 2. Call logActionOnContainer when containers are swiped. Bug: 32457561 Bug: 32457561" into ub-launcher3-dorval-polish 2017-06-30 21:18:10 +00:00
Hyunyoung Song 3f5a11f3a5 Add user event logging for page rearrangement and LEFT/RIGHT swipes
1. Call logOverviewRearrange logging call ONLY when the order actually changed
2. Call logActionOnContainer when containers are swiped.
Bug: 32457561
Bug: 32457561

06-30 11:23:04.082  6585  6585 D UserEvent: action:SWIPE direction=LEFT
06-30 11:23:04.082  6585  6585 D UserEvent:  Source child:WORKSPACE id=2
06-30 11:23:04.082  6585  6585 D UserEvent:  Elapsed container 50436 ms session 50436 ms action 0 ms
06-30 11:23:04.082  6585  6585 D UserEvent:  isInLandscapeMode false
06-30 11:23:04.082  6585  6585 D UserEvent:  isInMultiWindowMode false

06-30 11:23:08.266  6585  6585 D UserEvent: action:SWIPE direction=LEFT
06-30 11:23:08.266  6585  6585 D UserEvent:  Source child:WORKSPACE id=1
06-30 11:23:08.266  6585  6585 D UserEvent:  Elapsed container 54620 ms session 54620 ms action 0 ms
06-30 11:23:08.266  6585  6585 D UserEvent:  isInLandscapeMode false
06-30 11:23:08.266  6585  6585 D UserEvent:  isInMultiWindowMode false

06-30 11:23:10.742  6585  6585 D UserEvent: action:SWIPE direction=LEFT
06-30 11:23:10.742  6585  6585 D UserEvent:  Source child:WORKSPACE id=0
06-30 11:23:10.742  6585  6585 D UserEvent:  Elapsed container 57096 ms session 57096 ms action 0 ms
06-30 11:23:10.742  6585  6585 D UserEvent:  isInLandscapeMode false
06-30 11:23:10.742  6585  6585 D UserEvent:  isInMultiWindowMode false

06-30 11:23:17.286  6585  6585 D UserEvent: action:SWIPE direction=RIGHT
06-30 11:23:17.286  6585  6585 D UserEvent:  Source child:WORKSPACE id=-1
06-30 11:23:17.286  6585  6585 D UserEvent:  Elapsed container 63639 ms session 63639 ms action 0 ms
06-30 11:23:17.286  6585  6585 D UserEvent:  isInLandscapeMode false
06-30 11:23:17.286  6585  6585 D UserEvent:  isInMultiWindowMode false
06-30 11:23:19.879  6585  6585 D UserEvent: action:SWIPE direction=RIGHT
06-30 11:23:19.879  6585  6585 D UserEvent:  Source child:WORKSPACE id=0
06-30 11:23:19.879  6585  6585 D UserEvent:  Elapsed container 66233 ms session 66233 ms action 0 ms
06-30 11:23:19.879  6585  6585 D UserEvent:  isInLandscapeMode false
06-30 11:23:19.879  6585  6585 D UserEvent:  isInMultiWindowMode false

06-30 11:23:23.811  6585  6585 D UserEvent: action:SWIPE direction=RIGHT
06-30 11:23:23.811  6585  6585 D UserEvent:  Source child:WORKSPACE id=1
06-30 11:23:23.811  6585  6585 D UserEvent:  Elapsed container 70165 ms session 70165 ms action 0 ms
06-30 11:23:23.811  6585  6585 D UserEvent:  isInLandscapeMode false
06-30 11:23:23.811  6585  6585 D UserEvent:  isInMultiWindowMode false


Change-Id: I11a48ee44aaa87863e76ccf2b46f499c28e96748
2017-06-30 13:59:38 -07:00
Hyunyoung Song 037c086ba2 Replace launcher3 default icon to match with the platform one. Bug: 63083094
am: 4d16982d42

Change-Id: I5d73291fb02b05f777401cd7debc66150aa5b51c
2017-06-30 20:58:22 +00:00
Hyunyoung Song 4d16982d42 Replace launcher3 default icon to match with the platform one.
Bug: 63083094

Change-Id: Ic77d443ee563959c2569263e2d9de7452fa8d26d
2017-06-30 11:46:42 -07:00
Tony Wickham 5fe66e3eef Use last saved icon if pinned shortcut is unpublished
Bug: 62814533
Change-Id: I683bd6abdf17defc55c0f17d8688951d4841c066
2017-06-29 18:49:22 -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
Hyunyoung Song e7ef5a0fc6 Merge "Revert "Salt the package hash code using the device serial Bug: 62676166"" into ub-launcher3-dorval-polish
am: 393dcd914b

Change-Id: I72ce4817b3a079631a039ce544aff8221124b3a8
2017-06-29 22:17:30 +00:00
Hyunyoung Song 393dcd914b Merge "Revert "Salt the package hash code using the device serial Bug: 62676166"" into ub-launcher3-dorval-polish 2017-06-29 22:10:06 +00:00
Hyunyoung Song ef6746bc65 Revert "Salt the package hash code using the device serial Bug: 62676166"
This reverts commit e8ca28179b.

Change-Id: I9fd51321d671d5ff90c7bfaddc05fc6ba11018e3
2017-06-29 22:09:16 +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
Hyunyoung Song abb71b1920 Merge "Salt the package hash code using the device serial Bug: 62676166" into ub-launcher3-dorval-polish
am: 6f7f4bb97e

Change-Id: If62bc555e4ae607977b40c1c1d22d62b53455e97
2017-06-29 20:32:55 +00:00
TreeHugger Robot 6f7f4bb97e Merge "Salt the package hash code using the device serial Bug: 62676166" into ub-launcher3-dorval-polish 2017-06-29 20:24:18 +00:00
Hyunyoung Song e8ca28179b Salt the package hash code using the device serial
Bug: 62676166

Change-Id: Id723cc3f283bc05b01185abef9084d6dbd75fbbc
2017-06-29 13:16:52 -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
Jon Miranda e5ecc557ef Merge "Update existing Folder items' ranks to match their pre-permutation layouts." into ub-launcher3-dorval-polish
am: cbfdbeaea3

Change-Id: I2e85e3a20e133f8990c08561fd9c2e0c4330467e
2017-06-29 16:15:20 +00:00
Jon Miranda 7cfd8fb6b4 Merge "Polish for all apps physics." into ub-launcher3-dorval-polish
am: fca68a383e

Change-Id: I1f228e283d62c44178c69d495d571bfc4a686d4a
2017-06-29 16:15:08 +00:00