summaryrefslogtreecommitdiff
path: root/core/java/android/widget/TableLayout.java
Commit message (Collapse)AuthorAgeFilesLines
* Update language to comply with Android's inclusive language guidanceJeff Sharkey2020-09-141-1/+1
| | | | | | | | | See https://source.android.com/setup/contribute/respectful-code for reference Test: none Bug: 168334533 Exempt-From-Owner-Approval: docs updates Change-Id: I245b8d9cac722da76ea67983738a3cbb9deb68df
* Fix import statements in android.widget package.Aurimas Liutikas2016-10-111-2/+3
| | | | | | | Additionally this CL removes spaces at the end of the line. Test: code still compiles. Change-Id: I1ce98b4e70aa3ae614f87966c3bc6181fa4389a4
* Enforce the contract laid out in JavadocsKirill Grouchnikov2016-06-201-0/+5
| | | | | | | | | | | | Make sure that copy constructors respect the contract stated in the Javadocs that all child views have their width forced to MATCH_PARENT. Also copy weight field if the copy constructor gets another instance of TableLayout.LayoutParams Bug: 29502952 Change-Id: I27bf581179f528c9ad2e15ab448ba1f044696473
* Make UNSPECIFIED measure spec include size hint.Filip Gruszczynski2015-04-161-3/+3
| | | | Change-Id: I6c4f193d0590824c644e20e8af16d055a04ac9c9
* 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-4/+6
| | | | | | | | | | | | | | | 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
* am b1f434c1: am 744b4dca: am 09a5321c: Merge "Revert "Revert "This restores ↵Dave Burke2012-10-181-2/+7
|\ | | | | | | | | | | | | JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.""" into jb-mr1-dev * commit 'b1f434c16eefb028ef441ba40df8abe1e087a4eb': Revert "Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.""
| * Revert "Revert "This restores JB MR0 behavior where the framework throws an ↵Dave Burke2012-10-181-2/+7
| | | | | | | | | | | | | | | | exception for improper layouts that are missing layout_width and/or layout_height."" This reverts commit 57fca90ac65ecfe97acd4c93d442c3db8f815e11 Change-Id: I21b007a7d150a4c23f25a706cdba5cb86198198f
* | am 22bd3726: am 76a01424: am 871a6d7d: Merge "Revert "This restores JB MR0 ↵Justin Ho2012-10-171-7/+2
|\ \ | | | | | | | | | | | | | | | | | | behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."" into jb-mr1-dev * commit '22bd3726be37a24e956d962d61657d8a3d54c985': Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."
| * | Revert "This restores JB MR0 behavior where the framework throws an ↵Justin Ho2012-10-171-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | exception for improper layouts that are missing layout_width and/or layout_height." This reverts commit f49d835dfe1bd21920ff8a48cbdfb9c1fd632fd9 Change-Id: If0093f23d6458e53619220fbf0aa5f844ad2c790
* | | am 0efebf0a: am c35f7650: am 4db31657: Merge "This restores JB MR0 behavior ↵Justin Ho2012-10-171-2/+7
|\| | | | | | | | | | | | | | | | | | | | where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height." into jb-mr1-dev * commit '0efebf0af4c21b9d02c9c06b67867a554e0b35ea': This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.
| * | This restores JB MR0 behavior where the framework throws an exception for ↵Justin Ho2012-10-171-2/+7
| |/ | | | | | | | | | | | | | | improper layouts that are missing layout_width and/or layout_height. This reverts commit 57fca90ac65ecfe97acd4c93d442c3db8f815e11 Change-Id: I0fe25056cd54b8852b32ae4621e048d3f5c7d555
* | am 47270268: am 8598646e: am 144d4055: Merge "Revert "This restores JB MR0 ↵Justin Ho2012-10-171-7/+2
|\| | | | | | | | | | | | | behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."" into jb-mr1-dev * commit '472702687d174c126752259485b83c39f3eb2801': Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."
| * Revert "This restores JB MR0 behavior where the framework throws an ↵Justin Ho2012-10-171-7/+2
| | | | | | | | | | | | | | | | exception for improper layouts that are missing layout_width and/or layout_height." This reverts commit dcf59629beed8182759a1068ab8ee997935bef82 Change-Id: I27426a0ffe993973ffb0b05ce1ed3afe73fcd87d
* | am ef512f03: am cccf85c2: am 8e614501: Merge "This restores JB MR0 behavior ↵Jim Miller2012-10-161-2/+7
|\| | | | | | | | | | | | | where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height." into jb-mr1-dev * commit 'ef512f03e3a10b39e82c9029d9d7623915ac8850': This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.
| * This restores JB MR0 behavior where the framework throws an exception for ↵Jim Miller2012-10-161-2/+7
| | | | | | | | | | | | | | | | | | | | improper layouts that are missing layout_width and/or layout_height. Revert "Revert "Revert "Fix for bug 6050753.""" This reverts commit 6868d6f349610c15256471cc3d5fa708cbfd5f1d Change-Id: I8843d92dba14c82f06d9ee59517cf11b2abbbf04
* | am 1167b7b9: am dcfe6cee: am 6868d6f3: Revert "Revert "Fix for bug 6050753.""Mathias Agopian2012-10-151-7/+2
|\| | | | | | | | | * commit '1167b7b9e43878f077478f58e31e268c2e191110': Revert "Revert "Fix for bug 6050753.""
| * Revert "Revert "Fix for bug 6050753.""Mathias Agopian2012-10-151-7/+2
| | | | | | | | | | | | | | | | Emergency revert -- fix reboot loop. This reverts commit 8e63bcc63fd002231f8391af8982eeb235d096c8. Change-Id: I4373b867d756de09cdf6aa0aba9e6ff8f47bcdbc
* | am 3e6c9ba6: am cb09dba0: am 69fbc3c0: Merge "Revert "Fix for bug 6050753."" ↵Romain Guy2012-10-151-2/+7
|\| | | | | | | | | | | | | into jb-mr1-dev * commit '3e6c9ba6777cec3b3928ddb2b399c957735f7b06': Revert "Fix for bug 6050753."
| * Revert "Fix for bug 6050753."Romain Guy2012-10-151-2/+7
| | | | | | | | This reverts commit c29f031598811486d83f418fd08fbfe1fc41788a.
* | Optical bounds support for LinearLayout, TableLayout and TableRow.Philip Milne2012-09-271-1/+1
|/ | | | | | | | | | | | | | | The generic support for optical bounds provided in: https://googleplex-android-review.googlesource.com/#/c/228269/ did not work correctly for nested LinearLayouts. With this fix all the layouts in the APIdemos now seem to layout correctly when the optical bounds mode is enabled. (There's currently no, user level, way to do this. Instead, the optical bounds layout mode has to be enabled on a per view basis.) Change-Id: Id3d1d84445a8a2df277ddfe679c42f2d6cf775f4
* Properly respect divider settings for TableLayoutAdam Powell2012-08-231-0/+4
| | | | | | | | Make sure that TableLayout always knows it's in VERTICAL orientation. Bug 7041351 Change-Id: I9935891a58e558840ac7956a0ffe8448e21de799
* am 35cb0650: am 399df567: docs: various link fixes and other typos from ↵Scott Main2012-07-021-2/+0
|\ | | | | | | | | | | | | external tracker * commit '35cb0650c07f0f3df017784bd3cf724c743f7399': docs: various link fixes and other typos from external tracker
| * docs: various link fixes and other typos from external trackerScott Main2012-07-021-2/+0
| | | | | | | | Change-Id: I2a107f7e16429c0fe80c5e4cb67ecfaf267db301
* | Merge "Fix for bug 6050753."Philip Milne2012-05-311-5/+1
|\ \ | |/ |/|
| * Fix for bug 6050753.Philip Milne2012-02-221-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The method: TypedArray: getLayoutDimension(int, String) throws an undocumented exception when either the width and/or height attributes are undefined. See the bug report above for reasons why this was deemed unhelpful both in the tools area and to developers in general. Fix by: 1. Documenting the conditions under which the method raises an exception. 2. Deprecating the method, advising callers to supply a default instead. Additionally, redefine the: ViewGroup: setBaseAttributes(TypedArray, int, int); methods to provide the appropriate defaults in ViewGroup subclasses as advised above. For the platform layouts the default value is WRAP_CONTENT (and is defined in the ViewGroup.LayoutParams class). The special cases are accomodated in LayoutParams subclasses in the following cases: Subclass width height FrameLayout.LayoutParams: MATCH_PARENT, MATCH_PARENT TableLayout.LayoutParams: MATCH_PARENT, WRAP_CONTENT TableRow.LayoutParams: MATCH_PARENT, WRAP_CONTENT Change-Id: I335a3bd8e2d7f7866692898ed73492635a5b61ea
* | Fixes for bugs: #6103660, #6103957, #6104457 and #6104322.Philip Milne2012-03-131-0/+4
| | | | | | | | | | | | Add getters and setters to the layout widgets so as to mirror their XML apis. Change-Id: Ie2237fd55e1c3e4ec0d08b4f8154ea7e122c1e79
* | Reduce logsRomain Guy2012-02-221-2/+1
|/ | | | Change-Id: I2768972ec62f4d3ad800a4d7a4c44307a2fa0105
* 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
* Tabs are resized to make sure they fit in their parent.Gilles Debunne2011-01-261-1/+1
| | | | | | | | | | | 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
* docs: add links from widget classes to tutorialsScott Main2010-08-191-0/+3
| | | | Change-Id: I817e885524951853182b0458df4a32dea1614243
* Force layout on TableRows when column widths are shrinked or streched.Gilles Debunne2010-02-121-0/+10
| | | | | | Also features some comment typos and import re-ordering. Change-Id: I32cb14419d7d349064032718469daf62a0a72e3a
* Deprecate fill_parent and introduce match_parent.Romain Guy2010-01-081-8/+8
| | | | Bug: #2361749.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+751
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-751/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-9/+5
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+755