History log of /frameworks/base/core/java/com/android/internal/widget/SlidingTab.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
723a725e790d269f32980116e775d3d7f0037865 12-Oct-2012 Jeff Sharkey <jsharkey@android.com> Make all lockscreen widgets follow haptic flag.

Bug: 7337006
Change-Id: I782e498b7528e612c4b06a75b77f5521c951cbd6
/frameworks/base/core/java/com/android/internal/widget/SlidingTab.java
f76a50ce8fdc6aea22cabc77b2977a1a15a79630 09-Mar-2012 Ken Wakasa <kwakasa@google.com> Fix obvious typos under frameworks/base/core

Change-Id: Ia5fc3db1bb51824e7523885553be926bcc42d736
/frameworks/base/core/java/com/android/internal/widget/SlidingTab.java
a18a86b43e40e3c15dcca0ae0148d641be9b25fe 07-Sep-2010 Chet Haase <chet@google.com> Rename several animation classes

Change-Id: I6a4544875090db485163c8d56de8718f56d267c7
/frameworks/base/core/java/com/android/internal/widget/SlidingTab.java
3747f3f41fa228e958d39f3cbf2781fb8062f3e7 17-Aug-2010 Jim Miller <jaggies@google.com> Fix 2926276: Remove spurrious warning about unspecified measurespec.

Only issue the warning in debug mode.

Change-Id: I5fecb2e6b0013ce775187a878f5a81317e758f2c
/frameworks/base/core/java/com/android/internal/widget/SlidingTab.java
92c1571f0a5202f742d3318d5f852dc5e395d19c 26-May-2010 Jim Miller <jaggies@google.com> Fix 2584857: Reset grabbed state when SlidingTab visibility changes

This fixes a case where the widget is hidden while the grabbed
state is set. The result is that the host of the widget is never
informed that the grabbed state changed.

Change-Id: I78b41cff0e31e982a3b46f0319260ba59815092c
/frameworks/base/core/java/com/android/internal/widget/SlidingTab.java
966a8c78598bdba1e8993428b5b1eef4d97ae501 26-Mar-2010 Jim Miller <jaggies@google.com> Fix 2537999: Don't throw exception when SlidingTab has UNSPECIFIED specs

This is try to capture the case where we sometimes see UNSPECIFIED
MeasureSpec in SlidingTab. It should be OK as long as one of the dimensions
is constrained. The log event will give some indication of what's
going on when this happens.

This also fixes a bug where it was possible to not reset the mAnimating flag
in the Phone app.

Change-Id: Ibab1c944ec895a7c19d5a18cc67f6e4db716f685
/frameworks/base/core/java/com/android/internal/widget/SlidingTab.java
798c4b985d5c7909f9dd0ee9464bffae1d0b6026 30-Jan-2010 Jim Miller <jaggies@google.com> am 3a8a2818: am d8a3a895: Fix 2404771: Expose reset() in SlidingTab widget so we can reset it when we get an incoming call.

Merge commit '3a8a28185bc26ccfdf847016d5a40af35436ca97'

* commit '3a8a28185bc26ccfdf847016d5a40af35436ca97':
Fix 2404771: Expose reset() in SlidingTab widget so we can reset it when we get an incoming call.
d8a3a8957b9d71ab75584b0cc98324fd70cc527c 30-Jan-2010 Jim Miller <jaggies@google.com> Fix 2404771: Expose reset() in SlidingTab widget so we can reset it when we get an incoming call.

Updated javadoc.
/frameworks/base/core/java/com/android/internal/widget/SlidingTab.java
cd2354f5407f77f150c1d445a3bb3ec2180db51f 22-Jan-2010 Jim Miller <jaggies@google.com> am 84928fa9: am 813d2d86: Merge "Fix for 2292713: Remove workaround that hides SlidingTab widget while internal state is inconsistent." into eclair

Merge commit '84928fa93c3be222b77794de9922d299f4971ea4'

* commit '84928fa93c3be222b77794de9922d299f4971ea4':
Fix for 2292713: Remove workaround that hides SlidingTab widget while internal state is inconsistent.
2cd1e6eda90170114e0795b13f65f964296cf2f2 16-Jan-2010 Jim Miller <jaggies@google.com> Fix for 2292713: Remove workaround that hides SlidingTab widget while internal state is inconsistent.

The previous workaround for this race condition prevented glitches by postponing drawing the SlidingTab until the internal state was consistent.
Unfortunately, the InCallScreen seems to trigger this most of the time if the keyboard is open or the last application was in landscape mode.

