History log of /frameworks/base/core/java/android/widget/TabWidget.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8eea3ea5591e59f55cbb4f6b2b7e9363a285ced3 04-Feb-2014 Alan Viverette <alanv@google.com> Add APIs for obtaining themed Drawable from Theme, Context

BUG: 12611005
Change-Id: Ic0057be4e4c2d0c61ce02a019b3f7d0625e3a016
/frameworks/base/core/java/android/widget/TabWidget.java
617feb99a06e7ffb3894e86a286bf30e085f321a 10-Sep-2013 Alan Viverette <alanv@google.com> Add View constructor that supplies a default style resource

Also updates the constructor of every class that extends View.

BUG: 10676369
Change-Id: Ifaf27bf82028d180afa4931c0e906df88d858ac3
/frameworks/base/core/java/android/widget/TabWidget.java
0f7551341f7504632e4943c66d6a4fd504bf5a0e 14-Sep-2012 Alan Viverette <alanv@google.com> Revert "Add accessibility scroll actions to TabWidget"

This reverts commit 6053088884171f67e2df253576eab116fd05b4fe

Change-Id: Ia648d7e3e092c396a038740d708de37fe4169d80
/frameworks/base/core/java/android/widget/TabWidget.java
6053088884171f67e2df253576eab116fd05b4fe 13-Sep-2012 alanv <alanv@google.com> Add accessibility scroll actions to TabWidget

Bug: 6537369
Change-Id: I8a5bf1d6f85f0ceef316aa4a5938d32a545587db
/frameworks/base/core/java/android/widget/TabWidget.java
399df5677bd116a016664a10a0da432da29e829d 03-Jul-2012 Scott Main <smain@google.com> docs: various link fixes and other typos from external tracker

Change-Id: I2a107f7e16429c0fe80c5e4cb67ecfaf267db301
/frameworks/base/core/java/android/widget/TabWidget.java
8a78fd4d9572dff95432fcc4ba0e87563415b728 17-Jan-2012 Svetoslav Ganov <svetoslavganov@google.com> AccessibilityEvent/AccessibilityNodeInfo class name property should be set to only framework classes.

AccessibilityEvent and AccessibilityNodeInfo have a property className which is set to the source
Java class. This is problematic since leads to leaking private classes which would allow an
accessibility service to load classes from other packages. This is strongly undesirable since
not trusted code can be loaded, and hence executed, in the accessibility service. To address
that the class name is set to the most concrete framework class extended by the info/event
source.

bug:5878943

Change-Id: I7b3114ece8772ea2773f5151e21b8a6f2006882a
/frameworks/base/core/java/android/widget/TabWidget.java
031d9c1389de2b9dac7f175af0b962e24b21d5be 10-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding accessibility delegate mechanism for backwards compatibility support.

1. Added an AccessibilityDelegate class in View which can be set by
a client that wants to cutomize accessibility behavior via
composition as opposed to inheritance. Insead overriding a new method in
View thus being bound to the API version that introduced this
method a developer can conditionally inject the accessibility
customization if the platform API version is heigh enough. The
developer will have to override the method of interest of the
delegate. The default implementation of the delegate methods is
the same as that of View in the case that there is no delegate
set. If a delegate is set calling an accessibility related method
on View will be handed off to the corresponsing method of the
delegate.

bug:5259555

Change-Id: I00e750e22e5e7164a1b571cb3d12ecaf4ab93db4
/frameworks/base/core/java/android/widget/TabWidget.java
0b0a41d8e26eaf0f1d9d922621494daf40964a9a 08-Sep-2011 Svetoslav Ganov <svetoslavganov@google.com> Not visible view should not be announced or interacted with.

1. Some invisible views' text was reported by accessibility events.

2. Accessibility actions could have been perfromed on invisible views.

bug:5264355

Change-Id: I68184fb436a3e10e947ec6f1eae02aa3d0d1cb7f
/frameworks/base/core/java/android/widget/TabWidget.java
11f4a48c54f3006778c874662ff04a4d9d157f25 09-Aug-2011 Jeff Sharkey <jsharkey@android.com> Adjust holo tabs to match spec.

Change-Id: I8653ab10cd45bed3c38b15362e80af6c3319f763
/frameworks/base/core/java/android/widget/TabWidget.java
cd2ca4038a027315832c38c68be5076000bc4b53 11-Jun-2011 Jeff Sharkey <jsharkey@android.com> Move data cycle methods to framework object.

Moved so they can be used by both system service and Settings UI, since
they both work with data usage cycles. Still covered by tests.

