• Home
  • History
  • Annotate
  • only in /frameworks/base/tests/BiDiTests/
History log of /frameworks/base/tests/BiDiTests/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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
rc/com/android/bidi/BiDiTestGridLayoutCodeLtr.java
rc/com/android/bidi/BiDiTestGridLayoutCodeRtl.java
665f02c66702b77db25e950ff433230186bc3243 20-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #8437358 Clean any ICU related code from TextLayout / Paint and 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
es/layout/canvas.xml
rc/com/android/bidi/BiDiTestActivity.java
rc/com/android/bidi/BiDiTestCanvas.java
rc/com/android/bidi/BiDiTestView.java
da12f389eb4be0c08ca3fa9ca7663f4977858df5 15-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> Revert "Clean Paint.mBidiFlags as it is no longer used"

This reverts commit 6d9fe5bd22b531bfce69b146254a4791c76acddc.
es/layout/canvas.xml
rc/com/android/bidi/BiDiTestActivity.java
rc/com/android/bidi/BiDiTestCanvas.java
rc/com/android/bidi/BiDiTestView.java
6d9fe5bd22b531bfce69b146254a4791c76acddc 12-Feb-2013 Fabrice Di Meglio <fdimeglio@google.com> Clean Paint.mBidiFlags as it is no longer used

See bug #7623824

Change-Id: Ie2f9422821f6dcc73c99e8695f448e966b587b1d
es/layout/canvas.xml
rc/com/android/bidi/BiDiTestActivity.java
rc/com/android/bidi/BiDiTestCanvas.java
rc/com/android/bidi/BiDiTestView.java
9da0f8a5c4bccf8e722ae2ebf43873457aec3271 14-Mar-2012 Fabrice Di Meglio <fdimeglio@google.com> Add View textAlignment

- 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
es/layout/textview_alignment_ltr.xml
es/layout/textview_alignment_rtl.xml
rc/com/android/bidi/BiDiTestActivity.java
rc/com/android/bidi/BiDiTestTextViewAlignmentLtr.java
rc/com/android/bidi/BiDiTestTextViewAlignmentRtl.java
59dfce8bdaf011337530a0dbec7f7280871f9bc9 03-Apr-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #6140391 Make RTL awareness as an opt-in into the AndroidManifest

- introduce "supportsRtl" as a new application attribute in the AndroidManifest
- "supportsRtl" default value is FALSE (no RTL support)
- adapt the View layoutDirection and textDirection logic to take care of "supportsRtl" value

Change-Id: I5e4f9f576e14f35dedc6b0c29a7142c397f598e0
ndroidManifest.xml
3fd29d908a84f067aaf07430b898f5265f6b1d27 02-Mar-2012 Fabrice Di Meglio <fdimeglio@google.com> Unhide BiDiTests app

- unhide its makefile so that now it is part of the standard build process

Change-Id: Ied86c252975e30da8e3e75180869835f00a5969d
ndroid-private.mk
ndroid.mk
0d2bda319d4d66d8fc840b043d3aacee9a8414db 13-Feb-2012 Fabrice Di Meglio <fdimeglio@google.com> Update BiDiTest app for GridLayout RTL tests

- add unit tests for GridLayout in RTL mode

Change-Id: Icc983a6e2cc75b30e457fd822d81ef5630de0f10
es/layout/grid_layout_ltr.xml
es/layout/grid_layout_rtl.xml
rc/com/android/bidi/BiDiTestGridLayoutCodeLtr.java
rc/com/android/bidi/BiDiTestGridLayoutCodeRtl.java
2a7e7a08d9843d5386b2d245c096cbc1ce203e35 10-Feb-2012 Fabrice Di Meglio <fdimeglio@google.com> Update BiDiTests app

- add more unit tests for GridLayout (layout created by code)

Change-Id: I462c41a7c5bdcb6c5d3762570f5d415cc0fa0bde
es/layout/grid_layout_code.xml
rc/com/android/bidi/BiDiTestActivity.java
rc/com/android/bidi/BiDiTestGridLayoutCodeLtr.java
rc/com/android/bidi/BiDiTestGridLayoutCodeRtl.java
bf2ab0b80c43fae0f26db9417b0247618319931a 07-Feb-2012 Fabrice Di Meglio <fdimeglio@google.com> Update BiDiTest app for adding GridLayout unit tests

