Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java172 public static final int ALIGN_LEFT = 0; field in SlidingTab.Slider
248 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in hide()
249 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getRight() in hide()
267 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in show()
268 int dx = horiz ? (alignment == ALIGN_LEFT ? tab.getWidth() : -tab.getWidth()) : 0; in show()
309 final boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in reset()
310 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getLeft() in reset()
363 if (alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT) { in layout()
369 if (alignment == ALIGN_LEFT) { in layout()
744 mLeftSlider.layout(l, t, r, b, isHorizontal() ? Slider.ALIGN_LEFT : Slider.ALIGN_BOTTOM);
/frameworks/base/core/java/android/text/
DLayout.java386 if (paraAlign == Alignment.ALIGN_LEFT) { in getJustifyWidth()
397 indentWidth = getIndentAdjust(lineNum, Alignment.ALIGN_LEFT); in getJustifyWidth()
405 indentWidth = getIndentAdjust(lineNum, Alignment.ALIGN_LEFT); in getJustifyWidth()
530 if (align == Alignment.ALIGN_LEFT) { in drawText()
542 indentWidth = getIndentAdjust(lineNum, Alignment.ALIGN_LEFT); in drawText()
555 indentWidth = getIndentAdjust(lineNum, Alignment.ALIGN_LEFT); in drawText()
703 if (align == Alignment.ALIGN_LEFT) { in getLineStartPos()
712 x = left + getIndentAdjust(line, Alignment.ALIGN_LEFT); in getLineStartPos()
735 x = left - max + getIndentAdjust(line, Alignment.ALIGN_LEFT); in getLineStartPos()
1301 dir == DIR_RIGHT_TO_LEFT ? Alignment.ALIGN_RIGHT : Alignment.ALIGN_LEFT; in getLineLeft()
[all …]
DStaticLayout.java1305 if (align == Alignment.ALIGN_LEFT) {
/frameworks/base/core/tests/coretests/src/android/text/
DLayoutTest.java316 Alignment.ALIGN_LEFT, mSpacingMult, mSpacingAdd, false); in testGetSelectionWithASingleLineSelection()
347 Alignment.ALIGN_LEFT, mSpacingMult, mSpacingAdd, false); in testGetSelectionWithMultilineSelection_secondLineSelectionEndsBeforeFirstCharacter()
393 Alignment.ALIGN_LEFT, mSpacingMult, mSpacingAdd, false);
436 Alignment.ALIGN_LEFT, mSpacingMult, mSpacingAdd, false); in testGetSelectionPathWithASingleLineSelection()
469 Alignment.ALIGN_LEFT, mSpacingMult, mSpacingAdd, false); in testGetSelection_latinTextDirection()
480 Alignment.ALIGN_LEFT, mSpacingMult, mSpacingAdd, false); in testGetSelection_arabicTextDirection()
491 Alignment.ALIGN_LEFT, mSpacingMult, mSpacingAdd, false); in testGetSelection_mixedLatinAndArabicTextDirection()
DStaticLayoutTextMeasuringTest.java40 private static final Alignment DEFAULT_ALIGN = Alignment.ALIGN_LEFT;
/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 …]
DTextView.java8927 alignment = Layout.Alignment.ALIGN_LEFT; in getLayoutAlignment()
8951 ? Layout.Alignment.ALIGN_RIGHT : Layout.Alignment.ALIGN_LEFT; in getLayoutAlignment()
8955 ? Layout.Alignment.ALIGN_LEFT : Layout.Alignment.ALIGN_RIGHT; in getLayoutAlignment()
9762 ? Layout.Alignment.ALIGN_LEFT : Layout.Alignment.ALIGN_RIGHT; in bringTextIntoView()
9765 ? Layout.Alignment.ALIGN_RIGHT : Layout.Alignment.ALIGN_LEFT; in bringTextIntoView()
9831 case ALIGN_LEFT: in bringPointIntoView()
/frameworks/base/media/java/android/media/
DWebVttRenderer.java1731 alignment = Alignment.ALIGN_LEFT; in update()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt38160 field public static final int ALIGN_LEFT = 5; // 0x5
/frameworks/base/api/
Dcurrent.txt60389 field public static final int ALIGN_LEFT = 5; // 0x5