Change-Id: I01c0c4db6da9457dd867c9167d31a5f9f8e5f5d9
/frameworks/base/core/java/android/widget/TabWidget.java
30401328c1026389171d454c934c15875c3f7ff0 13-May-2011 Svetoslav Ganov <svetoslavganov@google.com> Factored out the Accessibility vertical initialization.

1. Accessibility events were filled with data in
dispatchPopulateAccessibilityEvent and
onPopulateAccessibilityEvent. These events have
two axis of population 1) up the class
hierarchy to populate information for the event
source; 2) down the view hierarchy to populated
all the text contained in the source including
its descendants. These two axis of population
were done in on population pass now the populating
the source properties happens in initializeAccessiblityEvent
and the text in onPopulateAccessibilityEvent which
is called from dispatchPopulateAccessiblityEvent.

2. Removed the string description from events fired from
CompoundButton since the event has isChecked()
property and it is responsibility of the clients
to decide what utterrance to use and if to use such
for announcing the checked state.

Change-Id: I5d7f75cf8a87a7a4b3bb7b311e8e642ec9a0faa5
/frameworks/base/core/java/android/widget/TabWidget.java
736c2756bf3c14ae9fef7255c119057f7a2be1ed 23-Apr-2011 Svetoslav Ganov <svetoslavganov@google.com> Touch exploration feature, event bubling, refactor

1. Added an Input Filter that interprets the touch screen motion
events to perfrom accessibility exploration. One finger explores.
Tapping within a given time and distance slop on the last exlopred
location does click and long press, respectively. Two fingers close
and in the same diretion drag. Multiple finglers or two fingers in
different directions or two fingers too far away are delegated to
the view hierarchy. Non moving fingers "accidentally grabbed the
device for the scrren" are ignored.

2. Added accessibility events for hover enter, hover exit, touch
exoloration gesture start, and end. Accessibility hover events
are fired by the hover pipeline. An accessibility event is
dispatched up the view tree and the topmost view fires it.
Thus predecessors can augment the fired event. An accessibility
event has several records and a predecessor can optionally
modify, delete, and add such to the event.

3. Added onPopulateAccessibilityEvent and refactored the existing
accessibility code to use it.

4. Added API for querying the currently enabled accessibility services
by feedback type.

Change-Id: Iea2258c07ffae9491071825d966dc453b07e5134
/frameworks/base/core/java/android/widget/TabWidget.java
3fb3d7c4e756bd32d5abde0abca9ab52d559bc84 23-Apr-2011 Adam Powell <adamp@google.com> Revert "Touch exploration feature, event bubling, refactor"

This reverts commit ac84d3ba81f08036308b17e1ab919e43987a3df5.

There seems to be a problem with this API change. Reverting for now to
fix the build.

Change-Id: Ifa7426b080651b59afbcec2d3ede09a3ec49644c
/frameworks/base/core/java/android/widget/TabWidget.java
ac84d3ba81f08036308b17e1ab919e43987a3df5 05-Apr-2011 Svetoslav Ganov <svetoslavganov@google.com> Touch exploration feature, event bubling, refactor

1. Added an Input Filter that interprets the touch screen motion
events to perfrom accessibility exploration. One finger explores.
Tapping within a given time and distance slop on the last exlopred
location does click and long press, respectively. Two fingers close
and in the same diretion drag. Multiple finglers or two fingers in
different directions or two fingers too far away are delegated to
the view hierarchy. Non moving fingers "accidentally grabbed the
device for the scrren" are ignored.

2. Added accessibility events for hover enter, hover exit, touch
exoloration gesture start, and end. Accessibility hover events
are fired by the hover pipeline. An accessibility event is
dispatched up the view tree and the topmost view fires it.
Thus predecessors can augment the fired event. An accessibility
event has several records and a predecessor can optionally
modify, delete, and add such to the event.

3. Added onPopulateAccessibilityEvent and refactored the existing
accessibility code to use it.

4. Added API for querying the currently enabled accessibility services
by feedback type.

Change-Id: Iec03c6c3fe298de3f14cb6efdbb9b198cd531a0c
/frameworks/base/core/java/android/widget/TabWidget.java
52a5e6588395c9cea128d245a2572b7d69bbb12c 01-Mar-2011 Gilles Debunne <debunne@google.com> Scrollable tabs are correctly displayed.

Bug 3495561

Change-Id: I1fe4962ddbe2435c335c76769d37f57f4b30a3b3
/frameworks/base/core/java/android/widget/TabWidget.java
cd59febcea2b75ebe657786133dcfa81fc3d5eb1 25-Feb-2011 Gilles Debunne <debunne@google.com> AIOOB exception fix in TabWidget

