Commit Graph

44 Commits

Author SHA1 Message Date
Adam Cohen
ae4f155e09 Fixing AllAppsCustomize Keyboard Accessibility / NPE (issue 5483485)
Change-Id: I841823e28bf419028afea2a57352c4ad45c7c4a0
2011-10-20 00:18:52 -07:00
Winson Chung
c3eecff904 Preventing multiple calls to loadLabel for the same info within a single load.
- Fixing mind boggling bug where we weren't even using the label cache earlier.

Change-Id: I605abf4d589ad02b2426d20adfe9cd1773cc84fd
2011-07-11 17:47:42 -07:00
Winson Chung
b44b52439d Loading previews and holographic icons in background thread using AsyncTasks.
- Adding back animation between tabs

Change-Id: I1a49bfca4f85f579e232861aa02d08fb25d0aafc
2011-06-23 11:26:17 -07:00
Winson Chung
0be025d64c Fixing long-press issue due to child hit-rect offset.
- Removing some unused code

Change-Id: I875e3b27372c4c507e4bbc2d36b16eba077e2121
2011-05-23 17:58:39 -07:00
Winson Chung
6a70e9fc3c Fixing issue where holographic icons could get out of sync in AllApps (when number of pages changes).
Change-Id: I1a63d4837c5b726a90229430f5fc698aa1db5550
2011-05-17 17:06:59 -07:00
Winson Chung
63257c110a Minor changes to help address some hiccups when panning, changing tabs and rotating in AppsCustomize.
- Also removing references to old all-apps 2d/3d

Change-Id: Ibe07ad8b4facc5c57b3c82ccf0b55260be61a31b
2011-05-06 16:25:37 -07:00
Winson Chung
563ed71d68 Merge "Cleaning up icon code." 2011-05-05 15:41:26 -07:00
Winson Chung
4dbea7920a Cleaning up icon code.
- Changing long-press on homescreen to bring up wallpaper picker.

Change-Id: I854b1b7dc5a102e95853732d6e9a4fa298144650
2011-05-05 15:22:05 -07:00
Michael Jurka
b9b8ce94ff Fix: restoring holo outlines in paged views on tablet
Change-Id: Ifb319731f76c8154e2dff5336641862b7427d836
2011-05-05 15:13:11 -07:00
Winson Chung
b46a2d130b Disabling certain effects (wallpaper transition, holographic icons in AllApps) if HW acceleration is not enabled.
Change-Id: I7926d5c3ba95c6d57999189677ff79f67b05434f
2011-04-25 15:18:24 -07:00
Winson Chung
785d2eb2b8 Initial changes to merged AllApps/Customize pane in the Phone UI.
Change-Id: Ifa1676736033fe617dd0cca965156c38fa452948
2011-04-22 12:53:59 -07:00
Winson Chung
97d85d23b0 Fixing focus issues in Launcher (keyboard support).
Change-Id: Ieafd713393daf5628f229a66441bd3ed293245da
2011-04-14 10:13:09 -07:00
Winson Chung
823c969f52 Fixing issue where the holographic icons sometimes don't update (ie. after uninstalling an app).
Change-Id: I593d557e3f019a1a68e47ac6310c6cc476c0e37e
2011-03-01 10:59:05 -08:00
Patrick Dubroy
5f44542560 Add missing animations when dragging from customize.
- Fix 3453751: Moon landing on canceled drag from customize
- Fix 3453595: Use home screen "consume" animation when dragging and dropping

Change-Id: Ia6a83c2d7a8f24c3ce02811547a35a7022d245f6
2011-02-18 20:03:59 -08:00
Michael Jurka
c0759f5090 Reducing memory impact of hardware layers in Launcher
- Disabling hardware layers in customize tray
- Destroying hardware layers for pages in All Apps that are not visible
- Re-adding CachedTextView for icons in customize tray (to regain some of the lost performance there)
2011-02-03 16:56:22 -08:00
Michael Jurka
742574b15b optimizing transitions in Launcher
Bug #3413510

Change-Id: I89896b40b73d781255f9c0263300e9c5716d4efc
2011-02-03 01:43:19 -08:00
Michael Jurka
8245a8685f Adding hardware layers to All Apps
- splitting up the "holo" outlines and the icons into separate views
- enabling hardware layers on each of the views
2011-02-02 22:51:29 -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
Winson Chung
0499834db3 Fixing issues with holographic outline cache in AllApps/Customize.
- Fixing issue where the outline cache was not properly used when changing orientations
- Making the outline cache static, and shared across both the AllApps/Customize (since they
  share an Apps view)
- Making sure that holographic outlines for items on only one page are not created, since
  the holographic outlines will never be shown in that case.
- No longer clearing outline cache as frequently

Change-Id: I291db3802260249d0470d2637d871958baa8ebff
2011-01-05 16:23:55 -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
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
cd4bc491c4 Changing AllApps checked visualization, fixing drag offset issue in AllApps/Customize.
- fixing previous change which clobbered pressed/focused state padding

