Commit Graph

8503 Commits

Author SHA1 Message Date
Adam Cohen 8cc0550715 Update adjacent page hints
-> draw the hints immediately above the workspace

Change-Id: Id09070e3876516daf9650132052ab61d02a2cf4d
2014-08-22 18:34:07 -07:00
Adam Cohen c50438c802 Unify next / prev page hints for drag and drop across devices
-> Eliminate the white bgs on tablets during drag (issue 15880213)
-> Add stateful (active and rest) next / prev page hints (issue 15937059)
-> Fix recent regression which allowed overscroll in custom content area

Change-Id: I1198dc88ca8570cb9e1afd3ca939be06a8dea92e
2014-08-19 22:17:10 -07:00
Sunny Goyal f8177d383a Merge "Saving the system wallpaper thumbnail prefixed by the SDK_INT so that it is recreated after a system update." into ub-now-porkchop 2014-08-16 04:03:42 +00:00
Adam Cohen 178879c72d Merge "Updating folder open transition for Material" into ub-now-porkchop 2014-08-18 21:31:41 +00:00
Adam Cohen c4fe9ea11e Updating folder open transition for Material
Change-Id: I2babf24a923711adc3f4f70ad3e48140a0d99a76
2014-08-19 11:26:20 -07:00
Sunny Goyal 800a4f217a Fixing class name change in sdk
Change-Id: Id905f8742d39347cd66e5e79931e1dccdd406126
2014-08-18 14:11:28 -07:00
Adam Cohen 1e4359c54e Adding dampened snap back overscroll to Workspace and AppsCustomizePagedView
issue 15475254

Change-Id: I5eb9fc480167faf4be16bd17bf18e2d103f40f47
2014-08-18 13:45:36 -07:00
Sunny Goyal 4a0eda76ba Merge "Updating the UI for focused state of an icon/folder." into ub-now-porkchop 2014-08-16 03:52:42 +00:00
Sunny Goyal dcbcc86353 Updating the UI for focused state of an icon/folder.
issue: 16352129

Change-Id: If2e154dba06a0648f933f9aea38898642db9fd85
2014-08-18 13:51:51 -07:00
Sunny Goyal ac11d41686 Merge "Updating virtual preloader assets" into ub-now-porkchop 2014-08-16 03:52:42 +00:00
Sunny Goyal 6e89070a42 Updating virtual preloader assets
Change-Id: I05599133f534e9aa19e8d014edab5ecd6a55fd3a
2014-08-15 16:33:55 -07:00
Adam Cohen b8d9e90918 Merge "Get rid of pages overhang in AppsCustomizePagedView" into ub-now-porkchop 2014-08-15 04:58:06 +00:00
Baligh Uddin 916421cadc Merge "Import translations. DO NOT MERGE" into ub-now-porkchop 2014-08-15 04:32:23 +00:00
Adam Cohen 1d3d4f1a82 Get rid of pages overhang in AppsCustomizePagedView
Change-Id: I7543af84a6a52b79b7d6f369bb3139fc4024f074
2014-08-14 19:15:30 -07:00
Adam Cohen a00673c7d9 Fix issues with the new widget layout
-> use first layout instead of first measure to determine size
-> fix issue where we were doubly accounting for padding of
   AppsCustomizePagedView
-> show page backgrounds by default, hide fake page by default
-> stripping some dead code related to the market button
   and all apps cling

Change-Id: I787bdf1092c821b780670098fb219a8a68914bc8
2014-08-14 13:15:32 -07:00
Adam Cohen 63f1ec00fb Further refinement of all apps / widgets transition
Change-Id: Id107a9aff74f014c07f8cbea6e74951a02dbddab
2014-08-13 21:39:48 +00:00
Sunny Goyal 0af0d8422b Saving the system wallpaper thumbnail prefixed by the SDK_INT
so that it is recreated after a system update.

issue: 15670065

Change-Id: I237ef1d99676d5a0ac6ff7b4a80a7a72905ef1ed
2014-08-13 12:16:59 -07:00
Sunny Goyal 0fc1be164e Updating the ui for widget restore flow
> Pending widget show a PreloadIconDrawable to indicate
installation progress
> Only the concerned widgets are reinflated on package
install and not the whole workspace.
> Adding support for storing default package icon in
IconCache

issue: 10779035
issue: 16737660

