/frameworks/base/core/java/android/view/ |
D | Gravity.java | 159 Rect outRect, int layoutDirection) { in apply() argument 160 int absGravity = getAbsoluteGravity(gravity, layoutDirection); in apply() 355 public static int getAbsoluteGravity(int gravity, int layoutDirection) { in getAbsoluteGravity() argument 362 if (layoutDirection == View.LAYOUT_DIRECTION_RTL) { in getAbsoluteGravity() 372 if (layoutDirection == View.LAYOUT_DIRECTION_RTL) { in getAbsoluteGravity()
|
D | View.java | 2905 final int layoutDirection = a.getInt(attr, -1); in View() local 2906 if (layoutDirection != -1) { in View() 2907 viewFlagValues |= LAYOUT_DIRECTION_FLAGS[layoutDirection]; in View() 4735 public void setLayoutDirection(int layoutDirection) { in setLayoutDirection() argument 4736 if (getLayoutDirection() != layoutDirection) { in setLayoutDirection() 4739 setFlags(layoutDirection, LAYOUT_DIRECTION_MASK); in setLayoutDirection()
|
D | ViewGroup.java | 5313 protected void resolveWithDirection(int layoutDirection) { in resolveWithDirection() argument 5572 protected void resolveWithDirection(int layoutDirection) { in resolveWithDirection() argument 5573 switch(layoutDirection) { in resolveWithDirection()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | GravityTest.java | 70 final int layoutDirection = isRtl ? View.LAYOUT_DIRECTION_RTL : View.LAYOUT_DIRECTION_LTR; in assertOneGravity() local 72 assertEquals(expected, Gravity.getAbsoluteGravity(initial, layoutDirection)); in assertOneGravity()
|
/frameworks/base/tests/BiDiTests/ |
D | new-attributes.txt | 1 <public type="attr" name="layoutDirection" />
|
/frameworks/base/core/java/android/widget/ |
D | FrameLayout.java | 397 final int layoutDirection = getResolvedLayoutDirection(); in onLayout() local 398 final int absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection); in onLayout() 469 final int layoutDirection = getResolvedLayoutDirection(); in draw() local 472 layoutDirection); in draw()
|
D | TableRow.java | 227 final int layoutDirection = getResolvedLayoutDirection(); in measureChildBeforeLayout() local 228 final int absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection); in measureChildBeforeLayout()
|
D | LinearLayout.java | 1463 final int layoutDirection = getResolvedLayoutDirection(); in layoutVertical() local 1464 final int absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection); in layoutVertical() 1527 final int layoutDirection = getResolvedLayoutDirection(); in layoutHorizontal() local 1528 switch (Gravity.getAbsoluteGravity(majorGravity, layoutDirection)) { in layoutHorizontal()
|
D | RelativeLayout.java | 503 final int layoutDirection = getResolvedLayoutDirection(); in onMeasure() local 505 layoutDirection); in onMeasure()
|
D | GridView.java | 1411 final int layoutDirection = getResolvedLayoutDirection(); in setupChild() local 1412 final int absoluteGravity = Gravity.getAbsoluteGravity(mGravity, layoutDirection); in setupChild()
|
D | TextView.java | 4838 final int layoutDirection = getResolvedLayoutDirection(); in onDraw() local 4839 final int absoluteGravity = Gravity.getAbsoluteGravity(mGravity, layoutDirection); in onDraw() 8560 final int layoutDirection = getResolvedLayoutDirection(); in getLeftFadingEdgeStrength() local 8561 final int absoluteGravity = Gravity.getAbsoluteGravity(mGravity, layoutDirection); in getLeftFadingEdgeStrength() 8586 final int layoutDirection = getResolvedLayoutDirection(); in getRightFadingEdgeStrength() local 8587 final int absoluteGravity = Gravity.getAbsoluteGravity(mGravity, layoutDirection); in getRightFadingEdgeStrength()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | IconMenuItemView.java | 284 final int layoutDirection = getResolvedLayoutDirection(); in positionIcon() local 287 layoutDirection); in positionIcon()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ClipDrawable.java | 213 final int layoutDirection = getResolvedLayoutDirectionSelf(); in draw() local 214 Gravity.apply(mClipState.mGravity, w, h, bounds, r, layoutDirection); in draw()
|
D | ScaleDrawable.java | 225 final int layoutDirection = getResolvedLayoutDirectionSelf(); in onBoundsChange() local 226 Gravity.apply(mScaleState.mGravity, w, h, bounds, r, layoutDirection); in onBoundsChange()
|
D | BitmapDrawable.java | 388 final int layoutDirection = getResolvedLayoutDirectionSelf(); in draw() local 390 getBounds(), mDstRect, layoutDirection); in draw()
|