Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/text/
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 …]
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()
DTextLayoutTest.java44 Layout.Alignment.ALIGN_NORMAL, 1, 0, in testStaticLayout()
51 Layout.Alignment.ALIGN_NORMAL, 1, 0, in testDynamicLayoutTest()
DDynamicLayoutBlocksTest.java19 import static android.text.Layout.Alignment.ALIGN_NORMAL;
42 private DynamicLayout dl = new DynamicLayout("", new TextPaint(), 0, ALIGN_NORMAL, 0, 0, false);
DStaticLayoutTest.java19 import static android.text.Layout.Alignment.ALIGN_NORMAL;
330 Alignment align = ALIGN_NORMAL;
/frameworks/base/apct-tests/perftests/core/src/android/text/
DStaticLayoutCreateDrawPerfTest.java18 import static android.text.Layout.Alignment.ALIGN_NORMAL;
140 .setAlignment(ALIGN_NORMAL) in createLayout()
DBoringLayoutCreateDrawPerfTest.java18 import static android.text.Layout.Alignment.ALIGN_NORMAL;
149 ALIGN_NORMAL, SPACING_MULT, SPACING_ADD, metrics, true /*includePad*/); in createLayout()
DDynamicLayoutPerfTest.java19 import static android.text.Layout.Alignment.ALIGN_NORMAL;
119 ALIGN_NORMAL, 0, 0, false);
/frameworks/base/core/java/android/text/
DLayout.java741 align = (dir == DIR_LEFT_TO_RIGHT) ? Alignment.ALIGN_NORMAL : Alignment.ALIGN_OPPOSITE; in getJustifyWidth()
743 align = (dir == DIR_LEFT_TO_RIGHT) ? Alignment.ALIGN_OPPOSITE : Alignment.ALIGN_NORMAL; in getJustifyWidth()
749 if (align == Alignment.ALIGN_NORMAL) { in getJustifyWidth()
887 Alignment.ALIGN_NORMAL : Alignment.ALIGN_OPPOSITE; in drawText()
890 Alignment.ALIGN_OPPOSITE : Alignment.ALIGN_NORMAL; in drawText()
895 if (align == Alignment.ALIGN_NORMAL) { in drawText()
1161 align = (dir == DIR_LEFT_TO_RIGHT) ? Alignment.ALIGN_NORMAL : Alignment.ALIGN_OPPOSITE; in getLineStartPos()
1163 align = (dir == DIR_LEFT_TO_RIGHT) ? Alignment.ALIGN_OPPOSITE : Alignment.ALIGN_NORMAL; in getLineStartPos()
1167 if (align == Alignment.ALIGN_NORMAL) { in getLineStartPos()
1908 case ALIGN_NORMAL: in getLineLeft()
[all …]
DBoringLayout.java432 if (source instanceof String && align == Layout.Alignment.ALIGN_NORMAL) { in init()
DHtml.java370 if (alignment == Layout.Alignment.ALIGN_NORMAL) { in getTextStyles()
980 start(text, new Alignment(Layout.Alignment.ALIGN_NORMAL)); in startBlockElement()
DDynamicLayout.java88 b.mAlignment = Alignment.ALIGN_NORMAL; in obtain()
DStaticLayout.java110 b.mAlignment = Alignment.ALIGN_NORMAL; in obtain()
/frameworks/base/core/java/android/text/method/
DTouch.java68 (!ltr && (a == Alignment.ALIGN_NORMAL)) || in scrollTo()
/frameworks/base/media/java/android/media/
DCea708CaptionRenderer.java1906 mCCView.setAlignment(Alignment.ALIGN_NORMAL); in initWindow()
1931 mCCView.setAlignment(Alignment.ALIGN_NORMAL); in initWindow()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java2301 Layout.Alignment align = Layout.Alignment.ALIGN_NORMAL; in onShowAlignAlertDialog()
2304 align = Layout.Alignment.ALIGN_NORMAL; in onShowAlignAlertDialog()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt29735 enum_constant public static final android.text.Layout.Alignment ALIGN_NORMAL;
/frameworks/base/core/api/
Dcurrent.txt47814 enum_constant public static final android.text.Layout.Alignment ALIGN_NORMAL;