Change-Id: Id787ae4a5ef72d6e01aeb5a1bae5ab8840037679
2014-08-12 16:00:03 -07:00
Sunny Goyal 0fe505bf82 Autoinstalls loading xml
> Launcher checkes for an apk in the system image with a broadcast
receiver for action:
com.android.launcher3.action.LAUNCHER_CUSTOMIZATION
> Default layout is parsed from that apk, which can also contain
icons and string resources used in the layout config

Change-Id: I44fc9e7c3134f525f7b5db29f4e8bb56e17ce445
2014-08-12 14:13:18 -07:00
Baligh Uddin a5ebcd63d7 Import translations. DO NOT MERGE
Change-Id: Ia254c4a2ef3db8f2bc3b237969d595891c8e5f27
Auto-generated-cl: translation import
2014-08-11 22:15:32 -07:00
Sunny Goyal e3a55a9f42 Merge "Updating the virtual preloader UX." into ub-now-porkchop 2014-08-11 17:59:47 +00:00
Sunny Goyal 95abbb330c Updating the virtual preloader UX.
> No click feedback when in preloader mode
> No preloader UI when drawn in drag layer
> The preloader consists of a background 9 patch image and a circular progress
is drawn in the content region of the background.
> The preloader is drawn in a slightly larget area than the actual bounds to
make the circular progress more prominent compared to the icon.

