Commit Graph

27 Commits

Author SHA1 Message Date
Patrick Dubroy
d69e11384c Fix 4093841: Launcher crash after downloading app & hitting back
The last change to fix the "blue glow gone wild" re-introduced a NPE
caused by setting the pressed state of a BubbleTextView which has
been detached.

Change-Id: I726bace77dd04b6ac8f3e170dd9e1df00a183384
2011-03-15 10:29:01 -07:00
Patrick Dubroy
3499d8c89d Fix 4081795: Blue glow gone wild. DO NOT MERGE
Change-Id: I9038ed322811987e69045602f438cdf2bbd946e9
2011-03-14 14:50:01 -07:00
Patrick Dubroy
a017c0379c Fix 3306005: NPE at android.widget.TextView.getExtendedPaddingTop()
Problem occurs when we call getExtendedPaddingTop() before the View
has been layed out. Fix is to not create the glowing outline until
we are actually drawing the BubbleTextView.

Change-Id: Icef7bbe69b07bf12c36c59a8b57aec5d455d5a99
2011-03-09 16:01:32 -08:00
Patrick Dubroy
cd953711fc Fix 3385675: Uninstall option available for system app
- when a system app is selected in all apps, don't show uninstall button
- if it's an updated system app, show "Uninstall update"
- Also, remove unused code for non-existent flag for games

Change-Id: I46753ee8d213b2ba1613b71ac1fe73d79786129c
2011-02-28 15:49:59 -08:00
Michael Jurka
b02972c592 Fix NPE in BubbleTextView 2011-02-23 16:21:57 -08:00
Michael Jurka
ddd62e9f3d Improve feedback when launching apps
- Keep "pressed" state until the activity is launched
- Properly invalidate icons, which solves issue where the edge of "pressed" blue glow was still being rendered
2011-02-16 17:49:32 -08:00
Winson Chung
0969300eb2 Fixing issue where drag icons/holographic bg included the text labels.
Change-Id: I0be61ca6de45a75a21bde7ab9471ee48e31712fc
2011-02-03 23:57:58 -08:00
Michael Jurka
e7e3f6c438 stop invalidating our hardware layers
- avoid calling TextView's setShadowLayer since that calls invalidate; instead, just modify the paint
2011-02-01 21:09:32 -08:00
Michael Jurka
bdb5c5342a Turning on hardware layers for the workspace
- Obsoletes need for CachedViewGroup and CachedTextView on workspace as well

Bug #3413433
2011-02-01 15:35:32 -08:00
Michael Jurka
002bd928bf renaming CacheableTextView -> CachedTextView 2011-01-14 15:50:07 -08:00
Michael Jurka
c9c548eb10 Potential fix for garbled text in All Apps
- now redrawing the cache for CacheableTextView every time setText is called
2011-01-12 13:49:37 -08:00
Michael Jurka
99b6a5b5f7 Fixed bug: newly added apps didn't show up immediately
Now, whenever apps change visibility or are removed, we invalidate the bitmap cache for CellLayout

Change-Id: I883ea6cc07b1b09775bb7d262417acb34fbec3de
2011-01-07 21:06:30 -08:00
Michael Jurka
137142e39b Fix clipping of blue glow around icons when they're clicked 2011-01-06 12:36:53 -08:00
Winson Chung
59e1f9a07e Adding fade when dragging items outside of the customization tray.
Change-Id: Ie8dad00bc0278053707f81d948528929e6bb6f5c
2010-12-21 16:04:02 -08:00
Michael Jurka
38b4f7c5ea holo look for pressed/focused workspace icons
Change-Id: Ia964c868afd200be3828e4397659391f857599e6
2010-12-15 21:18:17 -08:00
Winson Chung
8812703817 Various tweaks to launcher
- Removing hotdog for shadow bg protection
- Adding bg protection for customization tray
- Restoring holographic outlines for all apps
- Small bug fixes

Change-Id: I58d81bb490f78c76fcaf46122febc3c1aace854e
2010-12-14 15:32:02 -08:00
Winson Chung
07f2e81d77 Adding text layout null check.
Change-Id: I7661aa7405b22db2d2497b39022632d4ad6aa2bc
2010-12-04 18:12:47 -08:00
Winson Chung
c4ebd81971 Removing unnecessary workaround for padding on workspace icons.
Change-Id: I2ae6324e18db7b010c8d2ef5140e004da2f2b9f0
2010-12-02 11:08:11 -08:00
Winson Chung
656d11c882 Adding background protection to icons and apps button.
Change-Id: I650f9135c0ce5bc2a6f7c5f878d470d6a85e9f7e
2010-12-01 21:55:26 -08:00
Michael Jurka
67b2f6cba5 Caching icon labels to bitmaps for better performance
Change-Id: I78a3c116c1103b5b994a47f2cfcff18c0a9b31b8
2010-12-01 16:01:02 -08:00
Winson Chung
e22a8e9d3e Minor fixes to Launcher
- Adding checks to prevent multiple onSetAlpha's to be called (especially now that we are using display lists)
- Removing an old change to keep artificially make the last page wider
- Fixing issue where you could click on an item in the paged view while the page it was on is being faded out

Change-Id: I9b194565602b5200c0688da2caec9c3c829b3bb0
2010-11-15 13:44:42 -08:00
Winson Chung
affd7b4d23 Fixing alpha issue on AllApps.
Change-Id: Ifbd81b3e8009cff963bb03bd953e498f8677cc38
2010-08-20 15:17:26 -07:00
Romain Guy
edcce099c9 Fix the build! 2010-03-04 13:03:17 -08:00
Joe Onorato
9c1289cb3b Redo the launcher loading code and put the real app icons into rollo. 2009-08-24 14:58:44 -04:00
Joe Onorato
bf15cb44cc clean up rollo / launcher2 2009-08-07 14:33:40 -07:00
Joe Onorato
a5902524d4 Launcher2 compiles. 2009-07-30 13:37:37 -07:00
Joe Onorato
fca7c88f9d Move com/android/launcher -> com/android/launcher2 2009-07-30 10:15:07 -07:00