Commit Graph

12092 Commits

Author SHA1 Message Date
Wink Saville
b8fc9e7df6 Merge "Launcher changes to handle UTS test mode." into eclair 2010-02-12 15:51:46 -08:00
Joe Onorato
6a35157a2b Merge "Don't make label textures if we don't need them." 2010-02-12 14:55:25 -08:00
Joe Onorato
84f6a8d613 Don't make label textures if we don't need them. 2010-02-12 17:54:50 -05:00
Romain Guy
c0c4fe3916 Make sure the generated texture is 120px wide. 2010-02-12 23:20:57 +01:00
Wink Saville
2693030ea4 Launcher changes to handle UTS test mode.
When in UTS test mode keys received need to be handled
by the Phone application or Contacts application to
operate properly in the test mode. When not in test mode
the search widget will handle the keys as it was before
this change.

The UTS test mode is enabled when presist.sys.uts-test-mode is 1.

bug: 2402366
Change-Id: I58e68830f9ce6905e189ecba1c04b1076799a0a0
Signed-off-by: Wink Saville <wink@google.com>
2010-02-12 12:12:45 -08:00
Joe Onorato
0589f0f66c Split ApplicationInfo into ApplicationInfo which is used for AllAppsView and ShortcutInfo which is
used for the workspace.

Consolidate the three icon resampling functions into one.

Ensure that the icons stored in LauncherProvider are the right size, so we don't have to resample
them each time we load them.
2010-02-12 12:18:40 -05:00
Jason Sams
52ba5b08f2 DO NOT MERGE. Update for new RS library with ES 2.0 support. 2010-02-11 18:15:48 -08:00
Bjorn Bringert
3e244cf9d2 Use Search.SOURCE from android-common
The SOURCE (search source identifier) constant is moving
from hidden in android.app.SearchManager to com.android.common.Search.

Part of http://b/issue?id=2429556

Change-Id: I68fa792f2d452aadcb9216f5c780bd082ca5039f
2010-02-10 14:17:35 +00:00
Jason Sams
e48eae0c4d Convert to RenderScriptGL. 2010-02-09 15:55:48 -08:00
Jason Sams
82e1a27ba0 More dead code cleanup. 2010-02-04 17:32:57 -08:00
Jason Sams
23dcb7babf Remove dead code. 2010-02-04 17:00:27 -08:00
Jason Sams
7651248dd1 Support rotation of the all apps screen. 2010-02-04 16:38:48 -08:00
Romain Guy
374e42a2f0 Merge "Fix texture generation issue on Home." 2010-02-04 16:02:22 -08:00
Romain Guy
442eda2cc1 Fix texture generation issue on Home. 2010-02-04 15:59:37 -08:00
Jason Sams
66ed54e13b Clean up vertex program with easy to manage uniform constants. 2010-02-04 12:43:26 -08:00
Joe Onorato
b83155406b Possibly fix 2415260 - IllegalStateException: Calling RS with no Context active 2010-02-03 20:39:25 -08:00
Joe Onorato
e538b11371 fix 2261196 icons could be bigger when you drag them onto home screen 2010-02-01 19:10:25 -05:00
Joe Onorato
e9a3f3d85b Fix 2379378 Trackball up on all apps home icon doesn't highlight the correct icon 2010-02-01 18:36:43 -05:00
Joe Onorato
2d7e7d0d48 Fix 2261097 Shouldn't give users the option of MENU > Add in All Apps 2010-01-29 15:57:19 -08:00
Joe Onorato
783053a2df Merge "mostly fix 2392102 by overriding the force-open input thing" 2010-01-28 15:57:10 -08:00
Joe Onorato
8a9625e218 mostly fix 2392102 by overriding the force-open input thing 2010-01-28 15:55:35 -08:00
Romain Guy
483543f31c Update the position markers when going back to Home. 2010-01-28 14:06:31 -08:00
Romain Guy
88f38d186b Attempt to fix icons labels misalignment in Home.
Bug #2310188
2010-01-26 14:50:34 -08:00
Romain Guy
06762ab54d Convert the tap and drop live wallpaper commands coordinates to screen space. 2010-01-25 16:51:08 -08:00
Jason Sams
39e1c9d6eb Merge "Fix selection highligh in all apps. Selection highlight now follows the curve and uses a smaller bitmap." 2010-01-20 13:35:13 -08:00
Jason Sams
1a94ee3a8b Fix selection highligh in all apps. Selection highlight now follows the curve and uses a smaller bitmap. 2010-01-20 13:34:30 -08:00
Jason Sams
168b007de7 Merge "Change text labels from RGBA to ALPHA8. Reduces memory usage and may increase performance." 2010-01-19 18:02:04 -08:00
Jason Sams
6ec11bc3a8 Change text labels from RGBA to ALPHA8. Reduces memory usage and may increase performance. 2010-01-19 17:56:52 -08:00
Jason Sams
4aea33d22e Merge "Update launcher2 with vertex shader and single draw method for icons." 2010-01-19 16:46:17 -08:00
Jason Sams
b4ecab24db Update launcher2 with vertex shader and single draw method for icons. 2010-01-19 16:43:26 -08:00
Joe Onorato
f5e4dd01ad Put the label into the same texture as the icon. 2010-01-14 19:10:18 -05:00
Bjorn Bringert
cd8fec0281 Don't hardcode component name for search widget
Note that this does not convert any widgets what were bound when
a different global search app was installed. Thus Froyo -> Froyo
upgrades without userdata wipe will see "Problem loading widget".
Workaround: Remove the search widget and add a new one.

