Commit Graph

78507 Commits

Author SHA1 Message Date
Adam Cohen a985e598f6 Applying fake perspective transform to the home screen previews
Change-Id: I2092fd963804eceaf0117bcb6d118d83e0da3573
2010-09-09 11:58:09 -07:00
Patrick Dubroy e42cd70f08 Merge "Re-enable menu button -- real fix is to disable at system level." 2010-09-08 22:53:16 -07:00
Patrick Dubroy 5905bca4c4 Re-enable menu button -- real fix is to disable at system level.
Change-Id: I0f9c05b3685725ccf9c8e61f77b6a5e2ea85f452
2010-09-08 22:50:19 -07:00
Patrick Dubroy 430c53bc80 Fix 2981705: Unable to uninstall downloaded app by dragging to trash.
- on long press, copy constructor of ApplicationInfo is called. It wasn't copying flags.
- also fix all apps choice mode so that chosen object is set when preparing CAB
2010-09-08 16:05:51 -07:00
Winson Chung 5aa323f3c9 Updating assets for toolbar buttons, setting new default wallpaper.
Fixing small namespace issue where PagedView attributes weren't actually being respected.

Change-Id: Id260fae6278b616b446da1ce04ec18b11ed0bf45
2010-09-08 15:15:12 -07:00
Patrick Dubroy 031e10649a Add CHAR_LIMIT to strings. 2010-09-08 14:30:17 -07:00
Patrick Dubroy 2b9ff37edb When an app is chosen in All Apps, tapping a workspace screen adds it to that screen. 2010-09-08 10:38:54 -07:00
Chet Haase b1254a6bdb Animation classes renamed
Change-Id: I96ecb77357a914a746a5989c909246620b977b10
2010-09-08 08:51:12 -07:00
Patrick Dubroy 5539af7826 Don't allow system apps to be uninstalled by tapping the trash can button. 2010-09-07 15:22:10 -07:00
Patrick Dubroy 9f7aec8d43 Implement selection mode for All Apps with delete and info actions. 2010-09-06 17:37:35 -07:00
Patrick Dubroy 39670182be For now, just show a toast when user tries to delete a system app. 2010-09-03 16:26:11 -07:00
Patrick Dubroy bc6840b316 Support uninstalling an app by dragging from all apps to trash can. 2010-09-03 12:13:00 -07:00
Michael Jurka c4fb9173e7 Fix crash when clicking "Games" or "Downloaded"
tabs in All Apps.

Change-Id: I832376368a07d65543d142790c8876e16c65067a
2010-09-02 17:25:33 -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
Brad Fitzpatrick 12815f5ac0 resolved conflicts for merge of 319226a8 to master
Change-Id: Ibeefaa496cc3970e35af007fb64344c2a0f1f82f
2010-09-01 17:10:36 -07:00
Brad Fitzpatrick 319226a894 Make Launcher.checkForLocaleChange async.
Logging indicated a 1.2 second improvement in Launcher start time
during boot (when single-threaded yaffs is very heavily contended).

BUG=2947474

Change-Id: Ie72cf02c5eacb27c6d874b6d67a0bb2de7f6b74a
2010-09-01 15:44:57 -07:00
Michael Jurka 0142d49e13 Changed Workspace to inherit from PagedView
- adds support for seeing dimmed side-pages on
home
- adds workspace support for pages that are
smaller than workspace itself
- removing a lot of code duplicated between
PagedView and Workspace
- tested new Workspace on Nexus One, and perf.
was indistinguishable from old Workspace in my
tests

Change-Id: Ie33ab4e8b35ac01b22894cff66650bb0ece8dfcc
2010-09-01 14:54:34 -07:00
Joe Onorato 6b4adbc055 DO NOT MERGE - Allow the workspace to swipe while it's loading.
You still can't modify the contents of the workspace while it's loading,
but this makes it appear a little bit more responsive.  Launching apps
while the launcher is loading has always been possible.

Bug: 2748595
Change-Id: Iaf203c7358647a9b2211bb7386579ae75b82a698
2010-09-01 12:15:10 -07:00
Joe Onorato ddc9c1fb1a DO NOT MERGE - Fix 2941495: Launcher short-cut icons don't work for apps on SD card after reboot
Bug: 2941495
Change-Id: Ie8e0e0c62259f8cf933e53b7aa2dc28a835110ae
2010-09-01 12:15:10 -07:00
Jason Sams 0649843cbf Merge "Remove outdated and unused class." 2010-09-01 12:10:04 -07:00
Jason Sams 2a4b029887 Remove outdated and unused class.
Change-Id: I0d71dcff3ca0b77e2dcb6448c4c08790d3ecd841
2010-09-01 12:04:36 -07:00
Michael Jurka f3009f662e Fixed crash when adding new folder from
customization drawer
2010-08-31 16:43:37 -07:00
Patrick Dubroy a01b2257a0 Merge "Add a market button to the toolbar." 2010-08-31 13:04:57 -07:00
Joe Onorato 84fa79a1cd am fdf5fd63: (-s ours) DO NOT MERGE - Allow the workspace to swipe while it\'s loading.
Merge commit 'fdf5fd63c6e76fffd28df6d032ee6bac1417edf6'

* commit 'fdf5fd63c6e76fffd28df6d032ee6bac1417edf6':
  DO NOT MERGE - Allow the workspace to swipe while it's loading.