- added basic GridLayout unit tests for LTR / RTL / Locale cases

Change-Id: Ied9814b2f56acb5d3666e78ad600f487ce4dc911
es/layout/grid_layout_locale.xml
es/layout/grid_layout_ltr.xml
es/layout/grid_layout_rtl.xml
rc/com/android/bidi/BiDiTestActivity.java
rc/com/android/bidi/BiDiTestGridLayoutLocale.java
rc/com/android/bidi/BiDiTestGridLayoutLtr.java
rc/com/android/bidi/BiDiTestGridLayoutRtl.java
2b9ac31db45e71807f74646ebd514228244fc120 02-Feb-2012 Fabrice Di Meglio <fdimeglio@google.com> Update BiDiTest app

- update basic layout for being scrollable
- add more test strings

Change-Id: Iec1b495619cdd76639f127fb1ac4e4f41d0726d8
es/layout/basic.xml
es/values/strings.xml
03e250aefa29387f30a01243682eab2371103f8e 14-Jan-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #5870701 Thai text can be clipped when there are more glyphs generated than the initial number of code points

- compute total advances correctly by iterating on the advances array for up to mShaperItem.num_glyphs
- update unit tests

Change-Id: I00af68bef88702215e9222ed80dbffcc81df51a7
es/values/strings.xml
rc/com/android/bidi/BiDiTestView.java
7810b5f8cffb3c2c98fd0df579f4da5a9ac6cc73 25-Aug-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #5199577 TextView with android:password="true" is showing the "dots" 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
es/layout/basic.xml
es/values/strings.xml
af3e6d64d1b388d9f746e170f7934e292f6703a7 18-Aug-2011 Fabrice Di Meglio <fdimeglio@google.com> Update BiDiTest app

- add a default TextView

Change-Id: I0ce92503204e370d9c928440cdd4876701c6c4cb
es/layout/basic.xml
es/values/strings.xml
f2ce877c1dde094ab599f0d3103145c9381ab260 06-Aug-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #4584320 Single Line EditText not drawing correctly with spans 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
es/layout/basic.xml
es/values/strings.xml
rc/com/android/bidi/BiDiTestBasic.java
fd0b623c33393ba3144c5375380ea076469b67f9 06-Aug-2011 Fabrice Di Meglio <fdimeglio@google.com> Update BiDi unit tests

- update basic layout for having LTR and RTL TextView

Change-Id: Ic4cc6c27d431fe69bb62c55cd76a46ea6e241b4d
es/layout/basic.xml
es/values/strings.xml
1180644280a38f77756926531037bfd7b9f1974c 20-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #4772392 Check what needs to be done for RTL specific new attributes that are in public.xml

- cleanup public.xml
- make BiDiTest makefile non visible to the build system
- provide file for injecting the new attributes by hand

Change-Id: I5037ec323066ebd254be51fff7070a5a0101dff7
ndroid
ndroid-private.mk
ndroid.mk
ew-attributes.txt
5f9fa8826887dd9a97617d5637a3862baf7b5913 19-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Test Gallery layout direction."
c2063a5b18bc2e54f000b411c82f43992a53854e 18-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #5037425 Canvas.drawText can't handle Right-to-Left text and text 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
es/layout/canvas2.xml
rc/com/android/bidi/BiDiTestView.java
rc/com/android/bidi/BiDiTestViewDrawText.java
rc/com/android/bidi/DrawTextTestView.java
3d0124f1764e57b18161b833b52964f3141243d1 14-Jul-2011 Doug Felt <dougfelt@google.com> Test Gallery layout direction.

Change-Id: If88f559e8cc46bb72ed45f33d7fc52802f1e1246
es/drawable/alphabet_a.png
es/drawable/alphabet_b.png
es/drawable/alphabet_c.png
es/drawable/alphabet_d.png
es/drawable/alphabet_e.png
es/drawable/alphabet_f.png
es/drawable/alphabet_g.png
es/drawable/alphabet_h.png
es/drawable/alphabet_i.png
es/drawable/alphabet_j.png
es/layout/gallery_ltr.xml
es/layout/gallery_rtl.xml
rc/com/android/bidi/BiDiTestActivity.java
rc/com/android/bidi/BiDiTestGalleryImages.java
rc/com/android/bidi/BiDiTestGalleryLtr.java
rc/com/android/bidi/BiDiTestGalleryRtl.java
c6f247ca31e5d4a9cc9d130cfb0abd5657176303 16-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Add unit tests for bug #5037425 Canvas.drawText can't handle Right-to-Left text and text composing

