a7726271f756dfc6f2ff3bb10fc4167e750fb606 |
13-Sep-2013 |
Tor Norbye <tnorbye@google.com> |
Replace wildcard imports with explicit imports The wildcard imports interfered with the new typedef annotations (and 99% of the tests were using explicit imports anyway.) Change-Id: I3784b9d700131fe4a0ba30283f052820b2fa5122
bstractLayoutTest.java
lignmentTest.java
ridLayoutTest.java
inearLayoutTest.java
|
7b172a49a90ea6784dbfe0002474f9d4fd4ace1a |
07-Nov-2012 |
Kenny Root <kroot@google.com> |
am 58ed5d74: am 768d9e1a: Merge "Correct executable bit for source files" * commit '58ed5d748c0b9b64845975ef5844ad313de7c3f6': Correct executable bit for source files
|
3a084af2e90849aaa8beb3a610189e3399c63ea0 |
07-Nov-2012 |
Kenny Root <kroot@google.com> |
Correct executable bit for source files Many media files and source code files were marked as executable in Git. Remove those. Also a shell script and python script were not marked as executable. Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
lignmentTest.java
|
7b7578184567f4e4f0740ce935cc192765410cca |
20-Sep-2012 |
Philip Milne <pmilne@google.com> |
Bug #6110465. Optical bounds support for all ViewGroup subclasses. This CL generalizes the optical bounds support previously contained in the GridLayout implementation and then incorporates the new form directly into the base View and ViewGroup implementations. After this change, GridLayout is returned to an 'optical bounds' unaware state, and all layouts (including non-platform ones) inherit the ability to perform their layout operation by optical (rather than clip) bounds using their existing implementations. The "layoutMode" property of ViewGroup and its associated constants are made public in this CL. Change-Id: Ic1bba0e1c6fc14da4aeab0b28c975d562b5f82dd
ayoutInsetsTest.java
|
7a23b49a8ceb07d3fa12c45fd42cd16131fd746a |
25-Apr-2012 |
Philip Milne <pmilne@google.com> |
Fixes for optical bounds feature. 1. Make the feature opt-in (ViewGroup::layoutMode defaults to CLIP_BOUNDS) without inheritance. 2. Rename COMPONENT_BOUNDS to CLIP_BOUNDS. 3. Rename LAYOUT_BOUNDS to OPTICAL_BOUNDS. 4. Complete GridLayout implementation. 5. Change the default_gap between components to 8dp, to align with the Style Guide. Change-Id: I8d40dfc5f4ca469f6424eb3ff60d07bec56e3a9f
ayoutInsetsTest.java
|
10ca24a97cefc14fca1b26f59e627f487b3b108b |
24-Apr-2012 |
Philip Milne <pmilne@google.com> |
Promote layout debugging code from GridLayout to ViewGroup. Layout debugging code draws rectangles around: 1. Layout insets (red) 2. Bounds (blue) 3. Margins (magenta) Layout debug mode is enabled with: adb shell setprop debug.layout true Change-Id: Ia155a2d0fbf33693a1e3c040f627ea3a534e1aff
ayoutInsetsTest.java
|
bbd51f1e360b22eece1d74bd65c7e6a0b59dee59 |
19-Apr-2012 |
Philip Milne <pmilne@google.com> |
Share Insets instances between views that have the same background (Drawable) Change-Id: I47d93ccca6f553b678d25966d10d7a0a97cfa5ea
ayoutInsetsTest.java
|
1557fd7809078e421f751efc7d2539b3efdc54b2 |
05-Apr-2012 |
Philip Milne <pmilne@google.com> |
Fix for bug 6110465. Add layout bound metadata to 9-patch files and make layouts take them into account. This CL contains a proposed API for dealing with layout bounds. This solution exposes: 1. Class: Insets - for storing layout Insets (and later possibly padding). 2. Methods: View:(get/set)LayoutInsets() - for storing layoutBounds. 3. Methods: ViewGroup:(get/set)LayoutMode() - for controlling layoutMode. It also iuncudes the changes to GridLayout to support layout bounds. Change-Id: I60c836b6530b61c5abf37f93ee9c44aad73573f1
ayoutInsetsTest.java
|
e974f6384b1ab04c797c807286223c12cadfddcb |
07-Oct-2011 |
Philip Milne <pmilne@google.com> |
Move Activity1 and Activity2 to API Demos area in development/samples. Change-Id: Ib6521caca69b0a0d96c66d9df754d2af17cb6908
ctivity2.java
ctivity3.java
|
b559976a50c34848d602cc7138859507a379893c |
05-Aug-2011 |
Philip Milne <pmilne@google.com> |
Remove call to setPadding() in setUseDefaultMargins(). It is not possible for teh user to override the assigned padding values because the XML attributes are processed in the opposite order. Also, make the XML and Java examples grid3.xml and Activity2.java consistent in preparation for a move to API demos. Change-Id: I47334f9f5a46a8a528067d88350dd70eaa38ff33
ctivity2.java
|
899d5922870c78e0e663bc5661849eb468afc984 |
21-Jul-2011 |
Philip Milne <pmilne@google.com> |
Fix for http://b/issue?id=5081478 GridLayout needs to call measure on children after it knows how large children should be Also: . Remove deprecated methods and XML attributes. . Stop Spaces having margins by default. . Remove getSpacers() and findUsed() . Change default for row/columnOrderPreserved() from false to true. . Improve automatic index allocation mechanism to use individual maxima. Change-Id: Id79fbb2e70a0bf2002191ec2a9746547d896de72
ctivity2.java
|
5125e21bc0bbe5b9718d0f03b26cdafc67a7c726 |
21-Jul-2011 |
Philip Milne <pmilne@google.com> |
Fix for http://b/issue?id=5064532 5064532: GridLayout with initial "stretchy" row and "gone" view in last row doesn't stretch properly Also: . Infer stretchibility from whether or not gravity is defined. . Make algorithms for handling flexibility within cell groups consistent with those acting between cells groups (via constraint system). . Hide and deprecate methods taking flexibility argument. . Hide and deprecate CAN_STRETCH constant. Both deprecated features will be removed after references are removed from platform. Change-Id: Iabf2bf19f35cf30b8ec49c99b49a0550fd495125
ctivity2.java
|
b0ce49b5ad53631ff0c3cdd8266e82f3c20c65dc |
16-Jul-2011 |
Philip Milne <pmilne@google.com> |
Derive GridLayout's 'gap' constants from new "default_gap" entry in dimens.xml. Also: . removed static import of R.styleable - this is non-standard . removed final modifier from DEBUG flag, this prevents the compiler from excluding the debugging code but allows debugging code to be enabled externally . added override to removeAllViews() as GridLayout needs to be notified whever hiearchy changes. Change-Id: I2409289bce7c6638eff320ffd48a6c0704e77fa8
ctivity2.java
|
93cd6a6c78683643de51f9e698b38847bd1f1155 |
12-Jul-2011 |
Philip Milne <pmilne@google.com> |
Rationalize API after adding maximum size feature. . Change name of Group to Spec (with the addition of the fglexibility field, this class no longer represents a group) . Replace overloaded Group/Spec constructors with factory method . Bugfix for measure() when alignmentMode == ALIGN_BOUNDS . Bury as much Java API as possible, to minimize restrictions on future API enhancements - make all field access in Group package private - use factory methods in place of field assignment Change-Id: I46a5027a013bf7c3110b77108b8fd0427165cd18
ctivity2.java
lignmentTest.java
ridLayoutTest.java
|
5d1a9840aaf57ae90716f0ac34abdcd09f7f4ed6 |
07-Jul-2011 |
Philip Milne <pmilne@google.com> |
Simplify and tidy the API for maximum value support. Also: . Remove CAN_SHRINK, FIXED from public view. These can be added later. Change-Id: I63a64ac4748605da60373c8e3c2109178b5260c2
ctivity2.java
|
48b55244d286b6d4e3699a5d9e938a9c87aaae75 |
29-Jun-2011 |
Philip Milne <pmilne@google.com> |
Support for maximum values in layout GridLayout. A cell's ability to shrink or stretch is now integrated with the constraints system, which is now supplied with both upper and lower bounds. Also: . Remove package private access (pseudo) annotation . Remove rowWeight and columnWeight attributes and fields . Remove code to handle weights Change-Id: I9e2432101d15466c621f51ae362435051fab5764
ctivity2.java
|
1e54825135a7ccde421aa7fc400ab69e9348b5d6 |
17-Jun-2011 |
Philip Milne <pmilne@google.com> |
Change includeMarginsInAlignment flag to aligmentMode property. Also: . Change getInteger() to getInt(). . Conditionally compile, Paint() allocation and initialization. . Correct spelling mistake in javadoc. Change-Id: I00438a717e635a3917c5324f56063dce2e6041e8
ctivity2.java
|
51f17d54613c33638c8a2da8affcd9ba35994cb3 |
13-Jun-2011 |
Philip Milne <pmilne@google.com> |
Bugfix for GridLayout assuming that the x value of last column index is maximal. This is not the case when column indexes are defined incorrectly and GridLayout should still work in this case. Change-Id: I5deb3fb43ed1dd16dd20868854b96ebae4d30623
ctivity2.java
|
f474870fe1189f73cf8ffbaba9e524ef194b5043 |
10-Jun-2011 |
Philip Milne <pmilne@google.com> |
Optimise the way that indices are auto-allocated so that XML files can normally avoid using indices. Change-Id: Iafb25b17fec9391664c81a7e213eeaa918254912
bstractLayoutTest.java
ridLayoutTest.java
|
7fd948756947506db62a2bafca2ed45ff53ac0a0 |
08-Jun-2011 |
Philip Milne <pmilne@google.com> |
Fix for baseline alignment in LinearLayout compatibiity mode. Change-Id: Iaa194537c1bc493172fab89624279fe5cbfa1f70
lignmentTest.java
ridLayoutTest.java
inearLayoutTest.java
|
aa616f31fe7c0c8e3657bb9a5889ec5e56ee5232 |
28-May-2011 |
Philip Milne <pmilne@google.com> |
Response to code review for GridLayout: . Fixed spelling. . Added comments on internal methods. . Adopted the suggested internal name changes to improve clarity. . Added UNDEFINED constant to public API to avoid making reference to Integer.MAX_VALUE in docs. . Added final everywhere, then removed it. . Make the Interval class package private so that it can be put somewhere more general later. . Tidy code, removing maximize flag throughout. . Remove last of allocations taking place during layout. . Implement measureChild() etc. . Added LinearLayout alignment compatibility mode, and made it the default. Change-Id: I6a4ffa022d97d68138d1903d3830a20278815435 https://android-git.corp.google.com/g/#change,109891
bstractLayoutTest.java
ctivity2.java
lignmentTest.java
ridLayoutTest.java
inearLayoutTest.java
|
3f8956d82bb40b15acee26017db0d13ddf43c80a |
13-May-2011 |
Philip Milne <pmilne@google.com> |
Introduction of GridLayout. Change-Id: Ia2ec315e7d29dcc5aa13b080fc6ce00708e9c034
ctivity0.java
ctivity1.java
ctivity2.java
ctivity3.java
ctivity4.java
ctivity5.java
ctivity6.java
ctivity7.java
|