Home
last modified time | relevance | path

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

1234

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DDrawableLayoutDirectionHelper.java57 final int layoutDirection = context.getResources().getConfiguration().getLayoutDirection(); in createRelativeInsetDrawable() local
58 isRtl = layoutDirection == View.LAYOUT_DIRECTION_RTL; in createRelativeInsetDrawable()
76 int layoutDirection) { in createRelativeInsetDrawable() argument
83 layoutDirection == View.LAYOUT_DIRECTION_RTL); in createRelativeInsetDrawable()
/frameworks/base/core/java/android/view/
DGravity.java160 Rect outRect, int layoutDirection) { in apply() argument
161 int absGravity = getAbsoluteGravity(gravity, layoutDirection); in apply()
297 int xAdj, int yAdj, Rect outRect, int layoutDirection) { in apply() argument
298 int absGravity = getAbsoluteGravity(gravity, layoutDirection); in apply()
376 public static void applyDisplay(int gravity, Rect display, Rect inoutObj, int layoutDirection) { in applyDisplay() argument
377 int absGravity = getAbsoluteGravity(gravity, layoutDirection); in applyDisplay()
412 public static int getAbsoluteGravity(int gravity, int layoutDirection) { in getAbsoluteGravity() argument
419 if (layoutDirection == View.LAYOUT_DIRECTION_RTL) { in getAbsoluteGravity()
429 if (layoutDirection == View.LAYOUT_DIRECTION_RTL) { in getAbsoluteGravity()
/frameworks/base/core/java/com/android/internal/widget/
DImageFloatingTextView.java150 public void onRtlPropertiesChanged(int layoutDirection) { in onRtlPropertiesChanged() argument
151 super.onRtlPropertiesChanged(layoutDirection); in onRtlPropertiesChanged()
153 if (layoutDirection != mResolvedDirection && isLayoutDirectionResolved()) { in onRtlPropertiesChanged()
154 mResolvedDirection = layoutDirection; in onRtlPropertiesChanged()
DActionBarContainer.java200 public void onResolveDrawables(int layoutDirection) { in onResolveDrawables() argument
201 super.onResolveDrawables(layoutDirection); in onResolveDrawables()
203 mBackground.setLayoutDirection(layoutDirection); in onResolveDrawables()
206 mStackedBackground.setLayoutDirection(layoutDirection); in onResolveDrawables()
209 mSplitBackground.setLayoutDirection(layoutDirection); in onResolveDrawables()
DMessagingLinearLayout.java155 final int layoutDirection = getLayoutDirection(); in onLayout() local
174 if (layoutDirection == LAYOUT_DIRECTION_RTL) { in onLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCastDrawable.java76 public boolean onLayoutDirectionChanged(int layoutDirection) { in onLayoutDirectionChanged() argument
77 mFillDrawable.setLayoutDirection(layoutDirection); in onLayoutDirectionChanged()
78 return super.onLayoutDirectionChanged(layoutDirection); in onLayoutDirectionChanged()
/frameworks/opt/bitmap/src/com/android/bitmap/view/
DBitmapDrawableImageView.java162 public void onRtlPropertiesChanged(int layoutDirection) { in onRtlPropertiesChanged() argument
163 super.onRtlPropertiesChanged(layoutDirection); in onRtlPropertiesChanged()
165 mDrawable.setLayoutDirectionLocal(layoutDirection); in onRtlPropertiesChanged()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DBasicBitmapDrawable.java139 public void setLayoutDirectionLocal(int layoutDirection) { in setLayoutDirectionLocal() argument
140 if (mLayoutDirection != layoutDirection) { in setLayoutDirectionLocal()
141 mLayoutDirection = layoutDirection; in setLayoutDirectionLocal()
142 onLayoutDirectionChangeLocal(layoutDirection); in setLayoutDirectionLocal()
152 public void onLayoutDirectionChangeLocal(int layoutDirection) {} in onLayoutDirectionChangeLocal() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSizeCompatModeActivityController.java255 public void setLayoutDirection(int layoutDirection) { in setLayoutDirection() argument
256 int gravity = getGravity(layoutDirection); in setLayoutDirection()
266 super.setLayoutDirection(layoutDirection); in setLayoutDirection()
291 private static int getGravity(int layoutDirection) { in getGravity() argument
293 | (layoutDirection == View.LAYOUT_DIRECTION_RTL ? Gravity.START : Gravity.END); in getGravity()
DHardwareUiLayout.java288 int layoutDirection = getLayoutDirection(); in rotateGravityRight() local
289 final int absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection); in rotateGravityRight()
341 int layoutDirection = getLayoutDirection(); in rotateGravityLeft() local
342 final int absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection); in rotateGravityLeft()
/frameworks/base/core/java/android/view/autofill/
DAutofillPopupWindow.java240 final int layoutDirection = anchor != null ? anchor.getLayoutDirection() in update() local
243 layoutDirection); in update()
402 int layoutDirection) { in show() argument
404 mPresenter.show(p, transitionEpicenter, fitsSystemWindows, layoutDirection); in show()
DIAutofillWindowPresenter.aidl30 boolean fitsSystemWindows, int layoutDirection); in show() argument
/frameworks/base/core/java/android/widget/
DRelativeLayout.java465 final int layoutDirection = getLayoutDirection(); in onMeasure() local
477 int[] rules = params.getRules(layoutDirection); in onMeasure()
573 final int[] rules = params.getRules(layoutDirection); in onMeasure()
603 final int[] rules = params.getRules(layoutDirection); in onMeasure()
623 layoutDirection); in onMeasure()
840 final int layoutDirection = getLayoutDirection(); in positionChildHorizontal() local
841 int[] rules = params.getRules(layoutDirection); in positionChildHorizontal()
1548 private void resolveRules(int layoutDirection) { in resolveRules() argument
1549 final boolean isLayoutRtl = (layoutDirection == View.LAYOUT_DIRECTION_RTL); in resolveRules()
1681 public int[] getRules(int layoutDirection) { in getRules() argument
[all …]
DAbsSeekBar.java796 public void onResolveDrawables(int layoutDirection) {
797 super.onResolveDrawables(layoutDirection);
800 mThumb.setLayoutDirection(layoutDirection);
1142 public void onRtlPropertiesChanged(int layoutDirection) {
1143 super.onRtlPropertiesChanged(layoutDirection);
DCompoundButton.java278 public void onResolveDrawables(@ResolvedLayoutDir int layoutDirection) { in onResolveDrawables() argument
279 super.onResolveDrawables(layoutDirection); in onResolveDrawables()
281 mButtonDrawable.setLayoutDirection(layoutDirection); in onResolveDrawables()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DReverseLinearLayout.java71 public void onRtlPropertiesChanged(int layoutDirection) { in onRtlPropertiesChanged() argument
72 super.onRtlPropertiesChanged(layoutDirection); in onRtlPropertiesChanged()
/frameworks/base/media/java/android/media/
DIVolumeController.aidl32 void setLayoutDirection(int layoutDirection); in setLayoutDirection() argument
/frameworks/base/tests/BiDiTests/
Dnew-attributes.txt1 <public type="attr" name="layoutDirection" />
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DIllustration.java215 private boolean shouldMirrorDrawable(Drawable drawable, int layoutDirection) { in shouldMirrorDrawable() argument
216 if (layoutDirection == LayoutDirection.RTL) { in shouldMirrorDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPagedTileLayout.java100 public void onRtlPropertiesChanged(int layoutDirection) { in onRtlPropertiesChanged() argument
101 super.onRtlPropertiesChanged(layoutDirection); in onRtlPropertiesChanged()
102 if (mLayoutDirection != layoutDirection) { in onRtlPropertiesChanged()
103 mLayoutDirection = layoutDirection; in onRtlPropertiesChanged()
/frameworks/base/graphics/java/android/graphics/drawable/
DClipDrawable.java200 final int layoutDirection = getLayoutDirection(); in draw() local
201 Gravity.apply(mState.mGravity, w, h, bounds, r, layoutDirection); in draw()
DDrawable.java538 public final boolean setLayoutDirection(@View.ResolvedLayoutDir int layoutDirection) { in setLayoutDirection() argument
539 if (mLayoutDirection != layoutDirection) { in setLayoutDirection()
540 mLayoutDirection = layoutDirection; in setLayoutDirection()
541 return onLayoutDirectionChanged(layoutDirection); in setLayoutDirection()
555 public boolean onLayoutDirectionChanged(@View.ResolvedLayoutDir int layoutDirection) { in onLayoutDirectionChanged() argument
DScaleDrawable.java241 final int layoutDirection = getLayoutDirection(); in onBoundsChange() local
242 Gravity.apply(mState.mGravity, w, h, bounds, r, layoutDirection); in onBoundsChange()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuItemView.java303 final int layoutDirection = getLayoutDirection(); in positionIcon() local
306 layoutDirection); in positionIcon()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/hvac/
DAnimatedTemperatureView.java72 static boolean isLeft(int gravity, int layoutDirection) { in isLeft() argument
74 .getAbsoluteGravity(gravity & Gravity.HORIZONTAL_GRAVITY_MASK, layoutDirection) in isLeft()

1234