Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/widget/
DCircleView.kt67 override fun onRtlPropertiesChanged(layoutDirection: Int) { in onRtlPropertiesChanged()
68 super.onRtlPropertiesChanged(layoutDirection) in onRtlPropertiesChanged()
71 applyGravity(gravity, layoutDirection) in onRtlPropertiesChanged()
79 applyGravity(gravity, layoutDirection) in onLayout()
111 applyGravity(gravity, layoutDirection) in setGravity()
234 private fun applyGravity(gravity: Int, layoutDirection: Int) { in applyGravity()
235 val absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection) in applyGravity()
DCircleView.java106 public void onRtlPropertiesChanged(int layoutDirection) { in onRtlPropertiesChanged() argument
107 super.onRtlPropertiesChanged(layoutDirection); in onRtlPropertiesChanged()
110 applyGravity(mGravity, layoutDirection); in onRtlPropertiesChanged()
291 private void applyGravity(int gravity, int layoutDirection) { in applyGravity() argument
292 final int absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection); in applyGravity()
/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java1160 final int layoutDirection = getLayoutDirection(); in layoutVertical() local
1161 final int absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection); in layoutVertical()
1193 public void onRtlPropertiesChanged(int layoutDirection) { in onRtlPropertiesChanged() argument
1194 super.onRtlPropertiesChanged(layoutDirection); in onRtlPropertiesChanged()
1195 if (layoutDirection != mLayoutDirection) { in onRtlPropertiesChanged()
1196 mLayoutDirection = layoutDirection; in onRtlPropertiesChanged()
1239 final int layoutDirection = getLayoutDirection(); in layoutHorizontal() local
1240 switch (Gravity.getAbsoluteGravity(majorGravity, layoutDirection)) { in layoutHorizontal()
DDonutView.java119 final int layoutDirection = TextUtils.getLayoutDirectionFromLocale(locale); in DonutView() local
120 final int bidiFlags = (layoutDirection == LAYOUT_DIRECTION_LTR) in DonutView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DMatchParentShrinkingLinearLayout.java1160 final int layoutDirection = getLayoutDirection(); in layoutVertical() local
1161 final int absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection); in layoutVertical()
1193 public void onRtlPropertiesChanged(int layoutDirection) { in onRtlPropertiesChanged() argument
1194 super.onRtlPropertiesChanged(layoutDirection); in onRtlPropertiesChanged()
1195 if (layoutDirection != mLayoutDirection) { in onRtlPropertiesChanged()
1196 mLayoutDirection = layoutDirection; in onRtlPropertiesChanged()
1239 final int layoutDirection = getLayoutDirection(); in layoutHorizontal() local
1240 switch (Gravity.getAbsoluteGravity(majorGravity, layoutDirection)) { in layoutHorizontal()
DDonutView.java119 final int layoutDirection = TextUtils.getLayoutDirectionFromLocale(locale); in DonutView() local
120 final int bidiFlags = (layoutDirection == LAYOUT_DIRECTION_LTR) in DonutView()
/packages/apps/TV/src/com/android/tv/guide/
DTimelineRow.java61 public void onRtlPropertiesChanged(int layoutDirection) { in onRtlPropertiesChanged() argument
62 super.onRtlPropertiesChanged(layoutDirection); in onRtlPropertiesChanged()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DSuggestionStripView.java103 final int layoutDirection = isRtlLanguage ? ViewCompat.LAYOUT_DIRECTION_RTL in setLayoutDirection() local
105 ViewCompat.setLayoutDirection(mSuggestionStripView, layoutDirection); in setLayoutDirection()
106 ViewCompat.setLayoutDirection(mSuggestionsStrip, layoutDirection); in setLayoutDirection()
107 ViewCompat.setLayoutDirection(mImportantNoticeStrip, layoutDirection); in setLayoutDirection()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/
DSetupStepIndicatorView.java41 final int layoutDirection = ViewCompat.getLayoutDirection(this); in setIndicatorPosition() local
46 mXRatio = (layoutDirection == ViewCompat.LAYOUT_DIRECTION_RTL) ? 1.0f - pos : pos; in setIndicatorPosition()
DSetupStartIndicatorView.java99 final int layoutDirection = ViewCompat.getLayoutDirection(this); in onDraw() local
105 if (layoutDirection == ViewCompat.LAYOUT_DIRECTION_RTL) { in onDraw()
/packages/apps/DeskClock/src/com/android/deskclock/uidata/
DTabModel.kt83 val layoutDirection = TextUtils.getLayoutDirectionFromLocale(Locale.getDefault()) in getTabAt() constant
84 val ordinal: Int = if (layoutDirection == View.LAYOUT_DIRECTION_RTL) { in getTabAt()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DActionPresenterSelector.java60 public ActionViewHolder(View view, int layoutDirection) { in ActionViewHolder() argument
63 mLayoutDirection = layoutDirection; in ActionViewHolder()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DDirectoryListBot.java410 final int layoutDirection = mContext.getResources().getConfiguration().getLayoutDirection(); in assertOrder() local
413 if (layoutDirection == View.LAYOUT_DIRECTION_LTR) { in assertOrder()
/packages/apps/DeskClock/src/com/android/deskclock/widget/toast/
DSnackbarSlidingBehavior.java52 public boolean onLayoutChild(CoordinatorLayout parent, View child, int layoutDirection) { in onLayoutChild() argument
DSnackbarSlidingBehavior.kt61 layoutDirection: Int in onLayoutChild()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactEntryListFragment.java966 final int layoutDirection = TextUtils.getLayoutDirectionFromLocale(locale);
967 switch (layoutDirection) {
DContactListItemView.java163 final int layoutDirection = TextUtils.getLayoutDirectionFromLocale(locale); in getDefaultPhotoPosition() local
164 switch (layoutDirection) { in getDefaultPhotoPosition()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java646 final int layoutDirection = getLayoutDirection(); in onLayout() local
648 int absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection); in onLayout()