Bug http://code.google.com/p/android/issues/detail?id=15005

The problem was not specific to the legacy theme. The code that first
measure the tab's width with no contraint was incorrectly using the
mImposedTabsWidth array which could not have the right size if a
child was added.

The first measure after a child is added should indeed crash. Could
be investigated. This fix is sure anyway.

Change-Id: I4c0594e92019aabc545619e874bdfd49ce69c90e
/frameworks/base/core/java/android/widget/TabWidget.java
c1eb127f4e19c1f86e4b18c2c1daebe2404eeb93 31-Jan-2011 Gilles Debunne <debunne@google.com> Merge "Tabs are resized to make sure they fit in their parent." into honeycomb
1ec7e20237932f14588a90e5d7378acad8efec80 28-Jan-2011 Dianne Hackborn <hackbod@google.com> Fix issue #3403539: WordPress crashes on Honeycomb

Change-Id: Ia86e26b5bd266d8e3362a04e412a58b98a062d5f
/frameworks/base/core/java/android/widget/TabWidget.java
c4d3f759dd6ccc5147c1e616958c8fb9415df6b9 26-Jan-2011 Gilles Debunne <debunne@google.com> Tabs are resized to make sure they fit in their parent.

Bug 3400841

The original bug 3365301 was fixed in
https://android-git.corp.google.com/g/#change,92920

This new version fixes problems. super.measureHorizontal has to be
called twice to correctly handle child padding, dividers... and to
enforce the original spec mode provided.

Change-Id: I1ba1c3f3b2c8296c13ca51ce330b540caaddb7eb
/frameworks/base/core/java/android/widget/TabWidget.java
6741c941a76d17c257c396d86c7561aa43005b1a 26-Jan-2011 Gilles Debunne <debunne@google.com> Tabs are resized to make sure they fit in their parent.

Bug 3365301

This is a first implementation. The text inside the tabs is clipped
and can be hardly readable.

A nicer complimentary solution is to reduce the 40dip padding in portrait mode.

Change-Id: I19439ee6a63c3f9dcdcc944ddbbc18a81949db79
/frameworks/base/core/java/android/widget/TabWidget.java
63f366978e10ed243e7d63d24fddcc1b0017eb68 01-Nov-2010 Jean-Baptiste Queru <jbq@google.com> am 41c73884: am 5b4d0e84: Merge "TabWidget orientation"

* commit '41c738849c1fdf29357048ec9f5e48143dbb026a':
TabWidget orientation
41c738849c1fdf29357048ec9f5e48143dbb026a 01-Nov-2010 Jean-Baptiste Queru <jbq@google.com> am 5b4d0e84: Merge "TabWidget orientation"

* commit '5b4d0e84d314bd58efb9dcf4e7f23f0d0e3fc630':
TabWidget orientation
44c1473c03a0021224fa94af9b1e3579ec244b12 19-Oct-2010 Gilles Debunne <debunne@google.com> New Holo style for Tabs.

Holo theme with new assets and style for TabWidgets.

Legacy Themes still use GB style.

Assets added in a previous bluk update were removed.

Change-Id: Ia4a612678561fa5047bbd2a72488086c0f3d61a1
/frameworks/base/core/java/android/widget/TabWidget.java
a7e77546ca9e408373b7718aaf807bbbb5097cbe 26-Oct-2010 Roger Olsson <roger.olsson@sonyericsson.com> TabWidget orientation

TabWidget orientation specified in tab_content.xml instead of TabWidget.java.
Generally, the orientation of the TabWidget should be set in xml-files
and not in TabWidget.java. A sub class of TabActivity may call setContentView()
using a custom layout where the TabWidget orientation is vertical.
This is the case in the UI Enablers Bottom Tab feature, for landscape
display orientation.

Change-Id: Ia677441a0af96a8d2ab47ef3298eb440c34924f6
/frameworks/base/core/java/android/widget/TabWidget.java
97dfd3492f81525fb3560a74abaee9f965f138a9 21-Oct-2010 Gilles Debunne <debunne@google.com> Fix to display first tab as selected on tab widget creation.

Change-Id: Icc6ec78d2392a300b43b522b3dc18d0ab1223116
/frameworks/base/core/java/android/widget/TabWidget.java
5ac413a1d40b04f12d80d65b7c0168b5b225b3e7 06-Oct-2010 Svetoslav Ganov <svetoslavganov@google.com> 2853037 AccessibilityEvent should describe Tab controls

