Commit Graph

118 Commits

Author SHA1 Message Date
Sunny Goyal
360bc25ab6 Using RGB_565 for low-res icons
> Using a non-transparent image with flat background for low-res icons
> Changing the scale factor from 8 to 5
> The overall size change is 1/50 instead of 1/64

Bug: 22204941
Change-Id: I6cda4b4b3450c23a7bb8218ebd2de2b09af9c414
2015-07-01 12:00:07 -07:00
Winson Chung
b1777447d9 Refactoring fast scroller.
- Fixing issue with fast scroller not fitting name width.
- Refactoring fast scrolling/scroll bar code out of base recycler view
- Adding animations to fast scroller to match design
- Smooth scrolling when jumping between app rows
- Fixing issue with fast scroller jumping when you first pick it up
- Fixing issue with wrong background paddings being used

Bug: 21874346
Bug: 22031923
Change-Id: I9f011b1f375751f437604b900e95a2942d3f4601
2015-06-23 14:24:15 -07:00
Winson Chung
ef7f874a88 Refactoring all apps search to support external search bar.
- Adding support for an external search bar that can be used
  to search a container view.  This adds a new interface
  AllAppsSearchController which manages the external search
  bar.  Each controller will have its own search implementation
  which means that we no longer need a common AppSearchManager
  interface.
- Removing elevation controller as we no longer have a builtin
  search bar in all apps
- Refactoring container view insets so that they behave
  the same in all containers.
- Refactoring apps view to ensure that we only update the number
  of columns with the available width
- Cleaning up LauncherCallbacks interface

Bug: 20127840
Bug: 21494973

Change-Id: I710b8e18196961d77d8a29f0c345531d480936fe
2015-06-15 14:22:47 -07:00
Winson Chung
5f4e0fdd2e Moving all apps code into sub package.
- Renaming resources, dimens, etc to be more consistent
- Removing old AppsCustomize resources and other unused code

Change-Id: I15ce35e7cb7a9b9344fc7103963e4e4c9e45d89a
2015-05-22 12:21:40 -07:00
Sunny Goyal
2805e639cd Animating workspace active background change
> Removing workspace_overscroll_drawable_padding which is always 0

Change-Id: I89900738371458a6eb7cbfee215d98b267d6a0b0
2015-05-21 16:26:15 -07:00
Sunny Goyal
3a644ed1ce Using color filter when animating the drop target instead to TransitionDrawable
> No more flickering when crossfading between two bitmaps in small duration
> Allows us to control the color directly without depending on the assets

Change-Id: Ie7ed8bb94baf560e9b939cca624ed1bad457732c
2015-05-21 10:30:46 -07:00
Sunny Goyal
5a92b2356f Reodering some drawables
> quantum_panel_shape is xml rectangle with no margin
  > quantum_panel_bitmap is 9-patch drawable with inbuild shadow and margin
  > quantum_panel uses xml-shape for lollipop and 9-patch image for lower
    devices. It includes margin. For shadow, use elevation on lollipop
  > All drawables have _dark variant
  > Using #f5f5f5 for panel background, instead of #ffffff

Change-Id: Ia7c6cea6d514ee3774fcf5fef6139650bdd53208
2015-05-14 11:14:09 -07:00
Hyunyoung Song
1e62c1594a Unbreak the build. Remove extra xml version definition.
Change-Id: I42f1c21143bef6181828d1135deaaf153acbf984
2015-05-12 15:58:09 -07:00
Hyunyoung Song
5cd1d92f6c Fixing several layout issues.
- N7/N9 indented area should not block scroll view
- separator at the end of the widget cell should not show up on the last item.

Not covered in this CL:
- Guarantee that last item is showing only 20~40%. Right now, the
hand picked constant works for N5,6,7,9

b/20338324
b/20763871

Change-Id: I274ab95c6c3e2fc8be8ceafb2e8172c0174a41a5
2015-05-12 15:40:09 -07:00
Sunny Goyal
3a2698b308 Updating drop target assets
Change-Id: I33f7dc30b10a617ae4784f067491ab01b27b7733
2015-04-28 21:38:56 -07:00
Winson Chung
0f78572066 Initial changes to support a fixed all-apps layout.
- Dynamically update padding and background depending on fixed bounds and searchbar
- Fixes issue with drag layer bg getting clobbered when rotating launcher
- Tapping outside the bounds of all apps should close all apps
- Fixing typo causing widgets to not show in sw720dp devices

Bug: 20127840

Change-Id: I29c3f905bdee940f938ffe054f58434887073092
2015-04-09 13:18:31 -07:00
Winson Chung
f819dc2bc7 Making the scrollbar scrubbable.
- This change in behavior will remove the ability to scrub anywhere in the gutter to
  start fast-scrolling, but requires the user to touch near the scroll bar to start
  fast-scrolling.
- Also fixes issue with wonky scrollbar due to the fake section breaks

