Commit Graph

26 Commits

Author SHA1 Message Date
Michael Jurka
f1ad608c28 Fix jumps in the beginning of animations
If the first draw frame of an animation is
expensive, which it often is, it causes a big
jump. Added a helper class which automatically
adjusts the animation start time if the first
frame is more than 16ms.

Change-Id: I100edbc41c2abe930a32d6bcf0a782ea9735f7f9
2013-03-28 12:08:18 -07:00
Michael Jurka
2ecf995e0d Remove use of private ValueAnimator api
Change-Id: I455edcd17bda83ab51c2c04fa40e66097a4d6975
2012-06-19 11:44:57 -07:00
Michael Jurka
629758ff08 Remove unnecessary use of some private APIs
Change-Id: Idaba6833ddf4a8615845ca2f643c458bdeb9c403
2012-06-19 10:32:38 -07:00
Michael Jurka
324dbdd7a3 Fix issue where "X" would appear over QSB bar in landscape mode
Bug: 6655204
Change-Id: I8d456314ebba23a4c84781ee0e2cdd261784382a
2012-06-18 14:33:37 -07:00
Winson Chung
17f1bb8ec9 Simplifying search bar animations. (Bug 6529767)
Change-Id: Id0f29145aef8d22e640b67fae84293ba38a44629
2012-05-31 13:02:39 -07:00
Winson Chung
c7d2b60ab1 Updating search bar animation, and adding use of hw layers.
Change-Id: Ida06bb526876abc793366415df1e06f483f3b66c
2012-05-16 17:02:34 -07:00
Michael Jurka
19e3347e47 Fix bug where AllApps button disappeared
Bug: 6490041
Change-Id: Ia5d5a78f52f33b251315cfdc51bd0e3756f1fd22
2012-05-14 20:50:06 -07:00
Winson Chung
73b36a86db Fixing issue where qsb was not translated back into position when going home from an app. (Bug 6486197)
Change-Id: I0970cae464346a652080d5603eef1263fc11fb03
2012-05-14 11:04:32 -07:00
Winson Chung
315b3ba6f1 Updating QSB animation to mirror the drop target bar and slide up instead of fade out.
Change-Id: Ic44a4d1f3dac1e51dafba166a0e761e06d20d405
2012-05-11 10:57:43 -07:00
Michael Jurka
3a9fcedbcd Fix warnings and remove dead code
Change-Id: I574d823fedf4b752c3df5a72599b390f708823ac
2012-04-13 14:52:51 -07:00
Winson Chung
043f2af567 Adding fling-to-delete.
- Also fixing issue where the drop target icon changes color slower than the text.

Change-Id: I0bfa59da5d202016342f1c3de419ebcafd81ff6f
2012-03-20 15:18:05 -07:00
Michael Jurka
bed61d22bd Revert "Revert "Speed up All Apps -> Workspace transition""
- also, undo enabling hardware layers for
    scroll indicator, which could have caused
    slowness
- fix bug where scroll indicator was not seen
    after the first visit to all apps
- eliminate a some needless hardware layer redraws
- making items under All Apps invisible when we're
    in All Apps
- making workspace spaces invisible if their alpha is 0
    to prevent more hardware layer rebuilding

This reverts commit 9753d13c7b.

Change-Id: Ib908ae0b456b2d4b8a171991a95f20aea4749da1
2012-02-15 20:22:50 -08:00
Michael Jurka
9753d13c7b Revert "Speed up All Apps -> Workspace transition"
Temp fix for 5976264

This reverts commit 9433fa7eba.

Change-Id: Ic49ffc818b9b233b3717b52a5f77eaac1e001f5b
2012-02-14 13:36:59 -08:00
Michael Jurka
9433fa7eba Speed up All Apps -> Workspace transition
- use HW layers on Views whose alpha is faded
- don't run animation end code until the entire launcher
transition is finished
- be more aggressive about making workspace pages visible
after an animation, potential fix for Bug #5867739

Change-Id: I52a088e551c1636a67725629640286b885070f32
2012-01-20 06:50:06 -08:00
Michael Jurka
81efbad05e Reduce unnecessary layout passes
- Also delete unused code
2011-11-10 11:22:48 -08:00
Mathew Inwood
cf7f63bb4d Add source bounds of QSB bar to global search intents.
Bug: 5235747

Change-Id: I4baae02923da89826559bd133024453cd4cec661
2011-10-14 14:14:32 +01:00
Winson Chung
c51db6accf Fixing some search box issues.
- Voice search still clickable and causes crash (Bug: 5371480)
- Empty search box when QSB is disabled (Bug: 5358074)

Change-Id: I97cef678b012c8294fca9149e22458abed31075d
2011-10-05 14:30:32 -07:00
Winson Chung
a6427b15c1 Fixing minor bugs (5085316, 5082963, 5042828)
- Adding separator between qsb and workspace content
- Adding a bit of spacing between drawables and text in all apps
- Making the drop target area smaller...

Change-Id: I1bebe7dff20fc30e4896de1dcf23d23b62a31a07
2011-07-27 14:34:03 -07:00
Adam Cohen
d4d7aa551f Adding animations when dropping on delete / uninstall drop target
-> issue 5043661

Change-Id: I4e4830acc15e006e637b35c3d0dcc72c23414b95
2011-07-19 21:49:13 -07:00
Winson Chung
a62e9fd95a Cleaning up some drop-target issues.
- Setting text color during drag over transitions
- Fixing regression in drop target padding
= Using old drop-down animation where possible

Change-Id: Ia1c5ec9e58fc734d28133349d9920d123ed71ae6
2011-07-12 16:04:46 -07:00
Winson Chung
aaa530adc9 Tweaking drop target transition to prevent flash.
Change-Id: I7a0204685f1d377117b4d8e39b1c0d32e7b37a76
2011-07-11 21:06:54 -07:00
Winson Chung
557d6ed50c Fixing issues with spring loaded adding.
- Delaying until items are added
- Showing bg when going into spring loaded mode
- Fixing regression where dropping widgets on full page would not trigger a notification
- Fixing regression on tablet where pages were no longer being rotated or shown

Change-Id: Iadc0c406f0c065c5029addea1abfee395eed81b9
2011-07-11 11:38:24 -07:00
Winson Chung
201bc828d5 Need to remove views and not just hide them after animations.
- Removing Manage Apps button from workspace and renaming it in AppsCustomize
- Fixing foolish string play in resources from initial change for search bar
- Using proper way to get full screen dims for wallpaper fix

Change-Id: I1319d225135436468f1feb3057cd9f28eda7c89c
2011-06-20 17:14:37 -07:00
Winson Chung
61fa4197c4 Fixing drop target area, and adding bg color indicators.
- Merging wallpaper fix and PagedViewIconCache key fix

Change-Id: I2a65bc4b642f020dfc4d2223a36d3ebcf41de5f5
2011-06-13 11:51:18 -07:00
Winson Chung
f0ea4d3378 Replacing AllApps/Customize in tablet UI with Apps/Customize.
Change-Id: I11a296b25472e4bf298a468865b0dff29f500aaa
2011-06-13 11:49:32 -07:00
Winson Chung
4c98d9235d Adding drag target bar.
Change-Id: Ia00ed30264ea5f1d3c919111d15588ef441bfe20
2011-06-01 17:28:23 -07:00