Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/widget/
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/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/UnifiedEmail/src/com/android/mail/browse/
DConversationItemViewCoordinates.java130 public Config setLayoutDirection(int layoutDirection) { in setLayoutDirection() argument
131 mLayoutDirection = layoutDirection; in setLayoutDirection()
/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
/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.java628 final int layoutDirection = getLayoutDirection(); in onLayout() local
630 int absoluteGravity = Gravity.getAbsoluteGravity(gravity, layoutDirection); in onLayout()