summaryrefslogtreecommitdiffstats
path: root/tests/BiDiTests/res/layout
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug #8437358 Clean any ICU related code from TextLayout / Paint and ↵Fabrice Di Meglio2013-03-201-40/+0
| | | | | | | | | their dependencies - remove the ICU related methods and update the methods using the "reserved" argument - update to CTS in another CL too Change-Id: I5509736568c342d9d17bfeafc17951117ab5d3cc
* Revert "Clean Paint.mBidiFlags as it is no longer used"Fabrice Di Meglio2013-03-151-0/+40
| | | | This reverts commit 6d9fe5bd22b531bfce69b146254a4791c76acddc.
* Clean Paint.mBidiFlags as it is no longer usedFabrice Di Meglio2013-02-121-40/+0
| | | | | | See bug #7623824 Change-Id: Ie2f9422821f6dcc73c99e8695f448e966b587b1d
* Add View textAlignmentFabrice Di Meglio2012-04-042-0/+1156
| | | | | | | | | | | - fix bug #6163772 - use bits field and pack them as much as possible - take care of "supportsRtl" flag from Manifest - add visual unit tests CTS unit tests in another CL Change-Id: Ib77c4eb423854209af130688c5ef9977401a9c1c
* Update BiDiTest app for GridLayout RTL testsFabrice Di Meglio2012-02-132-0/+42
| | | | | | - add unit tests for GridLayout in RTL mode Change-Id: Icc983a6e2cc75b30e457fd822d81ef5630de0f10
* Update BiDiTests appFabrice Di Meglio2012-02-091-0/+22
| | | | | | - add more unit tests for GridLayout (layout created by code) Change-Id: I462c41a7c5bdcb6c5d3762570f5d415cc0fa0bde
* Update BiDiTest app for adding GridLayout unit testsFabrice Di Meglio2012-02-063-0/+222
| | | | | | - added basic GridLayout unit tests for LTR / RTL / Locale cases Change-Id: Ied9814b2f56acb5d3666e78ad600f487ce4dc911
* Update BiDiTest appFabrice Di Meglio2012-02-021-0/+6
| | | | | | | - update basic layout for being scrollable - add more test strings Change-Id: Iec1b495619cdd76639f127fb1ac4e4f41d0726d8
* Fix bug #5199577 TextView with android:password="true" is showing the "dots" ↵Fabrice Di Meglio2011-08-251-2/+9
| | | | | | | | | | on the left even if the password chars are RTL - force TextView to LOCALE text heuristic when in "password" mode - remove TEXT_LAYOUT_DIRECTION_UNKNOWN_DO_NOT_USE - LocaleUtils.getLayoutDirectionFromLocale() returns "LTR" is locale is NULL or ROOT Change-Id: I182c46aaf2d73c8b18967fffa230bfabec91ed06
* Update BiDiTest appFabrice Di Meglio2011-08-181-1/+13
| | | | | | - add a default TextView Change-Id: I0ce92503204e370d9c928440cdd4876701c6c4cb
* Fix bug #4584320 Single Line EditText not drawing correctly with spans ↵Fabrice Di Meglio2011-08-051-22/+34
| | | | | | | | | applied (ICS) - use correct 0 index for computing advance thru the char buffer (the buffer is created from TextUtils.getChars()) - udpate unit tests Change-Id: Iaeb07658b79ecdf5e17395d55afb7c84965bb0fc
* Update BiDi unit testsFabrice Di Meglio2011-08-051-3/+18
| | | | | | - update basic layout for having LTR and RTL TextView Change-Id: Ic4cc6c27d431fe69bb62c55cd76a46ea6e241b4d
* Merge "Test Gallery layout direction."Fabrice Di Meglio2011-07-192-0/+60
|\
| * Test Gallery layout direction.Doug Felt2011-07-182-0/+60
| | | | | | | | Change-Id: If88f559e8cc46bb72ed45f33d7fc52802f1e1246
* | Fix bug #5037425 Canvas.drawText can't handle Right-to-Left text and text ↵Fabrice Di Meglio2011-07-181-6/+9
| | | | | | | | | | | | | | | | | | | | | | composing - optimization for single run case was broken - pass isRTL boolean along the call stack instead of the dirFlags integer (which was only used as a "isRTL" in the shaper) - update unit tests Change-Id: I33110b76a433633a0b92fbd1db03785204e0c3e6
* | Add unit tests for bug #5037425 Canvas.drawText can't handle Right-to-Left ↵Fabrice Di Meglio2011-07-181-0/+63
| | | | | | | | | | | | text and text composing Change-Id: Ic71a563ad0f4ba6de5b7f030f04a3a9615b7617c
* | Merge "Fix bug #4972141 Overlapping content in single-choice dialogs"Fabrice Di Meglio2011-07-151-1/+7
|\ \
| * | Fix bug #4972141 Overlapping content in single-choice dialogsFabrice Di Meglio2011-07-151-0/+6
| | | | | | | | | | | | | | | | | | - need to take care about padding resolution Change-Id: Ida9738ffada6c6455b7949f933fa61924c4f7961
* | | Merge "Some code refactoring"Fabrice Di Meglio2011-07-151-1/+29
|\ \ \ | |_|/ |/| |
| * | Some code refactoringFabrice Di Meglio2011-07-141-1/+29
| |/ | | | | | | | | | | | | - make Layout.Alignment.ALIGN_LEFT as the default case - update unit tests for reproducing bug #5002512 Change-Id: Id7ec17abd115bcda7f3434e6d64dbbba6915f108
* | Merge "Implement textDirection heuristic selection."Fabrice Di Meglio2011-07-152-168/+442
|\ \ | |/ |/|
| * Implement textDirection heuristic selection.Doug Felt2011-07-142-168/+442
| | | | | | | | Change-Id: I2fcf18de573f2d66494fa5ed61e4273c3c6078c7
* | Introduce TextView drawableStart and drawableEndFabrice Di Meglio2011-07-122-0/+208
|/ | | | | | - update also unit tests Change-Id: I20b82f5fea2cc48c93fd9e26eb03290ad730c08a
* Add textDirection support for TextView and ViewGroupFabrice Di Meglio2011-06-282-0/+224
| | | | | | | | - use ViewGroup inheritance if defined - use different heuristics (inherit, firstStrong, anyRtl, ltr, rtl) - add more unit tests Change-Id: Ic1325aa7d9e4689b181e0a2d08b7dd7fb3f0dbeb
* Introduce MarginLayoutParams marginStart and margingEndFabrice Di Meglio2011-06-241-0/+241
| | | | | | - update BiDiTest app for adding more unit tests concerning margin Change-Id: Ia6a7e0a1948a2c375e8f3cc87d120a85351a8c27
* add TextView page to BiDiTestsDoug Felt2011-06-233-0/+825
| | | | Change-Id: If6ba2d7f96283041d254d6d53bb268d88fed2c74
* Update BiDiTest app for adding more unit testsFabrice Di Meglio2011-06-201-1/+46
| | | | | | | - add some menu that will show up in compatibility mode - add more unit tests for padding and background drawable Change-Id: I90db23c68d2371c35913b039a10f9d9f34c3931e
* Add View paddingStart and paddingEndFabrice Di Meglio2011-06-201-0/+135
| | | | | | | | | - use a lazy padding resolution (because layout direction is lazyly resolved too) - cache resolved layout direction as getResolvedLayoutDirection() will be more called - enable resetting layout direction cache if needed - update unit tests Change-Id: I30ce19e3100cc137f84e60163b60e1577ff61819
* Update BiDiTest app for testing View paddingFabrice Di Meglio2011-06-161-0/+156
| | | | Change-Id: I7b956bd1d16cc4d27f33595f09f14f5d4e17e469
* Fix Gravity start/endFabrice Di Meglio2011-06-143-38/+38
| | | | | | | - fix missing attribute value change - update BiDiTest app Change-Id: I0bb8a1ebf0b6097b7b8d488580fea6e882202e23
* Add View.getResolvedLayoutDirection()Fabrice Di Meglio2011-06-141-1/+1
| | | | | | | | | - 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
* Refactor BiDiTest unit tests appFabrice Di Meglio2011-06-1018-2249/+2286
| | | | | | - make it more extensible (suppress tabs in favor of a list selection and fragments) Change-Id: If6f6c3a33f7c03e00205edbeab2945024b477f0d
* Make View respect LAYOUT_DIRECTION_LOCALEFabrice Di Meglio2011-06-1019-714/+1732
| | | | | | | - update also unit tests for taking care of the locale direction - code formatting on the layout test files Change-Id: I4037eac3c572de9abb0178f36ca03803cc2c1522
* Rename atribute View horizontalDirection to layoutDirection and update unit ↵Fabrice Di Meglio2011-06-0710-50/+50
| | | | | | | | tests - update before/after to start/end in unit test app Change-Id: Id7286ef5d9390540faf8ecd5f0b1c140d04bb364
* Update BiDiTest appFabrice Di Meglio2011-06-022-40/+40
| | | | | | - change buttons text to follow their Gravity Change-Id: Ie0d79ced9c14bf8b0f12d1c31da5e2fe6f162c88
* Add more unit tests for RTL layoutsFabrice Di Meglio2011-06-024-36/+518
| | | | | | | - update LinearLayout tests with default case (no horizontalDirection specified) - add TableLayout tests Change-Id: I9ad2239fca96b896c5aae4dfe67b8113faf2f96e
* Add more unit tests cases for BiDi / RTLFabrice Di Meglio2011-06-026-173/+504
| | | | | | | - update FrameLayout tests - add more RelativeLayout tests Change-Id: I2ae522c5e6ec216f7ade45935f8309b543f380b9
* Add more unit tests for RelativeLayoutFabrice Di Meglio2011-06-013-0/+169
| | | | | | - update BiDiTest test app Change-Id: I8c0734fc8a94765d269b0040ebfa048c13e11728
* Merge "Fix bug #4509967 (layout_gravity not always respected)"Fabrice Di Meglio2011-06-014-2/+164
|\
| * Fix bug #4509967 (layout_gravity not always respected)Fabrice Di Meglio2011-06-014-2/+164
| | | | | | | | | | | | | | | | - fix FrameLayout - code refactoring on LinearLayout - add more unit tests Change-Id: I49302582c61aa31a4eb7eded92327b10408f71a4
* | Add support to OpenGLRendere to draw BiDi text.Romain Guy2011-06-011-8/+7
|/ | | | | | Bug #4350336 Change-Id: I1cf31693f7ca9653fa3a41b5b91c27ef288d680f
* Manual merge. Preference activity changes to work on smaller tablet screens ↵Amith Yamasani2011-05-261-1/+1
| | | | | | | | | and phones. Padding around fragments and to the left of preference items adjusted for different display sizes. Change-Id: I2d29e5525c381092a3f1d2fb1265ce07db893d78
* RTL Ordering of visual elements in LinearLayoutFabrice Di Meglio2011-05-205-14/+449
| | | | | | - also update unit tests for testing LinearLayout Change-Id: I0794d48c45a8fd4a899fdf6f6a1d05485b416e1a
* Fix bug #4338103 (Android Arabic and Hebrew input is broken)Fabrice Di Meglio2011-04-251-1/+0
| | | | | | | - fix glyph order when there is only a single run - update tests Change-Id: I113f28a8c76cab622fb75ce84bc50d1d38fa254e
* Fix text redering issue where the text was sometimes truncatedFabrice Di Meglio2011-03-291-0/+5
| | | | | | | | - mostly was visible in Settings apps / Wi-Fi networks summary info for each network - correctly setup the local SkPaint for advances computation - improve test app for adding live resizing Change-Id: Ia031fe1b115b521ba55c7e68f2a26300f02e48ca
* Use Harfbuzz instead of ICU4C for computing advancesFabrice Di Meglio2011-03-221-0/+58
- use Harfbuzz shaper for shaping and getting glyphs - add test app for showing result of drawText() and drawGlyphs() - add private API in Canvas and Paint for test app Change-Id: Ia15be216f8636d2d864066e9b7de2f53008c30f6