Change-Id: I7121719135ba996000064a7468faeee62df98e14
/frameworks/base/core/java/android/widget/TabWidget.java
41ec65355bd6ded652769725b276d47c54a0d913 20-Aug-2010 Scott Main <smain@google.com> docs: add links from widget classes to tutorials

Change-Id: I817e885524951853182b0458df4a32dea1614243
/frameworks/base/core/java/android/widget/TabWidget.java
6b1e6969828f05a2f5f55825fdf16b19c9dce2dd 29-Mar-2010 Romain Guy <romainguy@google.com> Rename tab widget attributes, remove scroll barrier constant.
Bug #2553515 #2553595

Change-Id: Id36280a57f00a1ee59251be6be1aae8df2189c09
/frameworks/base/core/java/android/widget/TabWidget.java
65fe2c08fa5332f5e2aaa805a029855e876e485e 29-Mar-2010 Romain Guy <romainguy@google.com> Rename private fields to break bad code examples

Change-Id: I4a3e8df5de159c703db244212f78824e4105ba90
/frameworks/base/core/java/android/widget/TabWidget.java
db54ea0fb61b77920137bd5ad31cb4451e87fa95 22-Mar-2010 Marco Nelissen <marcone@google.com> Fix Tabwidget copy/paste bug.

Change-Id: I8e75ec65353748ec794862cfb0e76653ba4fc428
/frameworks/base/core/java/android/widget/TabWidget.java
189f65c12ff673087fda20e33ebcfb603143c0d3 22-Mar-2010 Marco Nelissen <marcone@google.com> Fix javadoc copy/paste error.

Change-Id: I6a504176e96b8dc54356305cc00acfe3d1e5b1ed
/frameworks/base/core/java/android/widget/TabWidget.java
42c79880b0c19dfbcd8589d89d35fcedb1a7c9da 02-Mar-2010 Romain Guy <romainguy@android.com> Apply alpha animations on ImageView instances.
Bug #2479570
/frameworks/base/core/java/android/widget/TabWidget.java
7883c975dd0db021fa3a01226d6cb09c28764c98 02-Mar-2010 Romain Guy <romainguy@android.com> Prevent crash in Dialog.
Bug #2249637
/frameworks/base/core/java/android/widget/TabWidget.java
61c9d4b4509aeaab1fcad24fb5a63c874d2fd941 01-Mar-2010 Romain Guy <romainguy@android.com> Let apps change the bottom strip in TabWidget.
Bug #2478088

Also expose a few useful APIs.
/frameworks/base/core/java/android/widget/TabWidget.java
980a938c1c9a6a5791a8240e5a1e6638ab28dc77 09-Jan-2010 Romain Guy <romainguy@android.com> Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
/frameworks/base/core/java/android/widget/TabWidget.java
acdef59d66094f11da4a6f57194747dc06f73da2 10-Dec-2009 Bjorn Bringert <bringert@android.com> Fix TabHost NPE when there are no tabs

Fixes http://b/issue?id=2318588

Change-Id: If90ee7e2b777e4c77fdd0ae768d1ececa792ee1b
/frameworks/base/core/java/android/widget/TabWidget.java
7609764295d1b3ec0b53d1ae536ee0280f5e0407 26-Sep-2009 Mike Cleron <mcleron@google.com> Fix 2146581: Make tabs work for donut apps
Use different tab assets with the original coloring scheme
for apps that are not Eclair-aware.
/frameworks/base/core/java/android/widget/TabWidget.java
3730bb1cd59bcfa9f5cad8361997b84113ed5923 21-Aug-2009 Evan Millar <emillar@google.com> New List and Tab assets.

New tab assets. We decided to do a straight swap and then assess the
damage.

New default dark background color.

New list divider assets.

Change-Id: Ia00a9bb0ee1bad4f955f1c3b5b67526f62572015
/frameworks/base/core/java/android/widget/TabWidget.java
5d5cd178e3afe4a0069d392834cdebcc5c35cc08 29-Jul-2009 Jack Veenstra <veenstra@android.com> Fix the TabWidget to display custom views for the tabs better when the tabs have different sizes.
/frameworks/base/core/java/android/widget/TabWidget.java
53175148c9b962c0ffe9cea0f3dc68bc0196e044 02-Jun-2009 Jack Veenstra <veenstra@android.com> Add support for custom tab views in TabHost and TabWidget.

This change adds the ability to specify an arbitrary view for a tab
indicator. It also adds support for specifying a drawable to use as
the divider between tab views.
/frameworks/base/core/java/android/widget/TabWidget.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/widget/TabWidget.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/widget/TabWidget.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/widget/TabWidget.java