Change-Id: Ic71a563ad0f4ba6de5b7f030f04a3a9615b7617c
es/layout/canvas2.xml
es/values/attrs.xml
es/values/strings.xml
rc/com/android/bidi/BiDiTestActivity.java
rc/com/android/bidi/BiDiTestCanvas2.java
rc/com/android/bidi/BiDiTestView.java
rc/com/android/bidi/DrawTextTestView.java
46c72507984f32c8b5c86721086b624d73ae859a 18-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Clean test APIs for Harfbuzz support"
9c83011005349f2f0ebefb47c8ea7fc4bb5a07f7 16-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #4972141 Overlapping content in single-choice dialogs"
796cc96243a57cd1b652bd90c4e7ba7823c6c2fe 16-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Clean test APIs for Harfbuzz support

- also update unit tests

Change-Id: I557f61e84c4c4b6165163b783d9c679a6b3b4106
rc/com/android/bidi/BiDiTestView.java
54d69625558f401d5fe65309effb713d2ea06f54 16-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #4972141 Overlapping content in single-choice dialogs

- need to take care about padding resolution

Change-Id: Ida9738ffada6c6455b7949f933fa61924c4f7961
es/layout/basic.xml
es/values/strings.xml
rc/com/android/bidi/BiDiTestBasic.java
9703ac8e6f98346a659fd4dbd112f82b558b6de1 16-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Some code refactoring"
50e95eba5c7cf70a0ecbc50c0cf5b700201aa67f 15-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Implement textDirection heuristic selection."
d2b5d1cf4aaa5ce95803a837f563292763184302 14-Jul-2011 Fabrice Di Meglio <fdimeglio@google.com> Some code refactoring

- make Layout.Alignment.ALIGN_LEFT as the default case
- update unit tests for reproducing bug #5002512

Change-Id: Id7ec17abd115bcda7f3434e6d64dbbba6915f108
es/layout/basic.xml
cb379120456d8065d742021fc5c66748fc8a11a8 07-Jul-2011 Doug Felt <dougfelt@google.com> Implement textDirection heuristic selection.

Change-Id: I2fcf18de573f2d66494fa5ed61e4273c3c6078c7
es/layout/textview_direction_ltr.xml
es/layout/textview_direction_rtl.xml
es/values/strings.xml
a3b6b95f9943b53d25d44a35082f817802d4eccd 30-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Introduce TextView drawableStart and drawableEnd

- update also unit tests

Change-Id: I20b82f5fea2cc48c93fd9e26eb03290ad730c08a
es/layout/textview_drawables_ltr.xml
es/layout/textview_drawables_rtl.xml
rc/com/android/bidi/BiDiTestActivity.java
rc/com/android/bidi/BiDiTestTextViewDrawablesLtr.java
rc/com/android/bidi/BiDiTestTextViewDrawablesRtl.java
222688682e6e072076489d8203d01bdf2366101a 28-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Add textDirection support for TextView and ViewGroup

- use ViewGroup inheritance if defined
- use different heuristics (inherit, firstStrong, anyRtl, ltr, rtl)
- add more unit tests

Change-Id: Ic1325aa7d9e4689b181e0a2d08b7dd7fb3f0dbeb
es/layout/textview_direction_ltr.xml
es/layout/textview_direction_rtl.xml
rc/com/android/bidi/BiDiTestActivity.java
rc/com/android/bidi/BiDiTestTextViewDirectionLtr.java
rc/com/android/bidi/BiDiTestTextViewDirectionRtl.java
b76023afd192a1f5c81a8965cfd1b9dde2558726 21-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Introduce MarginLayoutParams marginStart and margingEnd

- update BiDiTest app for adding more unit tests concerning margin