Instead, we'll handle this separately in lockscreen.
/frameworks/base/core/java/com/android/internal/widget/SlidingTab.java
980a938c1c9a6a5791a8240e5a1e6638ab28dc77 09-Jan-2010 Romain Guy <romainguy@android.com> Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
/frameworks/base/core/java/com/android/internal/widget/SlidingTab.java
8b63ab664ff5068d022c080ce04995a0bfdd7030 02-Dec-2009 Jim Miller <jaggies@google.com> Better animation for sliding widget.

Because of the way an Animation handles invalidates, we need to have one Animation per widget being animated.
/frameworks/base/core/java/com/android/internal/widget/SlidingTab.java
1d0a152fa8905b9dfb87dc87da8e5432e48eae96 18-Nov-2009 Jim Miller <jaggies@google.com> Workaround for 2262578: Don't draw tabs if view is not in the correct orientation for the layout

This is an uber hack. Since there is a race between resizing the view and getting
the orientation-changed notification, this just tries to avoid drawing the tabs in the
wrong orientation (based on what we *expect* to be the orientation specified in the layout
file for the SlidingTab). This masks the problem *most* of the time.
/frameworks/base/core/java/com/android/internal/widget/SlidingTab.java
4f01d4a4da7754dbe6a49cca8f94e81104acb87f 17-Nov-2009 Jim Miller <jaggies@google.com> Fix 2209086: Clean up visual glitches in SlidingTab for lock and incall screen.

This fixes the following glitches:
- flash at the end of animation as the widget resets. Fix: new "hold" animation holds the view for 1 second, allowing it to transition before we reset the view.
- target flashing. Fix: remove AlphaAnimation when we want to hide the target.
- bar appears to get stuck at edge. Fix: sliding bar now slides fully offscreen when hold == true. Added setHoldAfterTrigger() method to allow InCallScreen and LockScreen to have different behaviors.
- view continues to animate when shown again. Fix: reset the animations and sliders when the view is hidden.

Tested:
Answer/Decline call on CDMA and GSM device.
Unlock phone and toggle sound on/off in LockScreen on both devices.
/frameworks/base/core/java/com/android/internal/widget/SlidingTab.java
521d400b230bee5e7b9748f26832c0d0275b8253 16-Nov-2009 Jim Miller <jaggies@google.com> Fix 2209086: Add animations and misc ui improvements to SlidingTab.

Added translation animation where tab "flies" when you release.
Added translation animation where pressing and releasing one tab will hide/show the other
Added alpha animation to make target appear gradually
Added margin around swipe area to allow easier unlocking.
Removed unused handler.
/frameworks/base/core/java/com/android/internal/widget/SlidingTab.java
16a9d9a736a1bfdc12aa54c549508dd12596247f 14-Nov-2009 Jim Miller <jaggies@google.com> Fix 2209086: Fix missing callback that was preventing tab bar text from updating.

Also includes a cosmetic fix to move the Digital clock down a bit.
/frameworks/base/core/java/com/android/internal/widget/SlidingTab.java
425ca595dcc37ddb7a9f96310e5b800f424811a6 14-Nov-2009 Jim Miller <jaggies@google.com> Fix 2261626: Don't show text on button if orientation is vertical.
/frameworks/base/core/java/com/android/internal/widget/SlidingTab.java
4811d62d5f07a1ffbf085d5e424e2b54d0e7ebfd 13-Nov-2009 Jim Miller <jaggies@google.com> Fix 2209086: Updated assets and fixed widget dimension calculation.

Added hvga assets for new lock screen widget.

Tested:
LockScreen on wvga and hvga devices.
InCallScreen on wvga and hvga devices.
/frameworks/base/core/java/com/android/internal/widget/SlidingTab.java
4df2c5433bb530fae6191a0298a6d494ca03eaa7 12-Nov-2009 Jim Miller <jaggies@google.com> Fix 2209086: restore drawable states when drawables change.

This fixes a bug where the right tab hightlight wasn't being seen.
The prooblem was that we weren't preserving the drawables' states when
the application requested a new drawable. We now track the drawable state
so we can updated it when the resources change.
/frameworks/base/core/java/com/android/internal/widget/SlidingTab.java
753401aa471d2fb87ab937c2b02b182ebc215c3a 12-Nov-2009 Jim Miller <jaggies@google.com> Fix 2209086: add drawables for SlidingTab states in PhoneApp. Update string file for new SlidingTab sound states.
Tweak "animation" to be 250ms based on conversation with ui guys. Some minor performance tweaks to SlidingTab.
/frameworks/base/core/java/com/android/internal/widget/SlidingTab.java
24ccf3c59077d81b0dd3b314822ff7dab215c165 11-Nov-2009 Jim Miller <jaggies@google.com> Fix for 2209086: Initial pass at new SlidingTab widget and integration into LockScreen.

Tested:
- unlock and mute/unmute

Not working:
- highlighting on right tab.
/frameworks/base/core/java/com/android/internal/widget/SlidingTab.java