Change-Id: I2bcd211c10bbaba66f5f3f82b6785396d957aa25
2010-01-14 15:12:04 +00:00
Romain Guy
629de3ef73 Remove widgets when the corresponding apk is uninstalled.
Bug #2298872
2010-01-13 12:20:59 -08:00
Romain Guy
5c16f3ecd6 Remove LiveFolders when corresponding package is uninstalled.
Bug #2298872
2010-01-12 17:24:58 -08:00
Romain Guy
ea3763c267 Fix dpad nav: go left/right when dpad is moved and dots are focused.
Bug #2359364
2010-01-11 18:02:04 -08:00
Joe Onorato
c5cfa73ef9 Fix 2325492 - No icons in launcher after pressing home from within an app
It looks like the evil hack in 14f122bf84 to make the workspace
not animate didn't completely work.  The key to reproducing this bug is to make sure the
activity is destroyed and to have last gone to an app from a screen other than the center
screen, because that causes it to get reloaded from the icicle, which makes the timing
more amenable to missing the animation, because the view isn't attached yet.
2010-01-11 19:39:38 -05:00
Joe Onorato
c45b168629 Fix 2325492 - No icons in launcher after pressing home from within an app
It looks like the evil hack in 14f122bf84 to make the workspace
not animate didn't completely work.  The key to reproducing this bug is to make sure the
activity is destroyed and to have last gone to an app from a screen other than the center
screen, because that causes it to get reloaded from the icicle, which makes the timing
more amenable to missing the animation, because the view isn't attached yet.
2010-01-11 18:48:40 -05:00
Joe Onorato
6374c51a89 Fix bug 2337808 - zoom state gets out of sync when the surface disappears 2010-01-11 11:15:08 -05:00
Romain Guy
8f19cdd62f Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
2010-01-08 15:11:52 -08:00
Jason Sams
d15f3ef981 cleanup RS scripts leftover from previous design and rename final script. 2010-01-06 14:58:06 -08:00
Romain Guy
b5de775467 Prevent crash when the app passes the wrong data type as a shortcut icon.
Bug: #2353444.
2010-01-04 14:43:49 -08:00
Tom Taylor
9e97dc97b4 am 0663d1d9: am fd1e757f: Update imports to android-common
Merge commit '0663d1d90dc943e8bfaadb27f270f600d7d2e0a0'

* commit '0663d1d90dc943e8bfaadb27f270f600d7d2e0a0':
  Update imports to android-common
2009-12-21 17:24:40 -08:00
Tom Taylor
fd1e757ff2 Update imports to android-common
Several files were moved to android-common. Update all the references
to import those files from the new location.
2009-12-21 14:00:50 -08:00
Android (Google) Code Review
4c073b965e Merge change I72f1d310
* changes:
  Update to new RS texture API.
2009-12-18 12:01:48 -08:00
Android (Google) Code Review
a99d82f869 Merge change I510ee049
* changes:
  Remove WAR for handling uploads when no surface was present.
2009-12-17 17:17:03 -08:00
Jason Sams
72f1d3100c Update to new RS texture API. 2009-12-17 16:58:25 -08:00
Android (Google) Code Review
60055882c2 Merge change I8ad4a378
* changes:
  Remove obsolete doc references to LauncherAppWidgetBinder
2009-12-16 10:42:37 -08:00
Bjorn Bringert
93c45765cc Remove obsolete doc references to LauncherAppWidgetBinder
Change-Id: I8b9c2d8145d56b891f26dabebead35275d81b6ba
2009-12-16 13:23:45 +00:00
Joe Onorato
752a1244be am 34a0e1b0: fix bug 2326478
Merge commit '34a0e1b00b9baeff19e94f1ee35dd890063489d2'

* commit '34a0e1b00b9baeff19e94f1ee35dd890063489d2':
  fix bug 2326478
2009-12-15 15:05:31 -08:00
Jason Sams
510ee04942 Remove WAR for handling uploads when no surface was present. 2009-12-15 14:23:37 -08:00