Change-Id: I229d803322554e51bc9c1f15d3687b01b0f6679f
2010-12-09 19:02:07 -08:00
Winson Chung
3b823cd9e2 Temporarily disabling holographic outlines until we resolve the various memory issues.
Change-Id: If23375fbb7148d0c0572ecde96507de5bdb670ae
2010-12-06 15:25:49 -08:00
Adam Cohen
5bb50bdb13 Improving the look of holographic outlines
- The outlines are used in AllApps, Workspace and Customize

Change-Id: I1c3aba81df163c98a839498a3d421a8f03c51f06
2010-12-03 15:46:56 -08:00
Winson Chung
29d6fea296 Adding outlines to side pages for widgets and wallpaper pages in the customization tray.
Change-Id: Ib2ec5e630c1c861003d0e0b5672ed69ef25c0b47
2010-12-01 18:58:17 -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
c84001ec67 Fixing issue where holgoraphic icon backgrounds were not being drawn.
- Removing the workarounds that we had previously to get around this.

Change-Id: I4f2b2f827988a7d76d86406542f647701df81a2d
2010-11-09 12:29:41 -08:00
Michael Jurka
c9a961952d Using hdpi icons in Launcher
Known issue: Default activity icon is still showing up as small
2010-11-01 23:06:54 -07:00
Winson Chung
7da1025bd7 Layout and spacing changes for AllApps/Customization drawer
- Also fixing issue where preview images in the customization drawer were not being scaled down

Change-Id: I83d1abf019d591954204b87a437eac2ff916dd54
2010-11-01 16:10:49 -07:00
Winson Chung
0e41ae6433 Increasing icons for homescreen as well as as all-apps (temporarily until we get hi-res icons).
- Also fixing spacing in the portrait mode, and using the same styles for both AllApps and workspace icons.

Change-Id: I222dd5d53a39d6940a85f40b57912b69c926ffd0
2010-10-27 20:26:37 -07:00
Michael Jurka
0620bec840 Generating holographic outlines in helper thread
Change-Id: Ie6fb0827b0c746d512c5baba44bf16de54e309bc
2010-10-27 13:52:03 -07:00
Winson Chung
df4b83dd9d More spacing changes for AllApps.
- Also testing a simple scale of existing icons in lieu of high res icons.

Change-Id: Ib9758064536cd1b1704344ea885bccdc93dd3466
2010-10-20 18:39:54 -07:00
Winson Chung
9678557e66 Adding message when there are no icons in a particular tab.
Change-Id: Icbf122d10d07fcacb8a4429431ea389826a3d173
2010-10-14 14:21:20 -07:00
Winson Chung
c1f48b9731 Fixing issue where certain icons in the customization drawer were not being scaled down to size.
Change-Id: I5a14146cdd530f22119ced8ca8534ec899abcbdc
2010-09-30 12:07:45 -07:00
Winson Chung
64a3cd4f20 Changing the holographic outline algorithm to match designs.
Change-Id: Ibb9668514c7c3ce56473cf041051245b9c19c793
2010-09-17 16:48:00 -07:00
Michael Jurka
5f1c509d5a supporting swipable home screens on xlarge devices
- icons and widgets on home screens can be "dimmed"
- celllayout no longer renders a dimmed version of itself, but instead its children make dimmed versions of themselves
- celllayout no longer always takes up full size of workspace, in landscape mode 
neighboring screens (celllayouts) are visible
- on xlarge devices, in landscape mode side screens are "dimmed"
- moved holographic outline helper to its own file
- fixed bug where mini-screens were still able to scroll left/right

Change-Id: I9e85ab4147edfae1e7525c3d11d42be3fabf4f6d
2010-09-13 15:16:10 -07:00
Winson Chung
5f2aa4efee Adding single/multi selection mode to AllAppsPagedView (action bar disabled).
Also adding check to prevent scrolling mode from continuing on touch down.

Change-Id: I744f2c1f6bc659219145b52b15a7ea176853ec7c
2010-09-02 11:35:48 -07:00
Winson Chung
241c3b451d Adding outline cache for PagedViewIcons.
Change-Id: I258740a0323660edd73b5f40d61d509455ae195b
2010-08-25 17:38:41 -07:00
Winson Chung
86f7753bbd Preventing reloading of pages on swipe and disabling offsets for xlarge static wallpapers.
Change-Id: I4ca72164775d09706e36c38e0fac0e84254221c7
2010-08-24 14:58:11 -07:00
Winson Chung
affd7b4d23 Fixing alpha issue on AllApps.
Change-Id: Ifbd81b3e8009cff963bb03bd953e498f8677cc38
2010-08-20 15:17:26 -07:00
Winson Chung
03c568e608 Fixing issue where recycled views' holographic overlays were not being regenerated.
Change-Id: I879eaf2379490ce99d20cb6c0887b7881e580021
2010-08-19 17:28:24 -07:00
Winson Chung
b3347bb9f4 Adding holographic outline for paged items (sans widgets).
Fixing possible null ptr exception in Launcher.

Change-Id: Ie625a6503299cf122e5c22852846d59e66f77414
2010-08-19 16:00:41 -07:00