Home
last modified time | relevance | path

Searched refs:ALIGN_NORMAL (Results 1 – 18 of 18) 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 …]
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.java388 align = (dir == DIR_LEFT_TO_RIGHT) ? Alignment.ALIGN_NORMAL : Alignment.ALIGN_OPPOSITE; in getJustifyWidth()
390 align = (dir == DIR_LEFT_TO_RIGHT) ? Alignment.ALIGN_OPPOSITE : Alignment.ALIGN_NORMAL; in getJustifyWidth()
396 if (align == Alignment.ALIGN_NORMAL) { in getJustifyWidth()
533 Alignment.ALIGN_NORMAL : Alignment.ALIGN_OPPOSITE; in drawText()
536 Alignment.ALIGN_OPPOSITE : Alignment.ALIGN_NORMAL; in drawText()
541 if (align == Alignment.ALIGN_NORMAL) { in drawText()
705 align = (dir == DIR_LEFT_TO_RIGHT) ? Alignment.ALIGN_NORMAL : Alignment.ALIGN_OPPOSITE; in getLineStartPos()
707 align = (dir == DIR_LEFT_TO_RIGHT) ? Alignment.ALIGN_OPPOSITE : Alignment.ALIGN_NORMAL; in getLineStartPos()
711 if (align == Alignment.ALIGN_NORMAL) { in getLineStartPos()
1300 case ALIGN_NORMAL: in getLineLeft()
[all …]
DBoringLayout.java234 if (source instanceof String && align == Layout.Alignment.ALIGN_NORMAL) { in init()
DHtml.java370 if (alignment == Layout.Alignment.ALIGN_NORMAL) { in getTextStyles()
972 start(text, new Alignment(Layout.Alignment.ALIGN_NORMAL)); in startBlockElement()
DDynamicLayout.java79 b.mAlignment = Alignment.ALIGN_NORMAL; in obtain()
DStaticLayout.java102 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/core/java/android/widget/
DTextView.java9023 alignment = Layout.Alignment.ALIGN_NORMAL; in getLayoutAlignment()
9038 alignment = Layout.Alignment.ALIGN_NORMAL; in getLayoutAlignment()
9043 alignment = Layout.Alignment.ALIGN_NORMAL; in getLayoutAlignment()
9063 alignment = Layout.Alignment.ALIGN_NORMAL; in getLayoutAlignment()
9097 && (alignment == Layout.Alignment.ALIGN_NORMAL in makeNewLayout()
9862 if (a == Layout.Alignment.ALIGN_NORMAL) { in bringTextIntoView()
9939 case ALIGN_NORMAL: in bringPointIntoView()
/frameworks/base/core/api/
Dcurrent.txt44164 enum_constant public static final android.text.Layout.Alignment ALIGN_NORMAL;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt29735 enum_constant public static final android.text.Layout.Alignment ALIGN_NORMAL;