issue: 15835307
Change-Id: Ifec3d93ecf1fac994d1128b517da3797247e7ed6
2014-08-11 12:32:04 -07:00
Sameer Padala 056cf62bbb Merge "Update code so it compiles on google3" into ub-now-porkchop 2014-08-11 18:26:04 +00:00
Adam Cohen 6551b7ef07 Merge "Updating the widget tray" into ub-now-porkchop 2014-08-09 00:40:15 +00:00
Adam Cohen 4e243a2dad Updating the widget tray
-> adding dark panel / associated visual updates
-> cleaning up the sizing / padding / to match all apps
-> fixing a couple things from previous CL
-> (removed Context#getDrawable() calls, L-only)

Change-Id: Ia65a6eb704b35f74e7305be9334c27971b22235a
2014-08-11 15:40:37 +00:00
Adam Cohen 9bfdb76aaf Polishing the AllApps transition
-> separating HW layers during animation to be siblings
   instead of parent-child (was destroying parent layer
   on each frame)
-> Unifying material transition with pre-L, everything
   is the same, just missing the reveal.

Change-Id: I8f7d5e658c2d9298bea83ce8199cb35e6fc0d44e
2014-08-10 18:29:36 -07:00
Sameer Padala 65c6011d09 Update code so it compiles on google3
Change-Id: I76c6a5264585c8ad4ded22501d2e2ee1672308c3
2014-08-08 17:34:57 -07:00
Mark Brophy 5337aea153 Merge "Revert "Updating the widget tray"" into ub-now-porkchop 2014-08-08 18:15:47 +00:00
Mark Brophy fd0f02ce42 Revert "Updating the widget tray"
This reverts commit b172c13dcc.

Change-Id: I375fb105e3cf6fa2c1548306cf6a109d612077de
2014-08-11 12:37:00 +00:00
Adam Cohen b172c13dcc Updating the widget tray
-> adding dark panel / associated visual updates
-> cleaning up the sizing / padding / to match all apps
-> fixing a couple things from previous CL

Change-Id: I4f663af7022337d687124ef25a22bac03d9d6af9
2014-08-10 19:10:21 -07:00
Sunny Goyal d3ad9828d1 Merge "Adding support to restore widgets even for jelly beans." into ub-now-porkchop 2014-08-10 19:43:29 +00:00
Adam Cohen 77c1376c67 Merge "Updating the widget tray" into ub-now-porkchop 2014-08-09 00:40:15 +00:00
Adam Cohen 1c4547bd5f Merge "Polishing the AllApps transition" into ub-now-porkchop 2014-08-09 00:45:27 +00:00
Mark Brophy fd449c8831 Make GEL not crashloop.
Being able to actually use the phone is a good feature.

Change-Id: I345258374dda81a852544d8ed0045e57195f88d3
2014-08-09 19:32:52 +01:00
Sunny Goyal ff57227711 Adding support to restore widgets even for jelly beans.
> Show 'widget-not-ready' until the widget app is installed
> Once the app is installed, bind a new widget id (not required on L if
  id-remap was received).
  **Remove the widget if bind failed
> If the widget has no configuration screen, show the widget, otherwise
  show 'setup-widget'.
> Clicking 'setup-widget' shows the config screen, and updates the
  widget on RESULT_OK.

issue: 10779035

Change-Id: I2f8b06d09dd6acbc498cdd93edc59c26e5ce17af
2014-08-08 14:29:02 -07:00
Dharmesh Mokani 6075170b83 Changes corresponding to framework changes.
Following method has been removed.
UserManager.getBadgedDrawableForUser(Drawable, UserHandle)

This will only work on builds after lrw38

Change-Id: I777a630dd123a9cf8d92cd096e150e90035b3531
2014-08-08 10:24:18 -07:00
Adam Cohen 36f82a32a6 Merge "Fix screen issues with externally added items" into ub-now-porkchop 2014-08-07 17:50:16 +00:00
Adam Cohen 7ec3bbff8b Fix screen issues with externally added items
-> Ensure that when an item is added to the db from an external
   source that the screen id exists.
-> If the screen id does not exist, add that id as the largest rank

Change-Id: I98d68900c428d80666dab1909418c6d9b0f52e10
(cherry picked from commit 484526620012f88bcd9d5656a71d4218a9acd090)
2014-08-08 04:31:47 +00:00
Adam Cohen fe9da818cd Fix for issue 16736964
Change-Id: If150db98346fe10f62fc1160309b66d7a19e9022
2014-08-08 03:55:01 +00:00
Adam Cohen a66233aeb1 Merge "Add partner customization option to force first run flow" into ub-now-porkchop 2014-08-07 15:00:45 +00:00
Adam Cohen f24c61295d Add partner customization option to force first run flow
Change-Id: Id50587cbb95e375b3847597f12bd8566c70dd7bc
(cherry picked from commit 923e1de9f0d7672dd18947ecde2b0da8c5768b7a)
2014-08-08 04:31:24 +00:00
Adam Cohen a388a14634 Make com.android.launcher3.action.FIRST_LOAD_COMPLETE protectable on both sides
Change-Id: I7ed482e3f6a85c9d58bfcc999b90e0ecda8db217
(cherry picked from commit b531b6d4965576d36547152f7858ec2ac389f6eb)
2014-08-08 04:30:13 +00:00
Kenny Guy f07af7b77d Launch app details for correct profile.
Support showing app details for apps in other
profiles.

Bug: 16371359

Change-Id: I1cabcd9f74f2a6ea6c4202a7d58af3ff3b458fd2
2014-08-04 14:38:09 +01:00
Sunny Goyal e755d469d4 Implementing a package install progress listener for L
issue: 15835307

Change-Id: I71aaea087963f2e0e1206447190cbe23c174057d
2014-08-01 14:45:39 -07:00
Adam Cohen c5b6ac7215 am 2d7e7eda: Fix resource issue in folders of partner layouts
* commit '2d7e7eda680d481af2eb9ff85182eb89b5395d4c':
  Fix resource issue in folders of partner layouts
2014-07-31 05:43:45 +00:00
Sameer Padala 513edaebce Modify code so it compiles on google3
The diamond operator isn't supported on google3 Android projects.

Change-Id: Ie7298b051330bb2cd32426d4c537882faa2f8ebd
2014-07-29 16:17:08 -07:00
Adam Cohen 2d7e7eda68 Fix resource issue in folders of partner layouts
-> Resources in folders were not being loaded with the partner
   apk resources. This caused any number of weird things to appear
   in folders of partner default layouts

Change-Id: I7d373e53028c5c327980c15d004993af997de553
(cherry picked from commit 43f3ca0f8c)
2014-07-25 20:47:03 +00:00
Sunny Goyal 04c969ef9f Merge "Fixing spell correcton" into ub-now-master 2014-07-24 15:37:54 +00:00
Sunny Goyal 05e318d8f7 Fixing spell correcton
Change-Id: I29d980d8073680fafa8fcc01bc2ec81258919da2
2014-07-29 11:49:35 -07:00
Adam Cohen 4da294de83 Remove 300 ms start delay from app launch transition
-> tiny cleanup from isLmp crunch

issue 16309411

Change-Id: Ib2edff84b53ca471e7d2a2a458091db1fa2f6b42
2014-07-28 15:07:18 -07:00