Commit Graph

1674 Commits

Author SHA1 Message Date
Winson Chung 9415eddcf4 Merge "Initital changes for new customization drawer/widget tab design." 2010-09-15 14:45:43 -07:00
Winson Chung e3193b93ad Initital changes for new customization drawer/widget tab design.
Change-Id: I160c8777fe2657ab303acfa20934f2e90f9e953e
2010-09-15 14:45:11 -07:00
Brad Fitzpatrick 98cf129f80 am 73013bf9: Make LauncherModel.deleteItemFromDatabase write to disk async.
Merge commit '73013bf94f49ffbacba2b8300f6a2dd4eeebbd13'

* commit '73013bf94f49ffbacba2b8300f6a2dd4eeebbd13':
  Make LauncherModel.deleteItemFromDatabase write to disk async.
2010-09-15 12:17:49 -07:00
Michael Jurka 1ff706b8c0 fix two crashes
* fix crash where Workspace gets an ACTION_MOVE
but didn't get the ACTION_DOWN before it
* fix crash in DimmableBubbleTextView on
non-xlarge devices (buganizer bug#3001211)

Change-Id: I419b4a9fd3c95df9949f1d46746845ad2dc4b831
2010-09-14 17:56:01 -07:00
Michael Jurka cfc629446c Fix bug with home screen position when switching
from portrait to landscape and v.v.
2010-09-14 14:01:17 -07:00
Brad Fitzpatrick 73013bf94f Make LauncherModel.deleteItemFromDatabase write to disk async.
Fixes a bunch of StrictMode violations and removes TODOs.

Change-Id: I886bd071d4a8336c228d29c517a8ffc5223c0623
2010-09-14 12:33:35 -07:00
Romain Guy 3eac2cfdb5 Merge "Changing Launcher2 to use more generic shader param binding." 2010-09-14 10:34:53 -07:00
Alex Sakhartchouk 95252b4cbd Changing Launcher2 to use more generic shader param binding.
Change-Id: I5550a5ce88e5edc5ce11689e828001e28bb29e04
2010-09-13 20:44:01 -07:00
Adam Cohen e54cec82a9 Re-adding the perspective shift on mini screens
Change-Id: If4acc0cbfc66305e9abe024529a69553df2f9ef2
2010-09-13 18:19:55 -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
Eric Fischer 686e136f5a Merge "Import revised translations." 2010-09-13 10:07:32 -07:00
Romain Guy 43fc5cda05 Merge "Remove unnecessary files." 2010-09-12 12:17:27 -07:00
Romain Guy 7f3f956bbb Remove unnecessary files.
Change-Id: I155aa203d5834569a99eaef439096178f9fb86bd
2010-09-12 12:15:10 -07:00
Eric Fischer 9d927315f0 Import revised translations.
Change-Id: I79529f0bed3e5318b9d9a49da801ed1e6072bbda
2010-09-10 15:45:11 -07:00
Adam Powell 201058d9c9 Updated for framework changes in ActionBar style attributes
Change-Id: I8e9050a784b4b20398309e6d279ab17652a29ade
2010-09-10 11:51:05 -07:00
Adam Cohen 9ca4970b7c Merge "Applying fake perspective transform to the home screen previews" 2010-09-09 18:49:29 -07:00
Michael Jurka 4347705a09 making mini screen backgrounds dark, and
temporarily disabling dimmed items on mini screens
to work better with new dark wallpaper
2010-09-09 12:32:11 -07:00
Michael Jurka 99229f67d1 tapping home in Launcher now returns you to
default screen instead of going to overview mode

Change-Id: If19f5d6d9324a217211e0ced89dab92eddca385e
2010-09-09 12:10:15 -07:00
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