Home
last modified time | relevance | path

Searched refs:ALIGN_NORMAL (Results 1 – 18 of 18) sorted by relevance

/aosp14/frameworks/base/core/tests/coretests/src/android/text/
H A DDynamicLayoutTest.java19 import static android.text.Layout.Alignment.ALIGN_NORMAL;
49 ALIGN_NORMAL, 0, 0, false); in testGetBlocksAlwaysNeedToBeRedrawn_en()
75 ALIGN_NORMAL, 0, 0, false); in testGetBlocksAlwaysNeedToBeRedrawn_replacementSpan()
104 ALIGN_NORMAL, 0, 0, false); in testGetBlocksAlwaysNeedToBeRedrawn_thai()
129 .setAlignment(ALIGN_NORMAL) in testGetLineExtra_withoutLinespacing()
137 ALIGN_NORMAL, in testGetLineExtra_withoutLinespacing()
159 .setAlignment(ALIGN_NORMAL) in testGetLineExtra_withLinespacing()
168 ALIGN_NORMAL, in testGetLineExtra_withLinespacing()
183 ALIGN_NORMAL, 1.0f /*spacingMultiplier*/, 0f /*spacingAdd*/, false /*includepad*/); in testGetLineExtra_withNegativeValue()
190 ALIGN_NORMAL, 1.0f /*spacingMultiplier*/, 0f /*spacingAdd*/, false /*includepad*/); in testGetLineExtra_withParamGreaterThanLineCount()
[all …]
H A DDynamicLayoutOffsetMappingTest.java19 import static android.text.Layout.Alignment.ALIGN_NORMAL;
46 .setAlignment(ALIGN_NORMAL) in textWithOffsetMapping()
63 .setAlignment(ALIGN_NORMAL) in textWithOffsetMapping_deletion()
91 .setAlignment(ALIGN_NORMAL) in textWithOffsetMapping_insertion()
112 .setAlignment(ALIGN_NORMAL) in textWithOffsetMapping_replace()
130 .setAlignment(ALIGN_NORMAL) in textWithOffsetMapping_blockBeforeTextChanged_deletion()
153 .setAlignment(ALIGN_NORMAL) in textWithOffsetMapping_blockBeforeTextChanged_insertion()
174 .setAlignment(ALIGN_NORMAL) in textWithOffsetMapping_blockBeforeTextChanged_replace()
191 .setAlignment(ALIGN_NORMAL) in textWithOffsetMapping_onlyCallOnTextChanged_notCrash()
H A DTextLayoutTest.java44 Layout.Alignment.ALIGN_NORMAL, 1, 0, in testStaticLayout()
51 Layout.Alignment.ALIGN_NORMAL, 1, 0, in testDynamicLayoutTest()
H A DDynamicLayoutBlocksTest.java19 import static android.text.Layout.Alignment.ALIGN_NORMAL;
42 private DynamicLayout dl = new DynamicLayout("", new TextPaint(), 0, ALIGN_NORMAL, 0, 0, false);
H A DStaticLayoutTest.java19 import static android.text.Layout.Alignment.ALIGN_NORMAL;
330 Alignment align = ALIGN_NORMAL;
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/text/
H A DStaticLayoutCreateDrawPerfTest.java18 import static android.text.Layout.Alignment.ALIGN_NORMAL;
140 .setAlignment(ALIGN_NORMAL) in createLayout()
H A DBoringLayoutCreateDrawPerfTest.java18 import static android.text.Layout.Alignment.ALIGN_NORMAL;
149 ALIGN_NORMAL, SPACING_MULT, SPACING_ADD, metrics, true /*includePad*/); in createLayout()
H A DDynamicLayoutPerfTest.java19 import static android.text.Layout.Alignment.ALIGN_NORMAL;
119 ALIGN_NORMAL, 0, 0, false);
/aosp14/frameworks/base/core/java/android/text/
H A DLayout.java569 if (align == Alignment.ALIGN_NORMAL) { in getJustifyWidth()
706 Alignment.ALIGN_NORMAL : Alignment.ALIGN_OPPOSITE; in drawText()
709 Alignment.ALIGN_OPPOSITE : Alignment.ALIGN_NORMAL; in drawText()
714 if (align == Alignment.ALIGN_NORMAL) { in drawText()
871 align = (dir == DIR_LEFT_TO_RIGHT) ? Alignment.ALIGN_NORMAL : Alignment.ALIGN_OPPOSITE; in getLineStartPos()
877 if (align == Alignment.ALIGN_NORMAL) { in getLineStartPos()
1583 case ALIGN_NORMAL: in getLineLeft()
1635 case ALIGN_NORMAL: in getLineRight()
2546 case ALIGN_NORMAL: in shouldClampCursor()
3250 private Alignment mAlignment = Alignment.ALIGN_NORMAL;
[all …]
H A DBoringLayout.java347 if (source instanceof String && align == Layout.Alignment.ALIGN_NORMAL) { in init()
H A DHtml.java370 if (alignment == Layout.Alignment.ALIGN_NORMAL) { in getTextStyles()
980 start(text, new Alignment(Layout.Alignment.ALIGN_NORMAL)); in startBlockElement()
H A DDynamicLayout.java80 b.mAlignment = Alignment.ALIGN_NORMAL; in obtain()
H A DStaticLayout.java103 b.mAlignment = Alignment.ALIGN_NORMAL; in obtain()
/aosp14/frameworks/base/core/java/android/text/method/
H A DTouch.java68 (!ltr && (a == Alignment.ALIGN_NORMAL)) || in scrollTo()
/aosp14/frameworks/base/media/java/android/media/
H A DCea708CaptionRenderer.java1906 mCCView.setAlignment(Alignment.ALIGN_NORMAL); in initWindow()
1931 mCCView.setAlignment(Alignment.ALIGN_NORMAL); in initWindow()
/aosp14/frameworks/base/core/java/android/widget/
H A DTextView.java10499 alignment = Layout.Alignment.ALIGN_NORMAL;
10514 alignment = Layout.Alignment.ALIGN_NORMAL;
10519 alignment = Layout.Alignment.ALIGN_NORMAL;
10539 alignment = Layout.Alignment.ALIGN_NORMAL;
10574 && (alignment == Layout.Alignment.ALIGN_NORMAL
11347 if (a == Layout.Alignment.ALIGN_NORMAL) { in bringTextIntoView()
11446 case ALIGN_NORMAL: in bringPointIntoView()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt47389 enum_constant public static final android.text.Layout.Alignment ALIGN_NORMAL;