Change-Id: Ia6a7e0a1948a2c375e8f3cc87d120a85351a8c27
es/layout/view_group_margin_mixed.xml
rc/com/android/bidi/BiDiTestActivity.java
rc/com/android/bidi/BiDiTestViewGroupMarginMixed.java
468d8afad2fb2cdad14aa9d8bac12a9122d9bbeb 22-Jun-2011 Doug Felt <dougfelt@google.com> add TextView page to BiDiTests

Change-Id: If6ba2d7f96283041d254d6d53bb268d88fed2c74
es/drawable/end.png
es/drawable/start.png
es/layout/textview_locale.xml
es/layout/textview_ltr.xml
es/layout/textview_rtl.xml
es/values/strings.xml
rc/com/android/bidi/BiDiTestActivity.java
rc/com/android/bidi/BiDiTestTextViewLocale.java
rc/com/android/bidi/BiDiTestTextViewLtr.java
rc/com/android/bidi/BiDiTestTextViewRtl.java
53a73bcddff79617f42ad351332949be3ba92d45 21-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Update BiDiTest app for adding more unit tests

- add some menu that will show up in compatibility mode
- add more unit tests for padding and background drawable

Change-Id: I90db23c68d2371c35913b039a10f9d9f34c3931e
ndroidManifest.xml
es/layout/view_padding_mixed.xml
es/menu/main_menu.xml
es/values/strings.xml
rc/com/android/bidi/BiDiTestActivity.java
d8703a98241ff190a26bc4b6089a0a8ab0122d8f 17-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Add View paddingStart and paddingEnd

- 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
es/layout/view_padding_mixed.xml
rc/com/android/bidi/BiDiTestActivity.java
rc/com/android/bidi/BiDiTestViewPaddingMixed.java
b07124082e32d51be12d21bfb26147ab0617bbc9 17-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Update BiDiTest app for testing View padding

Change-Id: I7b956bd1d16cc4d27f33595f09f14f5d4e17e469
es/layout/view_padding.xml
rc/com/android/bidi/BiDiTestActivity.java
rc/com/android/bidi/BiDiTestViewPadding.java
67f8de04fc94942d6b5e48e3ad8fba79d530bc69 15-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix Gravity start/end

- fix missing attribute value change
- update BiDiTest app

Change-Id: I0bb8a1ebf0b6097b7b8d488580fea6e882202e23
es/layout/table_layout_locale.xml
es/layout/table_layout_ltr.xml
es/layout/table_layout_rtl.xml
c0053223bedf33581b0830fb87be32c1f26e5372 13-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Add View.getResolvedLayoutDirection()

- 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
es/layout/frame_layout_rtl.xml
7af05226b901f2b623ca5b3ca23d8586941ef54b 11-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Refactor BiDiTest unit tests app

- make it more extensible (suppress tabs in favor of a list selection and fragments)