Change-Id: I34b08ac46ea93f7f4cad7ccde1048a388ee6a55d
2015-03-24 10:30:05 -07:00
Winson Chung
aa2ab254ea Tweaking the apps list fast scroller.
- Making the view span the full width so that you can grab the scroller on the edge of the screen.
- Offsetting the fast-scoll popup so that you can see it as you scrub.

Change-Id: If1b1934bbeac0660d829cfc29c9e588df927c5e5
2015-03-16 15:20:39 -07:00
Winson Chung
93f98eaf18 Adding app grid layout with fastscroller.
- Adding filtering and using alphabetic index for app grouping.

Change-Id: I745b644fa8f90f5ff24a8642ac377ef1c65d8aff
2015-03-12 18:57:02 -07:00
Winson Chung
b745afbdd7 Initial changes to break out AllApps into its own view.
- Moves launcher state-transition code into its own class
- Moves all-apps related code into a separate view/set of classes
- Implements a basic list view for all apps

Change-Id: I68f174aa9e1bf82c4e46ce9549c78a8dc4623f46
2015-03-10 18:14:22 -07:00
Sunny Goyal
c5771f1987 Removing all traces of Market button and TabIndicator
Change-Id: I9dc10d990321697723560986834ebeef3e0f1c0d
2014-10-17 01:56:17 +00:00
Sunny Goyal
424418bb50 Updating clings, removing ununsed clings
issue: 16127412

Change-Id: I1d18515765100ff10d33439b3ac39ebfc5da35c7
2014-08-25 11:38:02 -07: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
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
651077bdd6 Adding app widget restore support in Launcher3 for android L
When the app is restored, it displays placeholders for all pending widgets.
These placeholders can be moved and removed similar to a widget (size is fixed
to what defined in backup). Once the system notifies the launcher of the new
widget ids, the place holders are replaced with actual widgets.

issue: 10779035

Change-Id: I68cbe4da01e9ca2978cb4471a7c645d2aa592055
2014-07-21 10:34:21 -07:00
Adam Cohen
96bb79819e Enabling quantum look and feel everywhere
-> _l assets become default, new folder icon look is default
-> Starting to unify folder look / feel with all apps
-> New page indicators

Change-Id: I50b2c647fbcbe6ed27705527d8e16bd89e123d0b
2014-07-07 15:29:53 -07:00
Adam Cohen
71b0473f24 Add new assets for LMP preview
issue 15544569 c), d), e)

Change-Id: Ib352ef1fa7c19c3695c82f3ea31936a4b41da5aa
2014-06-11 10:50:41 -07:00
Michael Jurka
96749c1321 Revert "Revert "Move wallpaper picker code to a separate directory""
This reverts commit 39de459a86.
2013-12-11 15:41:28 +01:00
Michael Jurka
39de459a86 Revert "Move wallpaper picker code to a separate directory"
This reverts commit 8e88cb8478.
2013-12-10 23:47:28 +01:00
Michael Jurka
8e88cb8478 Move wallpaper picker code to a separate directory
Change-Id: Id79d11ed08085c4fe356739498a8b77952e30392
2013-12-10 18:28:50 +01:00
Winson Chung
f7e11e9080 Fixing RTL issues with Clings. (Bug 11008488)
Change-Id: I78f891eabab53d6ded18f7c843504219d71e2883
2013-10-10 17:18:53 -07:00
Adam Cohen
ed0c999ac3 Adding pressed state to overview mode buttons (issue 10926631)
Change-Id: I9d670d4770e56921310d34dc08657a6e753ec5ee
2013-09-26 16:28:48 -07:00
Winson Chung
af40f205d7 Initial changes to restore clings.
Change-Id: Ie23e6e9f39679e8d35955a4a7db804d03f8b4d3f
2013-09-20 17:22:05 -07:00
Michael Jurka
5664de2524 Update assets for pressed/focused/selected states
Also, add shadow below/above wallpaper strip

Bug: 10722070

Change-Id: I37c445bab90e103f414c95b62e101a73d060661f
2013-09-18 15:16:00 +02:00
Winson Chung
468a155600 Adding xxhdpi resource directories.
Change-Id: Iccbdcbfc98187fd3a862774c4b11105d5f5b6d24
2013-09-13 14:39:55 -07:00
Michael Jurka
d6dc6043ad Adding ability to delete previously saved wallpapers
- Also preserving temporarily picked wallpapers on
rotation

Change-Id: I35361e2a5619cd986bd8b66268ce9e94b9a0027e
2013-09-12 20:49:17 +02:00
Michael Jurka
c8f83f46b6 Oops, fix build breakage caused by missing files.
Also, remove preview images for wallpaper pickers.
2013-08-21 13:50:43 +02:00
Daniel Sandler
6241609bd6 Remove built-in wallpaper picker.
Note that we don't yet have a solution for the user's
initial wallpaper. Bother!

