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()
/packages/apps/Car/libs/car-ui-lib/car-rotary-lib/src/androidTest/java/com/android/car/ui/
DTestFocusArea.java82 public void setLayoutDirection(int layoutDirection) { in setLayoutDirection() argument
84 if (mLayoutDirection != layoutDirection) { in setLayoutDirection()
85 mLayoutDirection = layoutDirection; in setLayoutDirection()
/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/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/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()
/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/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/Car/libs/car-apps-common/src/com/android/car/apps/common/
DCropAlignedImageView.java89 int layoutDirection = TextUtils.getLayoutDirectionFromLocale(Locale.getDefault()); in setMatrix() local
90 boolean isRTL = layoutDirection == View.LAYOUT_DIRECTION_RTL; in setMatrix()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DClearAllButton.java76 public void onRtlPropertiesChanged(int layoutDirection) { in onRtlPropertiesChanged() argument
77 super.onRtlPropertiesChanged(layoutDirection); in onRtlPropertiesChanged()
/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/Car/SystemUI/src/com/android/systemui/car/hvac/
DAnimatedTemperatureView.java71 static boolean isLeft(int gravity, int layoutDirection) { in isLeft() argument
73 .getAbsoluteGravity(gravity & Gravity.HORIZONTAL_GRAVITY_MASK, layoutDirection) in isLeft()
/packages/apps/DeskClock/src/com/android/deskclock/widget/toast/
DSnackbarSlidingBehavior.kt61 layoutDirection: Int in onLayoutChild()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DDirectoryListBot.java423 final int layoutDirection = mContext.getResources().getConfiguration().getLayoutDirection(); in assertOrder() local
426 if (layoutDirection == View.LAYOUT_DIRECTION_LTR) { in assertOrder()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/builders/
DPreferenceSliceBuilder.java726 public RowBuilder setLayoutDirection(@LayoutDirection int layoutDirection) { in setLayoutDirection() argument
727 mLayoutDirection = layoutDirection; in setLayoutDirection()
DPreferenceSliceBuilderImpl.java281 private void setLayoutDirection(int layoutDirection) { in setLayoutDirection() argument
282 getBuilder().addInt(layoutDirection, SUBTYPE_LAYOUT_DIRECTION); in setLayoutDirection()
/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()