Commit Graph

6493 Commits

Author SHA1 Message Date
Gilles Debunne 5e9dbfd77a Merge "New assets for hot seat." into gingerbread 2010-09-29 12:12:40 -07:00
Patrick Dubroy de7658b5e0 Show crosshairs when dragging items around the workspace. 2010-09-29 11:14:28 -07:00
Joe Onorato b761f3e49a DO NOT MERGE - the scroll drag area was too small, and should have come from a resource anyway.
Change-Id: If1304e1417cb8ba4dee8657cd619718abba277f0
2010-09-28 18:47:46 -07:00
Gilles Debunne dad874b7ec New assets for hot seat.
Change-Id: I22c1e4a8b932fa48af57e2eecedb6ac4fe6c85fa
2010-09-28 17:41:26 -07:00
Adam Cohen 9415d87eda -Added 3D effect to home screen scrolling
-Added background outline fade in / out
-Modified the feel of scrolling: now using quintic
 interpolator and modified the influence of
 scroll velocity

Change-Id: Ifddcab5223ac20be7d9f800ccf09442d9b4db781
2010-09-28 16:56:10 -07:00
Michael Jurka 163c9c0236 cleaning up hardware acceleration XML value a bit
(switch from integer -> bool)
2010-09-28 15:24:13 -07:00
Winson Chung d0cca08e4f resolved conflicts for merge of 7ad01419 to master
Change-Id: Idcbb2ffd6f0b72610dc06fc07695e3546f80da70
2010-09-28 09:39:16 -07:00
Michael Jurka 821856b67e adding hardware acceleration flag to config.xml
(later, this will let us turn on HW acceleration
via a device-specific overlay)

Change-Id: I33c957911db7ac730770b71d6644568fbfa86adf
2010-09-27 18:30:11 -07:00
Winson Chung 7ad0141905 Adding menu item to Launcher to manage applications directly from homescreen
Change-Id: I56d726080968777eb5ccdc8826a872977cf7868c
2010-09-27 17:49:09 -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
Winson Chung d0d43010c7 Adding tap-to-add behaviour to the customization drawer.
Change-Id: I5a0863a8df2a0b4855112eb29b40b6e7dd550db9
2010-09-27 09:34:15 -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
Winson Chung 64a3cd4f20 Changing the holographic outline algorithm to match designs.
Change-Id: Ibb9668514c7c3ce56473cf041051245b9c19c793
2010-09-17 16:48:00 -07:00
Winson Chung 3a47678698 Extracting format string properly into xml strings.
Change-Id: I4766ee48bef6a08c6a9809f8df29d4d2343014c4
2010-09-15 15:21:55 -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
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 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
Adam Cohen a985e598f6 Applying fake perspective transform to the home screen previews
Change-Id: I2092fd963804eceaf0117bcb6d118d83e0da3573
2010-09-09 11:58:09 -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 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 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 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
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
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 5bbc91bbbc Add a default wallpaper for xlarge devices.
Change-Id: Icaf3fc953ca6d469d17620c0aec789e7f60c924e
2010-08-18 11:38:46 -07:00
Michael Jurka b2c838c2eb removed the temp screen rotation button
Change-Id: I26d5a840270065e43d4f66b3c53c7e9d52ce4200
2010-08-16 20:53:10 -07:00
Winson Chung 80baf5a6b3 Adding paging for the widget/shortcut/folder customization area and fixing bugs.
Adding pages for customization drawer with initial implementation of proposed flow
layout for widgets.  Fixes for keeping all apps, and widgets in sync with Launcher
Model, optimizations for reloading all apps pages when invalidating.  Adding some
animations for tab transitions and feedback when long pressing to add certain items.

Change-Id: I8d51749f3a91c964bed35681f3a9192200b0d93e
2010-08-16 15:51:43 -07:00
Winson Chung 321e9ee688 Creating generic Workspace/CellLayout for paged views in Launcher.
Adding SimpleWorkspace, SimpleCellLayout and an AllApps implementation of the SimpleWorkspace.
Making SimpleWorkspace support content with smaller dimensions than the workspace dimensions
itself.  Temporary change to AllApps tabs styling until we get new assets for tabs in general.

Change-Id: Ibe3c56603223853d232816b6695e4ddd757857ba
2010-08-16 15:50:40 -07:00
Adam Cohen da4dc5edd8 -> Set grid to 8x7 with proper spacing for landscape/portrait
-> Added a button to the top left of Launcher which switches
   between landscape and portrait. For testing purposes only.

Change-Id: I01f8cfcf92c8ba7727eeba0e59a0b8ff055598fe
2010-08-11 10:46:55 -07:00
Michael Jurka 925b481acb Merge "workspace bug fixes" 2010-08-10 14:18:43 -07:00
Michael Jurka 4cb3724a2c workspace bug fixes
- fixed: pressing home sometimes left workspaces
in shrunken state
- fixed: position of delete zone (trash icon)
- fixed: workspace unshrink sometimes looked weird
when coming from all apps
- fixed: clicking power button and returning left
workspace in shrunken state

Change-Id: Ie974202926e6880ccda26ac9fe967fb587a9b7a3
2010-08-10 14:10:20 -07:00
Eric Fischer cceb91c1e9 Import revised translations.
Change-Id: Id7dec46f0fe6f9178dbd8ea2c0c82b843bbfaa3e
2010-08-10 12:12:27 -07:00
Patrick Dubroy 3ec8bdd576 Refactor zooming animation, and apply it to customize drawer too.
Change-Id: I0bbd5a68adc82cea02dc583ac3d04e3de8c0346e
2010-08-09 14:25:36 -07:00
Michael Jurka 9cf976350b Merge "small fixes to Launcher" 2010-08-06 20:19:41 -07:00
Michael Jurka 4bb4f735c8 small fixes to Launcher
- more robust unshrink animation
- catching a resource not found exception when
  making widget preview
- added more missing copyright headers
- hiding customization drawer when long press on widget
- long-pressing on widget is temporarily always
  springloaded to zoom in to workspace screen

Change-Id: I6c92877357e907d89840fecc4662f0700b96255b
2010-08-06 11:19:47 -07:00