Home
last modified time | relevance | path

Searched refs:layoutDirection (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/view/
DGravity.java159 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()
DView.java2905 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()
DViewGroup.java5313 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/
DGravityTest.java70 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/
Dnew-attributes.txt1 <public type="attr" name="layoutDirection" />
/frameworks/base/core/java/android/widget/
DFrameLayout.java397 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()
DTableRow.java227 final int layoutDirection = getResolvedLayoutDirection(); in measureChildBeforeLayout() local
228 final int absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection); in measureChildBeforeLayout()
DLinearLayout.java1463 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()
DRelativeLayout.java503 final int layoutDirection = getResolvedLayoutDirection(); in onMeasure() local
505 layoutDirection); in onMeasure()
DGridView.java1411 final int layoutDirection = getResolvedLayoutDirection(); in setupChild() local
1412 final int absoluteGravity = Gravity.getAbsoluteGravity(mGravity, layoutDirection); in setupChild()
DTextView.java4838 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/
DIconMenuItemView.java284 final int layoutDirection = getResolvedLayoutDirection(); in positionIcon() local
287 layoutDirection); in positionIcon()
/frameworks/base/graphics/java/android/graphics/drawable/
DClipDrawable.java213 final int layoutDirection = getResolvedLayoutDirectionSelf(); in draw() local
214 Gravity.apply(mClipState.mGravity, w, h, bounds, r, layoutDirection); in draw()
DScaleDrawable.java225 final int layoutDirection = getResolvedLayoutDirectionSelf(); in onBoundsChange() local
226 Gravity.apply(mScaleState.mGravity, w, h, bounds, r, layoutDirection); in onBoundsChange()
DBitmapDrawable.java388 final int layoutDirection = getResolvedLayoutDirectionSelf(); in draw() local
390 getBounds(), mDstRect, layoutDirection); in draw()