summaryrefslogtreecommitdiffstats
path: root/core/java/android/view/Gravity.java
Commit message (Collapse)AuthorAgeFilesLines
* Add View.getResolvedLayoutDirection()Fabrice Di Meglio2011-06-141-7/+8
| | | | | | | | | - update Callback2 interface - update Gravity.getAbsoluteGravity() and Gravity.apply() to be more generic by changing "boolean isRtl" parameter to "int layoutDirection" - fix BiDiTests for RTL FrameLayout Change-Id: I97bb456c22d5fd3ecb34f08564ce4dbed37e7459
* Rename atribute View horizontalDirection to layoutDirection and update unit ↵Fabrice Di Meglio2011-06-071-6/+8
| | | | | | | | tests - update before/after to start/end in unit test app Change-Id: Id7286ef5d9390540faf8ecd5f0b1c140d04bb364
* Rename Gravity BEFORE/AFTER to START/ENDFabrice Di Meglio2011-06-061-14/+14
| | | | | | - following spec proposal for having CSS3 like naming Change-Id: Id5e316a2d9b54b9f20bbcb168fea6a3a83882e1b
* Fix default for getAbsoluteGravity()Fabrice Di Meglio2011-05-271-6/+0
| | | | | | | - remove LEFT as default, keep it as it is given (because apply() is doing CENTER_HORIZONTAL) - update unit tests Change-Id: I294621c5d5c7d675a715c15cb10947d026539b21
* Add support for Gravity BEFORE and AFTERFabrice Di Meglio2011-05-271-7/+90
| | | | | | | | - update layouts - add Callback2 for RTL aware Drawable - add unit tests Change-Id: Ic64d0291e262170aff7297c6580b0b422eaa8d89
* AI 145994: Integrate #145778 from Donut.Dianne Hackborn2009-04-131-1/+1
| | | | Automated import of CL 145994
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+306
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-306/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-32/+159
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+179