Bug: 9626042
Change-Id: I07ab09a3d10434e444dc27051034d387e692e469
2013-08-21 13:36:18 +02:00
Daniel Sandler
325dc23624 Launcher2 is now Launcher3.
Changes include
  - moving from com.android.launcher{,2} to
    com.android.launcher3
  - removing wallpapers
  - new temporary icon

Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b
2013-06-05 23:30:20 -04:00
Michael Jurka
6cfafb96c3 Fix a lot of easy lint issues
Change-Id: I80b43dae137cbbb912ec0fcc4e401de16a9b44a1
2012-02-24 12:53:08 -08:00
Winson Chung
e96e5cb768 Fixing a few landscape issues.
- Fixing issue where widgets/icon names from side pages show in landscape (Bug 5665226)
- Fixing issue where the workspace was rendering over the hotseat in landscape (Bug 5665226)
- Fixing regression where the market button had no press feedback

Change-Id: Idcd890fdddab2d463195c9b3000fe7a0ab357200
2011-11-28 16:24:54 -08:00
Winson Chung
3f4e142380 Minor fixes to Launcher
- Tweaking the AllApps tab padding
- Fixing issue where the cling punch out might be in the wrong location
- Removing unused dragging code related to drop/scroll area overlap
- Tweaking padding so that picking up an icon on the top row does not automatically hover over delete (Bug 5636264)
- Fixing issue where multiple bgs in AllApps tab bar line makes it look blurry (Bug 5523822)

Change-Id: I707397c231188a9feee8c0856374e0483cf37296
2011-11-18 10:13:04 -08:00
Adam Cohen
ebea84d1c9 Unifying overscroll btw phone and tablet
-> Using separate assets for removing and uninstalling

Change-Id: I183967c3ca482531ae28f71cd9053b673c6a8d03
2011-11-11 11:38:53 -08:00
Michael Jurka
bdf78559f2 Fix stuttering animation when you press home
Bug # 5533287

also removing some dead code/assets

Change-Id: I05e0a67d5b9003c76e1589a9dc54b7d17b755acf
2011-10-31 14:56:07 -07:00
Winson Chung
90576b5f09 Fixing some small issues.
- Adding All Apps pressed state (5375824)
- Ensuring the drop targets are single line (5375563)
- Adding some checks in kb focus logic to appease some frantic monkeys (4508638)
- Removing some unused assets

Change-Id: I46702ee25c638849c716f0d8428f68c2b06c1c2e
2011-09-27 18:46:06 -07:00
Winson Chung
7d7541e7b4 Updating Clings. (5057945, 5056643)
Change-Id: Ifb2d37e92495aeddf9d4b3277eb8d2a846f4aa99
2011-09-18 18:38:11 -07:00
Winson Chung
c3665faf45 DO NOT MERGE: Fixing regression where scroll position would be offset when rotated.
- Fixes the scrolling issue only in conjunction with framework measure fix
- Updating the wallpaper gallery item background

Change-Id: I156de59a3eadfdaa61018c0a74ad0614d76cde6d
2011-09-15 13:38:54 -07:00
Winson Chung
d90466bc77 Fixing build.
Change-Id: Ib76ed00be3b81231b782f83a3dd13c6dc40d6439
2011-09-14 12:13:37 -07:00
Winson Chung
82f5553a13 Cling ALL the things! (Workspace and AllApps)
Change-Id: Iee6b38dbb4f0b2fb85f854d70fd86db1e7b1d8f7
2011-08-22 21:26:06 -07:00
Winson Chung
f5f8cefb21 Launcher cleanup and fixes.
- Removing unused hotseat assets
- Adding xhdpi assets from designer repo
- Decoupling dock divider and scroll bar to fix landscape divider issue
- Fixing issue where dock portals were being clipped

Change-Id: If3894a9a265e0272111e852857f9cfbf994ec050
2011-07-25 12:06:43 -07:00
Michael Jurka
2688c9a059 Removing unused resources 2011-07-20 16:35:06 -07:00
Winson Chung
967289b6d5 Adding new assets.
Change-Id: I20c8ceae997290781923caf195f6f87e283b1b7f
2011-07-01 12:33:32 -07:00
Winson Chung
74608b5dfc Removing the old dot.dot.dot page indicators at the bottom.
Change-Id: Ia501329223c5e80634b1f9e3f13ceac378217491
2011-06-23 13:23:38 -07:00
Amith Yamasani
6be594922f A fullscreen wallpaper chooser for all screen sizes.
The wallpaper preview covers the whole screen,
with background protection for the gallery items and button.

Change-Id: Ice31c4fea6503d1a59b59d6fbffb5e4a28eb2143
2011-06-22 11:29:38 -07:00
Daniel Sandler
4e1cd23a51 Rocket Launcher!
This is an Android Dream, which is kind of like an
interactive screensaver implemented as an Activity.

The Rocket Launcher uses the Launcher's own icon cache to
show the user's installed apps in hyperspace. Tap the screen
to slow down to impulse power.  Then, tap an icon to launch.

(depends on I4559a95 for android.dreams in support lib)

Change-Id: Ie6ce34ec1c863667faeada4f39b225f3946e8633
2011-05-26 16:02:09 -04:00