Change-Id: If6f6c3a33f7c03e00205edbeab2945024b477f0d
ndroidManifest.xml
es/layout/basic.xml
es/layout/canvas.xml
es/layout/custom_list_item.xml
es/layout/frame_layout_locale.xml
es/layout/frame_layout_ltr.xml
es/layout/frame_layout_rtl.xml
es/layout/linear_layout_locale.xml
es/layout/linear_layout_ltr.xml
es/layout/linear_layout_rtl.xml
es/layout/main.xml
es/layout/relative_layout_2_locale.xml
es/layout/relative_layout_2_ltr.xml
es/layout/relative_layout_2_rtl.xml
es/layout/relative_layout_ltr.xml
es/layout/relative_layout_rtl.xml
es/layout/table_layout_locale.xml
es/layout/table_layout_ltr.xml
es/layout/table_layout_rtl.xml
rc/com/android/bidi/BiDiTestActivity.java
rc/com/android/bidi/BiDiTestBasic.java
rc/com/android/bidi/BiDiTestBasicActivity.java
rc/com/android/bidi/BiDiTestCanvas.java
rc/com/android/bidi/BiDiTestCanvasActivity.java
rc/com/android/bidi/BiDiTestFrameLayoutLocale.java
rc/com/android/bidi/BiDiTestFrameLayoutLocaleActivity.java
rc/com/android/bidi/BiDiTestFrameLayoutLtr.java
rc/com/android/bidi/BiDiTestFrameLayoutLtrActivity.java
rc/com/android/bidi/BiDiTestFrameLayoutRtl.java
rc/com/android/bidi/BiDiTestFrameLayoutRtlActivity.java
rc/com/android/bidi/BiDiTestLinearLayoutLocale.java
rc/com/android/bidi/BiDiTestLinearLayoutLocaleActivity.java
rc/com/android/bidi/BiDiTestLinearLayoutLtr.java
rc/com/android/bidi/BiDiTestLinearLayoutLtrActivity.java
rc/com/android/bidi/BiDiTestLinearLayoutRtl.java
rc/com/android/bidi/BiDiTestLinearLayoutRtlActivity.java
rc/com/android/bidi/BiDiTestRelativeLayout2Locale.java
rc/com/android/bidi/BiDiTestRelativeLayout2Ltr.java
rc/com/android/bidi/BiDiTestRelativeLayout2Rtl.java
rc/com/android/bidi/BiDiTestRelativeLayoutLocaleActivity2.java
rc/com/android/bidi/BiDiTestRelativeLayoutLtr.java
rc/com/android/bidi/BiDiTestRelativeLayoutLtrActivity.java
rc/com/android/bidi/BiDiTestRelativeLayoutLtrActivity2.java
rc/com/android/bidi/BiDiTestRelativeLayoutRtl.java
rc/com/android/bidi/BiDiTestRelativeLayoutRtlActivity.java
rc/com/android/bidi/BiDiTestRelativeLayoutRtlActivity2.java
rc/com/android/bidi/BiDiTestTableLayoutLocale.java
rc/com/android/bidi/BiDiTestTableLayoutLocaleActivity.java
rc/com/android/bidi/BiDiTestTableLayoutLtr.java
rc/com/android/bidi/BiDiTestTableLayoutLtrActivity.java
rc/com/android/bidi/BiDiTestTableLayoutRtl.java
rc/com/android/bidi/BiDiTestTableLayoutRtlActivity.java
26e432d25f2ba199ae8b762fc68da8463389dd9b 10-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Make View respect LAYOUT_DIRECTION_LOCALE

- update also unit tests for taking care of the locale direction
- code formatting on the layout test files

Change-Id: I4037eac3c572de9abb0178f36ca03803cc2c1522
ndroid
ndroidManifest.xml
es/layout/basic.xml
es/layout/canvas.xml
es/layout/frame_layout_locale.xml
es/layout/frame_layout_ltr.xml
es/layout/frame_layout_rtl.xml
es/layout/linear_layout_locale.xml
es/layout/linear_layout_ltr.xml
es/layout/linear_layout_rtl.xml
es/layout/main.xml
es/layout/relative_layout_2_locale.xml
es/layout/relative_layout_2_ltr.xml
es/layout/relative_layout_2_rtl.xml
es/layout/relative_layout_ltr.xml
es/layout/relative_layout_ltr_2.xml
es/layout/relative_layout_rtl.xml
es/layout/relative_layout_rtl_2.xml
es/layout/table_layout_locale.xml
es/layout/table_layout_ltr.xml
es/layout/table_layout_rtl.xml
rc/com/android/bidi/BiDiTestActivity.java
rc/com/android/bidi/BiDiTestFrameLayoutLocaleActivity.java
rc/com/android/bidi/BiDiTestLinearLayoutLocaleActivity.java
rc/com/android/bidi/BiDiTestRelativeLayoutLocaleActivity2.java
rc/com/android/bidi/BiDiTestRelativeLayoutLtrActivity2.java
rc/com/android/bidi/BiDiTestRelativeLayoutRtlActivity2.java
rc/com/android/bidi/BiDiTestTableLayoutLocaleActivity.java
c46f7ffa9079f3ae8a5204e7519ed7a1250116d0 07-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Rename atribute View horizontalDirection to layoutDirection and update unit tests

- update before/after to start/end in unit test app

