Commit Graph

10 Commits

Author SHA1 Message Date
Peter Schiller
1d62b8a7fc Adding shadow to fast scroll indicator
Bug: 29761848
Change-Id: I9db7e73fb6b8c703be21a6c3f9e2a50253a48ec7
2016-06-29 12:07:55 -07:00
Sunny Goyal
6c651132fb Chaning shadow algorithm to reuse bitmap instead of creating
a new bitmap on every tap

Bug: 27239742
Change-Id: I8e4259b79b1048e5fa82e7a1c8934ec7c52995be
2016-02-26 09:15:06 -08:00
Sunny Goyal
bf1a98f596 Adding size check when generating holographic outline
Bug: 24426913
Change-Id: Ic7c9c767ea60ae4b25e064127105d94104233596
2015-09-28 11:34:23 -07:00
Sunny Goyal
5537faaf9f Adding null check to outline generator
Change-Id: I8eb8b62a868d80fd0a7c9deec8915828bd8177d0
2015-05-19 17:35:07 -07:00
Sunny Goyal
4fe5a37dda Optimizing shadow generation by reusing bitmap.
> Not creating unnecessary bitmaps
> Final bitmap is generated as ALPHA_8 instead of ARGB_8888
> The shadow drawing is done directly in the view

Change-Id: I504fa2ea3abdc1a3c3fb9ad57d6e28880d2584a1
2015-05-15 14:10:20 -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
Daniel Sandler
e4f9891f01 Lazily instantiate LauncherAppState.
The application context for LauncherAppState is supplied by
the application whenever it starts; don't ask for an
instance before that.

Change-Id: I1ca8ea04238a357a682f79250f08813ead7ae532
2013-06-27 15:17:11 -04:00
Daniel Sandler
e572fe46f7 Make HolographicOutlineHelper a singleton.
It's a pretty heavy object, including three Paints at 74
bytes apiece, and we allocate one for every workspace and
every icon. We really only need one.

Change-Id: Ic9e12d478c3be27b13133718875c91540f7ccf4c
2013-06-12 22:46:02 -04:00
Daniel Sandler
cc8befac35 Move LauncherApplication's state and code to LauncherAppState.
This removes Launcher's static data and other state out of
the Application object. Now LauncherApplication (extends
Application) exists only to instantiate LauncherAppState.

Change-Id: I4e323bd78b77536b92054105536a55c0c2c19ba8
2013-06-11 22:01:47 -04: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