2010-08-31 12:19:21 -07:00
Joe Onorato a288e1af0a am f5ed4f11: (-s ours) DO NOT MERGE - Fix 2941495: Launcher short-cut icons don\'t work for apps on SD card after reboot
Merge commit 'f5ed4f1141ae41e25e249f6e085c7080f11dc968'

* commit 'f5ed4f1141ae41e25e249f6e085c7080f11dc968':
  DO NOT MERGE - Fix 2941495: Launcher short-cut icons don't work for apps on SD card after reboot
2010-08-31 12:19:19 -07:00
Joe Onorato fdf5fd63c6 DO NOT MERGE - Allow the workspace to swipe while it's loading.
You still can't modify the contents of the workspace while it's loading,
but this makes it appear a little bit more responsive.  Launching apps
while the launcher is loading has always been possible.

Bug: 2748595
Change-Id: Icf252beaee5b801b30216202ce6032c4d565cde3
2010-08-31 12:02:32 -07:00
Joe Onorato f5ed4f1141 DO NOT MERGE - Fix 2941495: Launcher short-cut icons don't work for apps on SD card after reboot
Bug: 2941495
Change-Id: Idf1869d33cd5c01abea5b059ca466529cee0ad93
2010-08-31 12:02:24 -07:00
Patrick Dubroy ceae05d573 Add a market button to the toolbar.
We determine the default app market activity by resolving an intent,
and fetch the icon from the activity's meta-data.
2010-08-30 18:08:43 -07:00
Patrick Dubroy df7c3a7853 Fix problems with unanimated toolbar transitions.
Rather than creating all the Animators and attempting to execute the
transitions immediately, add a separate code path for all the
unanimated cases.

Change-Id: Id615180bd0d2ed5cc60d8df351c00e8d7b13c68d
2010-08-26 18:17:08 -07:00
Patrick Dubroy 07a0de4bc4 Minor animation optimization -- use PropertyValueHolders. 2010-08-26 11:48:35 -07:00
Michael Jurka 7f0f4f3c35 Workspace no longer scrolls during drag when shrunk
Change-Id: If71ba7638259f4015c5c088797f2b2719066cf2e
2010-08-25 17:40:44 -07:00
Winson Chung 241c3b451d Adding outline cache for PagedViewIcons.
Change-Id: I258740a0323660edd73b5f40d61d509455ae195b
2010-08-25 17:38:41 -07:00
Patrick Dubroy 6b509c1fd6 Add a market button and add toolbar button animations.
Also clean up a lot of the animation code to be more centralized.
2010-08-25 17:11:08 -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
Michael Jurka a63c452f5b added support for dragging widgets and app icons to mini screens
- gave mini screens a rounded rect background
- mini screens change color when dragged over
- added a way to specify the active region of dragged items, to allow for clipping of whitespace at borders
- fixed: feedback while dragging was often one cell off
- fixed: bug when adding to almost-full screen
- removed unused classes

Change-Id: I2fbd2aaaee6831b288cca8dec75e7b446068e8d1
2010-08-23 15:49:58 -07:00
Michael Jurka 01f0ed4126 pressing home twice shows small overview mode
Change-Id: If5a6c0942685cd52ef77562dd342f28e16ae571c
2010-08-23 15:26:14 -07:00
Michael Jurka 7898466dc0 Merge "Fixed bug where custo drawer remained open after power-off" 2010-08-23 15:06:29 -07:00
Michael Jurka 909f915286 Fixed bug where custo drawer remained open after power-off
Change-Id: I41f39b533fdd7b42b0f2085f8912c1bd30ec1ab2
2010-08-23 14:55:18 -07:00
Winson Chung 9de2296c4c Merge "Fixing alpha issue on AllApps." 2010-08-20 15:20:15 -07:00
Winson Chung affd7b4d23 Fixing alpha issue on AllApps.
Change-Id: Ifbd81b3e8009cff963bb03bd953e498f8677cc38
2010-08-20 15:17:26 -07:00
Michael Jurka 96226223d9 clicking on mini screens no longer sends click to widgets/icons
Change-Id: Iee905655151dfe1d00acd776752525d3fcc9b0e1
2010-08-20 00:54:40 -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
Eric Fischer 5a74c07c1c Merge "Import Romansh translations." 2010-08-19 12:01:19 -07:00
Patrick Dubroy 4ed6278e51 Implement button to get application info for an app shortcut.
For now, it's just a drag target like the delete zone. Once all apps
and the home screen support a selection mode, this (and delete) will
be implemented as buttons in the Contextual Action Bar.

Change-Id: I6bf43d03eefda672ea34c583a7021137da22b184
2010-08-18 17:57:59 -07:00
Eric Fischer fb5015dccc Import Romansh translations.
Change-Id: Ib819d3f3673a8e941df24780db808cf82b146ab6
2010-08-18 16:26:33 -07:00
Romain Guy f07e7a441c Merge "Add a default wallpaper for xlarge devices." 2010-08-18 11:39:08 -07:00
Romain Guy 5bbc91bbbc Add a default wallpaper for xlarge devices.
Change-Id: Icaf3fc953ca6d469d17620c0aec789e7f60c924e
2010-08-18 11:38:46 -07:00
Winson Chung 6935ffd450 Adding check before setting alpha of side pages in a PagedView to prevent constant invalidations.
Change-Id: I4fbb66a851d6cbcd916212e86ed8ba85a9226b02
2010-08-17 14:28:06 -07:00
Michael Jurka b2c838c2eb removed the temp screen rotation button
Change-Id: I26d5a840270065e43d4f66b3c53c7e9d52ce4200
2010-08-16 20:53:10 -07:00