Commit Graph

1697 Commits

Author SHA1 Message Date
Andrew Stadler 959f603a93 Fix crash on small-screen devices
Allow for mCustomizePagedView to be null in more cases.

Bug: 3040307
Change-Id: Idf5e50e661bcffa726db204a3318ab932db265aa
2010-09-27 14:09:29 -07:00
Joe Onorato ebfe4b08df am 4a79a04b: When we\'re launching apps, we need to always use startActivitySafely.
Merge commit '4a79a04bcd5f8c4d4fab7bcc46eea9e19a3dc63e'

* commit '4a79a04bcd5f8c4d4fab7bcc46eea9e19a3dc63e':
  When we're launching apps, we need to always use startActivitySafely.
2010-09-27 12:08:31 -07:00
Michael Jurka 3125d9dec8 Making the CAB text match the type of item selected
in customization mode.
2010-09-27 11:30:42 -07:00
Joe Onorato 4a79a04bcd When we're launching apps, we need to always use startActivitySafely.
It's possible that the app doesn't implement the component as promised, and the launcher shouldn't
crash.

Bug: 3005141
Change-Id: Ieac51433a467fd12160247bfd281828a69f5f7d2
2010-09-27 10:43:16 -07:00
Winson Chung d0d43010c7 Adding tap-to-add behaviour to the customization drawer.
Change-Id: I5a0863a8df2a0b4855112eb29b40b6e7dd550db9
2010-09-27 09:34:15 -07:00
Michael Jurka 28750fba6a fixed minor code review issues from change I0280c3be
(it was submitted early accidentally)

Change-Id: I3753366b4d5e1dc228baf02eba27a2c0d8fa42cf
2010-09-24 18:34:23 -07:00
Michael Jurka 0280c3be4d Adding support for drag and drop of folders and shortcuts.
also:
- Long press on empty space on workspace now brings up customization tray
- Fixed: while dragging, items appeared to be dropping on folders two cells to the right
- Fixed: Disabling drops on folders when the workspace is shrunken
- Fixed: account for scaling of dragged items when checking if they overlap
          with shrunken workspace screens
- Making folder icons dimmable to match shortcuts and widgets
- When deciding with shrunken workspace screen we're dragging to, we now use the closest screen rather than the one that has been overlapped the most
- Refactored drag/add mechanism, removing array of occupied cells from CellInfo
- Removed dead code/variables
2010-09-24 15:28:20 -07:00
Eric Fischer 513b8c94fb am edfd2a56: (-s ours) Import revised translations. DO NOT MERGE
Merge commit 'edfd2a5605d126ed39df30336e3f0ffe3dd70ce0'

* commit 'edfd2a5605d126ed39df30336e3f0ffe3dd70ce0':
  Import revised translations.  DO NOT MERGE
2010-09-24 15:20:52 -07:00
Eric Fischer 04e37ed86c Import revised translations.
Change-Id: Iaf9b3853897f35638910edf4275245a868725cf7
2010-09-24 12:27:12 -07:00
Winson Chung 5ffd8eafeb Initial changes to add Applications tab in the customization drawer for usability testing.
- Also adding padding attributes for the dynamic layouts created for each page.

Change-Id: I76a7b6b8f4d83329c506fd6055f910575d0c200f
2010-09-24 11:09:38 -07:00
Eric Fischer edfd2a5605 Import revised translations. DO NOT MERGE
Change-Id: Ie0dd3e3ea930de8676d4e085721cab5844386f66
2010-09-24 10:24:44 -07:00
Patrick Dubroy dea9e93e4a Fix misaligned drop targets in the all apps CAB 2010-09-22 16:23:09 -07:00
Michael Jurka 097b49c86e Fixing bug where long press on widgets no longer
works on non-xlarge devices
2010-09-21 14:11:17 -07:00
Winson Chung 6a3fa9f873 Merge "Changing the holographic outline algorithm to match designs." 2010-09-21 14:02:04 -07:00
Winson Chung 64a3cd4f20 Changing the holographic outline algorithm to match designs.
Change-Id: Ibb9668514c7c3ce56473cf041051245b9c19c793
2010-09-17 16:48:00 -07:00
Stephen Hines 565febedde Merge "Handle RS reflection name changes." 2010-09-17 13:55:28 -07:00
Michael Jurka f79d5265c6 removing dead code 2010-09-17 10:59:31 -07:00
Stephen Hines b2d6986b13 Handle RS reflection name changes.
Change-Id: I4ba8d258833472685ba52f3d2fb7869a8ffa34ef
2010-09-16 17:21:50 -07:00
Winson Chung 24ab2f1bb5 Fixing set wallpaper crash in Launcher
Change-Id: I3b6299bb10f397209cd69e715fee783abe0c9b64
2010-09-16 14:11:09 -07:00
Winson Chung e8878e3c5a Adding some wallpaper buttons on the customization tray.
Also tweaking the fading algorithm for side pages.

Change-Id: Ia7743c2b71741926ff9ae52e6965d7aefc86604e
2010-09-15 20:51:01 -07:00
Winson Chung c2e0c08c99 Merge "Extracting format string properly into xml strings." 2010-09-15 15:31:03 -07:00
Winson Chung 3a47678698 Extracting format string properly into xml strings.
Change-Id: I4766ee48bef6a08c6a9809f8df29d4d2343014c4
2010-09-15 15:21:55 -07:00
Adam Cohen d19d3ca3ec Fixing bug with Launcher page scrolling
Change-Id: Ib9a5a77ffe40dfcde0f846558e5ef0441cb11f7f
2010-09-15 15:02:55 -07:00
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