Home
last modified time | relevance | path

Searched refs:ALIGN_LEFT (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java169 public static final int ALIGN_LEFT = 0; field in SlidingTab.Slider
245 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in hide()
246 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getRight() in hide()
264 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in show()
265 int dx = horiz ? (alignment == ALIGN_LEFT ? tab.getWidth() : -tab.getWidth()) : 0; in show()
306 final boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in reset()
307 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getLeft() in reset()
360 if (alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT) { in layout()
366 if (alignment == ALIGN_LEFT) { in layout()
741 mLeftSlider.layout(l, t, r, b, isHorizontal() ? Slider.ALIGN_LEFT : Slider.ALIGN_BOTTOM);
/frameworks/base/core/java/android/widget/
DRelativeLayout.java117 public static final int ALIGN_LEFT = 5; field in RelativeLayout
202 LEFT_OF, RIGHT_OF, ALIGN_LEFT, ALIGN_RIGHT, START_OF, END_OF, ALIGN_START, ALIGN_END
937 anchorParams = getRelatedViewParams(rules, ALIGN_LEFT); in applyHorizontalSizeRules()
940 } else if (childParams.alignWithParent && rules[ALIGN_LEFT] != 0) { in applyHorizontalSizeRules()
1243 @ViewDebug.IntToString(from = ALIGN_LEFT, to = "alignLeft"),
1332 rules[ALIGN_LEFT] = a.getResourceId(attr, 0); in LayoutParams()
1558 if (mRules[ALIGN_LEFT] == 0) { in resolveRules()
1561 mRules[ALIGN_LEFT] = mRules[ALIGN_START]; in resolveRules()
1613 (mRules[ALIGN_LEFT] != 0 || mRules[ALIGN_RIGHT] != 0)) { in resolveRules()
1615 mRules[ALIGN_LEFT] = 0; in resolveRules()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutTextMeasuringTest.java40 private static final Alignment DEFAULT_ALIGN = Alignment.ALIGN_LEFT;
DLayoutTest.java336 Alignment.ALIGN_LEFT, mSpacingMult, mSpacingAdd, false); in testGetSelectionWithASingleLineSelection()
367 Alignment.ALIGN_LEFT, mSpacingMult, mSpacingAdd, false); in testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter()
413 Alignment.ALIGN_LEFT, mSpacingMult, mSpacingAdd, false);
456 Alignment.ALIGN_LEFT, mSpacingMult, mSpacingAdd, false); in testGetSelectionPathWithASingleLineSelection()
489 Alignment.ALIGN_LEFT, mSpacingMult, mSpacingAdd, false); in testGetSelection_latinTextDirection()
500 Alignment.ALIGN_LEFT, mSpacingMult, mSpacingAdd, false); in testGetSelection_arabicTextDirection()
511 Alignment.ALIGN_LEFT, mSpacingMult, mSpacingAdd, false); in testGetSelection_mixedLatinAndArabicTextDirection()
/frameworks/base/core/java/android/text/
DLayout.java740 if (paraAlign == Alignment.ALIGN_LEFT) { in getJustifyWidth()
751 indentWidth = getIndentAdjust(lineNum, Alignment.ALIGN_LEFT); in getJustifyWidth()
759 indentWidth = getIndentAdjust(lineNum, Alignment.ALIGN_LEFT); in getJustifyWidth()
885 if (align == Alignment.ALIGN_LEFT) { in drawText()
897 indentWidth = getIndentAdjust(lineNum, Alignment.ALIGN_LEFT); in drawText()
910 indentWidth = getIndentAdjust(lineNum, Alignment.ALIGN_LEFT); in drawText()
1160 if (align == Alignment.ALIGN_LEFT) { in getLineStartPos()
1169 x = left + getIndentAdjust(line, Alignment.ALIGN_LEFT); in getLineStartPos()
1192 x = left - max + getIndentAdjust(line, Alignment.ALIGN_LEFT); in getLineStartPos()
1910 dir == DIR_RIGHT_TO_LEFT ? Alignment.ALIGN_RIGHT : Alignment.ALIGN_LEFT; in getLineLeft()
[all …]
DStaticLayout.java1528 if (align == Alignment.ALIGN_LEFT) {
/frameworks/base/media/java/android/media/
DWebVttRenderer.java1731 alignment = Alignment.ALIGN_LEFT; in update()
/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.txt38160 field public static final int ALIGN_LEFT = 5; // 0x5
/frameworks/base/core/api/
Dcurrent.txt60128 field public static final int ALIGN_LEFT = 5; // 0x5