Commit Graph

3577 Commits

Author SHA1 Message Date
Sunny Goyal e7b8cd9e4f Improving restored widget behavior
> Clicking a broken widget install shows a dialog similar
to an app icon
> Clicking remove on the dialog removed all components
for the corresponding package
> Widget pending view shows 'Setup' text instead of icon,
if there is enough space

Change-Id: I82ec0a1ee9542c1e3b860e6e00798a80450dce3c
2014-08-27 14:07:05 -07:00
Sunny Goyal 424418bb50 Updating clings, removing ununsed clings
issue: 16127412

Change-Id: I1d18515765100ff10d33439b3ac39ebfc5da35c7
2014-08-25 11:38:02 -07:00
Sunny Goyal dec12adb6d Merge "Changing hotseat keyboard controls" into ub-now-porkchop 2014-08-25 18:25:13 +00:00
Adam Cohen 94afab4f77 Fix all apps transition for transposed tablet layouts
Change-Id: I33bf163bc74b3cf703cb88a5209d9a205d80dbfa
2014-08-24 16:12:45 -07:00
Adam Cohen c78f562a43 Merge "Update adjacent page hints" into ub-now-porkchop 2014-08-23 01:58:22 +00:00
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
Jason Monk 266a91db57 Merge "Change URI favorite resolving to use launch intents" into ub-now-porkchop 2014-08-21 18:45:02 +00:00
Sunny Goyal ffe83f1331 Adding support for managed profiles in widget
issue: 16892811

Change-Id: If8c81f2a5a3bc846b02a5d225c5a8f27b1382dab
2014-08-20 17:09:18 -07:00
Sunny Goyal b3726d90a5 Changing hotseat keyboard controls
> Left and right keys don not navigate to next/prev page
> Down arrow on apps apps last row, do not take the focus to the end
> Nagivation sounds when focus changes

issue: 16352221

Change-Id: I5982f22dc80c408673092f8fa8ca1b2fc6381635
2014-08-20 17:00:32 -07:00
Sunny Goyal 22308ce1b8 Merge "Updating the icon click feedback" into ub-now-porkchop 2014-08-20 20:15:45 +00:00
Jan-Willem Maarse 2111606845 Merge "Ignore generic motion events if custom content doesn't allow scrolling" into ub-now-porkchop 2014-08-20 18:43:12 +00:00
Jason Monk c3009c06d9 Change URI favorite resolving to use launch intents
Rather than dropping the user in the middle of the app wherever
our intent resolves to, add a shortcut to the launch intent of
the app that handles that intent.

Bug: 16459162
Change-Id: I58256cdc9dc1b3441815f60cc354b60f91fb1a16
2014-08-20 10:00:31 -04: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 508da15509 Updating the icon click feedback
> Using BubbleTextView everywhere, removed PagedIconView
> There is a brightness feedback on touch and shadow
feedback on click, until app launches

issue: 16878374
Change-Id: I3dc1149a123c8a75feca6210948398bf2187f1f2
2014-08-19 18:03:06 -07:00
Jan-Willem Maarse d3fbe683bb Ignore generic motion events if custom content doesn't allow scrolling
If the custom content screen is selected and it doesn't
allow scrolling, the workspace should ignore generic motion
events instead of trying to scroll to the next page.

Change-Id: Iee9c7e02bf7c78648b574a01c83dcb76c0b62855
2014-08-19 15:27:48 -07:00
Sunny Goyal 800a4f217a Fixing class name change in sdk
Change-Id: Id905f8742d39347cd66e5e79931e1dccdd406126
2014-08-18 14:11:28 -07: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
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
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 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
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 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
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
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
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