summaryrefslogtreecommitdiffstats
path: root/core/java/android/widget/TabHost.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused imports in frameworks/base.John Spurlock2015-02-281-3/+0
| | | | Change-Id: I031443de83f93eb57a98863001826671b18f3b17
* First quick implementation of auto assist data.Dianne Hackborn2015-02-061-11/+2
| | | | | | | | | | | | | | Introduce new AssistData class that contains all data the framework automatically generates for assist. Currently populated with a very simple tree structure representing the app's view hierarchy. Reworked how we populate the class name for accessibility info, so this is provided through a new method call on View that subclasses can override. This method is also used to populate the class name in AssistData. Change-Id: Ibd0acdc8354727d4291473283b5e4b70894905dc
* Fix accessibility delegationAlan Viverette2015-01-071-5/+8
| | | | | | | | | | | | | | | Ensures that delegate code is run last. Previously, calling the super method from an accessibility delegate set on a widget would only run code in the widget's parent. Next, the delegate code would run. Finally, the widget's code would run. As a result, the widget code would override any data supplied by the delegate. By moving all overridden code to internal methods, we ensure that the call chain for super includes the widget's parent code followed by the widget's code. The delegate code will always run last. BUG: 17641433 Change-Id: Ib9d403156c1fc4fb04f65f3c126d1277a44b3740
* Add View constructor that supplies a default style resourceAlan Viverette2013-09-091-3/+10
| | | | | | | Also updates the constructor of every class that extends View. BUG: 10676369 Change-Id: Ifaf27bf82028d180afa4931c0e906df88d858ac3
* Merge "TabHost key handling corrected"Jean-Baptiste Queru2012-08-171-8/+63
|\
| * TabHost key handling correctedRoger Olsson2012-06-081-8/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When receiving key presses in TabHost.java, focus should be requested for the selected tab indicator provided that the following conditions are fulfilled: 1) A content view inside an embedded activity is currently focused. 2) No focusable view exists in the direction of the navigation key press inside the embedded activity. 3) The TabWidget is located in the direction of the navigation key press. This should work for all locations of the TabWidget, not only when the TabWidget is located above the tab content. Change-Id: Ic5862cb72d2cc95aed9de92e42d6e0faf959fd43
* | docs: various link fixes and other typos from external trackerScott Main2012-07-021-2/+0
| | | | | | | | Change-Id: I2a107f7e16429c0fe80c5e4cb67ecfaf267db301
* | AccessibilityEvent/AccessibilityNodeInfo class name property should be set ↵Svetoslav Ganov2012-01-171-0/+14
|/ | | | | | | | | | | | | | | 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
* Adjust holo tabs to match spec.Jeff Sharkey2011-08-151-2/+8
| | | | Change-Id: I8653ab10cd45bed3c38b15362e80af6c3319f763
* Removed ViewTreeObserver null checksGilles Debunne2011-02-221-6/+2
| | | | Change-Id: Ib11cbe188ac059cc3eaa24c178b2746a8b519918
* Support custom themes in TabHost.Gilles Debunne2010-12-151-3/+5
| | | | | | | | | | | CL 76118 introduced style customized tab layout. However, applications which tabWidgetStyle has been overriden and does not inherit from Widget.TabWidget will not be able to access tabLayout. Use the default holo layout for these. Bug 3235944 Change-Id: I5666c5ef2886060a2175a3d642b012cdaf0a1d50
* New Holo style for Tabs.Gilles Debunne2010-10-261-5/+24
| | | | | | | | | | 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
* 2853037 AccessibilityEvent should describe Tab controlsSvetoslav Ganov2010-10-051-0/+5
| | | | Change-Id: I7121719135ba996000064a7468faeee62df98e14
* docs: add links from widget classes to tutorialsScott Main2010-08-191-0/+3
| | | | Change-Id: I817e885524951853182b0458df4a32dea1614243
* Let apps change the bottom strip in TabWidget.Romain Guy2010-03-011-1/+1
| | | | | | Bug #2478088 Also expose a few useful APIs.
* Closed tabs removed from layout.Gilles Debunne2010-02-101-3/+3
| | | | | | | TabHost sets closed tabs visibility to GONE instead of INVISIBLE, so that they are no longer considered by the layout. Change-Id: I74efea13d43e3c7ce21476c7bbcb3bb1cca8bf29
* Deprecate fill_parent and introduce match_parent.Romain Guy2010-01-081-2/+2
| | | | Bug: #2361749.
* Fix TabHost NPE when there are no tabsBjorn Bringert2009-12-111-1/+4
| | | | | | Fixes http://b/issue?id=2318588 Change-Id: If90ee7e2b777e4c77fdd0ae768d1ececa792ee1b
* Fix 2146581: Make tabs work for donut appsMike Cleron2009-09-251-7/+19
| | | | | Use different tab assets with the original coloring scheme for apps that are not Eclair-aware.
* New List and Tab assets.Evan Millar2009-08-261-10/+14
| | | | | | | | | | | 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
* Fix possible NPE on touch mode change in TabHost.Romain Guy2009-08-181-3/+4
|
* Add support for custom tab views in TabHost and TabWidget.Jack Veenstra2009-06-101-4/+34
| | | | | | 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.
* Fix javadoc typos. No code changes.Jack Veenstra2009-05-271-5/+6
| | | | Also reformatted a comment that was too long.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+632
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-632/+0
|
* auto import from //branches/cupcake/...@132276The Android Open Source Project2009-02-191-3/+3
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+632