Change-Id: Id7286ef5d9390540faf8ecd5f0b1c140d04bb364
es/layout/frame_layout_ltr.xml
es/layout/frame_layout_rtl.xml
es/layout/linear_layout_ltr.xml
es/layout/linear_layout_rtl.xml
es/layout/relative_layout_ltr.xml
es/layout/relative_layout_ltr_2.xml
es/layout/relative_layout_rtl.xml
es/layout/relative_layout_rtl_2.xml
es/layout/table_layout_ltr.xml
es/layout/table_layout_rtl.xml
de7fc15ff45e7a7dad6304908cc6b87f3f154bf8 07-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Update BiDiTest app for Gravity renaming

- BEFORE?AFTER is now START/END

Change-Id: I44cfdc17090052704024d8c5386553f0c83e9ab2
es/values/strings.xml
2f9cad27fdc0912b676acf7b3c8447eee4109ef7 03-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Update BiDiTest app

- change buttons text to follow their Gravity

Change-Id: Ie0d79ced9c14bf8b0f12d1c31da5e2fe6f162c88
es/layout/table_layout_ltr.xml
es/layout/table_layout_rtl.xml
es/values/strings.xml
88f9fd2316d764e792a84c43aef67816ac02ef14 02-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Add more unit tests for RTL layouts

- update LinearLayout tests with default case (no horizontalDirection specified)
- add TableLayout tests

Change-Id: I9ad2239fca96b896c5aae4dfe67b8113faf2f96e
ndroidManifest.xml
es/layout/linear_layout_ltr.xml
es/layout/linear_layout_rtl.xml
es/layout/table_layout_ltr.xml
es/layout/table_layout_rtl.xml
es/values/strings.xml
rc/com/android/bidi/BiDiTestActivity.java
rc/com/android/bidi/BiDiTestTableLayoutLtrActivity.java
rc/com/android/bidi/BiDiTestTableLayoutRtlActivity.java
c715528c9657e5848021a27a600a0e8e5100fb34 02-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Add more unit tests cases for BiDi / RTL

- update FrameLayout tests
- add more RelativeLayout tests

Change-Id: I2ae522c5e6ec216f7ade45935f8309b543f380b9
ndroidManifest.xml
es/layout/frame_layout_ltr.xml
es/layout/frame_layout_rtl.xml
es/layout/relative_layout_ltr.xml
es/layout/relative_layout_ltr_2.xml
es/layout/relative_layout_rtl.xml
es/layout/relative_layout_rtl_2.xml
rc/com/android/bidi/BiDiTestActivity.java
rc/com/android/bidi/BiDiTestRelativeLayoutLtrActivity2.java
rc/com/android/bidi/BiDiTestRelativeLayoutRtlActivity.java
rc/com/android/bidi/BiDiTestRelativeLayoutRtlActivity2.java
c2e989021e74593ce98680bce0c28b592b1ff843 02-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Add more unit tests for RelativeLayout

- update BiDiTest test app

Change-Id: I8c0734fc8a94765d269b0040ebfa048c13e11728
ndroidManifest.xml
es/layout/frame_layout_ltr.xml
es/layout/frame_layout_rtl.xml
es/layout/relative_layout_ltr.xml
rc/com/android/bidi/BiDiTestActivity.java
rc/com/android/bidi/BiDiTestRelativeLayoutLtrActivity.java
77c1cc0aa4d088f54c3b36a05a19acfa5295c4da 02-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #4509967 (layout_gravity not always respected)"
de35ceeeb9f8855c72dfd70593e917aa75b43770 02-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #4509967 (layout_gravity not always respected)

- fix FrameLayout
- code refactoring on LinearLayout
- add more unit tests

Change-Id: I49302582c61aa31a4eb7eded92327b10408f71a4
ndroidManifest.xml
es/layout/frame_layout_ltr.xml
es/layout/frame_layout_rtl.xml
es/layout/linear_layout_ltr.xml
es/layout/linear_layout_rtl.xml
rc/com/android/bidi/BiDiTestActivity.java
rc/com/android/bidi/BiDiTestFrameLayoutLtrActivity.java
rc/com/android/bidi/BiDiTestFrameLayoutRtlActivity.java
rc/com/android/bidi/BiDiTestLinearLayoutLtrActivity.java
rc/com/android/bidi/BiDiTestLinearLayoutRtlActivity.java
726aeba80ffc6778a9bc3e0ee957b8d644183505 01-Jun-2011 Romain Guy <romainguy@google.com> Add support to OpenGLRendere to draw BiDi text.
Bug #4350336

Change-Id: I1cf31693f7ca9653fa3a41b5b91c27ef288d680f
ndroidManifest.xml
es/layout/basic.xml
405c1af75607fafdb1d6faf34e13e032e4934787 26-May-2011 Amith Yamasani <yamasani@google.com> Manual merge. Preference activity changes to work on smaller tablet screens and phones.

Padding around fragments and to the left of preference items
adjusted for different display sizes.

Change-Id: I2d29e5525c381092a3f1d2fb1265ce07db893d78
es/layout/canvas.xml
1e4cfbeba54898373c852097d1519a1d966c0854 02-Apr-2010 Fabrice Di Meglio <fdimeglio@google.com> RTL Ordering of visual elements in LinearLayout

- also update unit tests for testing LinearLayout

Change-Id: I0794d48c45a8fd4a899fdf6f6a1d05485b416e1a
ndroidManifest.xml
es/layout/basic.xml
es/layout/biditest_main.xml
es/layout/canvas.xml
es/layout/linear_layout_ltr.xml
es/layout/linear_layout_rtl.xml
es/layout/main.xml
es/values/strings.xml
rc/com/android/bidi/BiDiTestActivity.java
rc/com/android/bidi/BiDiTestBasicActivity.java
rc/com/android/bidi/BiDiTestCanvasActivity.java
rc/com/android/bidi/BiDiTestLinearLayoutLtrActivity.java
rc/com/android/bidi/BiDiTestLinearLayoutRtlActivity.java
589e4e27ee071f028a4bc72b91a1fb053ab13404 26-Apr-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #4338103 (Android Arabic and Hebrew input is broken)

- fix glyph order when there is only a single run
- update tests

Change-Id: I113f28a8c76cab622fb75ce84bc50d1d38fa254e
es/layout/biditest_main.xml
es/values/strings.xml
rc/com/android/bidi/BiDiTestView.java
0a1413e4bf9dcda2a8abb2287e43f612a7fb2453 22-Apr-2011 Fabrice Di Meglio <fdimeglio@google.com> Clean getTextRunAdvances() APIs

- remove ICU reference in API names
- use a "reserved" int parameter to pass either "0" for Harfbuzz or "1" for "ICU"

Change-Id: I88b4f76feafd203a6999cd7349402fa36a9a4b2a
rc/com/android/bidi/BiDiTestView.java
689e515ed2b8064c15e54d8ab69d87de54c5e0d6 14-Apr-2011 Fabrice Di Meglio <fdimeglio@google.com> Add Unicode BiDi Algo before drawing text in Canvas

- only for temporary API
- update BiDiTest

Change-Id: Ifd445799dc0fda4da896246e41978cd8d71aa035
ndroidManifest.xml
es/values/strings.xml
rc/com/android/bidi/BiDiTestView.java
fcf2be1846935e7983ea2fe87fdd4d7af27764b6 06-Apr-2011 Fabrice Di Meglio <fdimeglio@google.com> TextLayoutCache - add glyphs caching

- cache glyphs after Harfbuzz shaping
- use "m" prefix for member variables
- add temporary API for drawing text with glyphs
- update BiDiTest app

Change-Id: I619b3f313b15f010018daad21b3e5e486619b4e4
rc/com/android/bidi/BiDiTestView.java
eee49c699c035ffba188417489f40d34f587d65c 25-Mar-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix text redering issue where the text was sometimes truncated

- 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
es/layout/biditest_main.xml
es/values/strings.xml
rc/com/android/bidi/BiDiTestActivity.java
rc/com/android/bidi/BiDiTestConstants.java
rc/com/android/bidi/BiDiTestView.java
9f82b580d744ce4baf057b061994394dcf239eed 08-Mar-2011 Fabrice Di Meglio <fdimeglio@google.com> Use Harfbuzz instead of ICU4C for computing advances

- 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
ndroid.mk
ndroidManifest.xml
roguard.flags
es/layout/biditest_main.xml
es/values/strings.xml
rc/com/android/bidi/BiDiTestActivity.java
rc/com/android/bidi/BiDiTestView.java