/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/ |
D | SplitAttributesHelper.java | 34 case SplitAttributes.LayoutDirection.LEFT_TO_RIGHT: in isReversedLayout() 35 case SplitAttributes.LayoutDirection.TOP_TO_BOTTOM: in isReversedLayout() 37 case SplitAttributes.LayoutDirection.RIGHT_TO_LEFT: in isReversedLayout() 38 case SplitAttributes.LayoutDirection.BOTTOM_TO_TOP: in isReversedLayout() 40 case SplitAttributes.LayoutDirection.LOCALE: in isReversedLayout()
|
D | SplitPresenter.java | 936 case SplitAttributes.LayoutDirection.LEFT_TO_RIGHT: { in getPrimaryBounds() 940 case SplitAttributes.LayoutDirection.RIGHT_TO_LEFT: { in getPrimaryBounds() 944 case SplitAttributes.LayoutDirection.LOCALE: { in getPrimaryBounds() 953 case SplitAttributes.LayoutDirection.TOP_TO_BOTTOM: { in getPrimaryBounds() 957 case SplitAttributes.LayoutDirection.BOTTOM_TO_TOP: { in getPrimaryBounds() 976 case SplitAttributes.LayoutDirection.LEFT_TO_RIGHT: { in getSecondaryBounds() 980 case SplitAttributes.LayoutDirection.RIGHT_TO_LEFT: { in getSecondaryBounds() 984 case SplitAttributes.LayoutDirection.LOCALE: { in getSecondaryBounds() 993 case SplitAttributes.LayoutDirection.TOP_TO_BOTTOM: { in getSecondaryBounds() 997 case SplitAttributes.LayoutDirection.BOTTOM_TO_TOP: { in getSecondaryBounds() [all …]
|
D | DividerPresenter.java | 374 case SplitAttributes.LayoutDirection.LEFT_TO_RIGHT: in isVerticalSplit() 375 case SplitAttributes.LayoutDirection.RIGHT_TO_LEFT: in isVerticalSplit() 376 case SplitAttributes.LayoutDirection.LOCALE: in isVerticalSplit() 378 case SplitAttributes.LayoutDirection.TOP_TO_BOTTOM: in isVerticalSplit() 379 case SplitAttributes.LayoutDirection.BOTTOM_TO_TOP: in isVerticalSplit()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/compose/ |
D | PaddingValuesExt.kt | 21 import androidx.compose.ui.unit.LayoutDirection 29 override fun calculateLeftPadding(layoutDirection: LayoutDirection) = in horizontalValues() 34 override fun calculateRightPadding(layoutDirection: LayoutDirection) = in horizontalValues() 41 override fun calculateLeftPadding(layoutDirection: LayoutDirection) = 0.dp 45 override fun calculateRightPadding(layoutDirection: LayoutDirection) = 0.dp
|
D | DrawablePainter.kt | 45 import androidx.compose.ui.unit.LayoutDirection in <lambda>() 121 override fun applyLayoutDirection(layoutDirection: LayoutDirection): Boolean { in applyLayoutDirection() 125 LayoutDirection.Ltr -> View.LAYOUT_DIRECTION_LTR in applyLayoutDirection() 126 LayoutDirection.Rtl -> View.LAYOUT_DIRECTION_RTL in applyLayoutDirection()
|
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/ |
D | ActivityEmbeddingMainActivity.java | 30 import androidx.window.embedding.SplitAttributes.LayoutDirection; 161 private static LayoutDirection parseLayoutDirection(@NonNull String layoutDirectionStr) { in parseLayoutDirection() 162 if (layoutDirectionStr.equals(LayoutDirection.LEFT_TO_RIGHT.toString())) { in parseLayoutDirection() 163 return LayoutDirection.LEFT_TO_RIGHT; in parseLayoutDirection() 165 if (layoutDirectionStr.equals(LayoutDirection.BOTTOM_TO_TOP.toString())) { in parseLayoutDirection() 166 return LayoutDirection.BOTTOM_TO_TOP; in parseLayoutDirection() 168 if (layoutDirectionStr.equals(LayoutDirection.RIGHT_TO_LEFT.toString())) { in parseLayoutDirection() 169 return LayoutDirection.RIGHT_TO_LEFT; in parseLayoutDirection() 171 return LayoutDirection.LOCALE; in parseLayoutDirection()
|
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/widget/scaffold/ |
D | SettingsScaffoldTest.kt | 28 import androidx.compose.ui.unit.LayoutDirection in <lambda>() 88 assertThat(actualPaddingValues.calculateLeftPadding(LayoutDirection.Ltr)).isEqualTo(0.dp) in <lambda>() 89 assertThat(actualPaddingValues.calculateLeftPadding(LayoutDirection.Rtl)).isEqualTo(0.dp) in <lambda>() 90 assertThat(actualPaddingValues.calculateRightPadding(LayoutDirection.Ltr)).isEqualTo(0.dp) in <lambda>() 91 assertThat(actualPaddingValues.calculateRightPadding(LayoutDirection.Rtl)).isEqualTo(0.dp) in <lambda>()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/resources/ |
D | IconLoader.java | 21 import com.android.resources.LayoutDirection; 30 private final LayoutDirection mDirection; 35 public IconLoader(String iconName, Density density, int platformVersion, LayoutDirection in IconLoader() 108 if (mDirection == LayoutDirection.RTL) { in getIcon()
|
D | SysUiResources.java | 26 import com.android.resources.LayoutDirection; 71 LayoutDirection dir = isRtl ? LayoutDirection.RTL : null; in loadIcon()
|
/frameworks/base/core/java/android/util/ |
D | LayoutDirection.java | 24 public final class LayoutDirection { class 27 private LayoutDirection() {} in LayoutDirection() method in LayoutDirection
|
/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/material/ |
D | Icon.kt | 27 import androidx.compose.ui.unit.LayoutDirection 47 rtlMode == IconRtlMode.Mirrored && LocalLayoutDirection.current == LayoutDirection.Rtl in Icon() 73 rtlMode == IconRtlMode.Mirrored && LocalLayoutDirection.current == LayoutDirection.Rtl in Icon() 96 rtlMode == IconRtlMode.Mirrored && LocalLayoutDirection.current == LayoutDirection.Rtl in Icon()
|
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/ui/graphics/painter/ |
D | DrawablePainter.kt | 42 import androidx.compose.ui.unit.LayoutDirection in <lambda>() 112 override fun applyLayoutDirection(layoutDirection: LayoutDirection): Boolean { in applyLayoutDirection() 116 LayoutDirection.Ltr -> View.LAYOUT_DIRECTION_LTR in applyLayoutDirection() 117 LayoutDirection.Rtl -> View.LAYOUT_DIRECTION_RTL in applyLayoutDirection()
|
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/ |
D | PunchHole.kt | 43 import androidx.compose.ui.unit.LayoutDirection 95 private var lastLayoutDirection: LayoutDirection = LayoutDirection.Ltr
|
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/modifiers/ |
D | FadingBackground.kt | 33 import androidx.compose.ui.unit.LayoutDirection 72 private var lastLayoutDirection: LayoutDirection? = null
|
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/ |
D | SplitPresenterTest.java | 379 .setLayoutDirection(SplitAttributes.LayoutDirection.LEFT_TO_RIGHT) in testGetRelBoundsForPosition_splitVertically() 396 .setLayoutDirection(SplitAttributes.LayoutDirection.RIGHT_TO_LEFT) in testGetRelBoundsForPosition_splitVertically() 413 .setLayoutDirection(SplitAttributes.LayoutDirection.LOCALE) in testGetRelBoundsForPosition_splitVertically() 445 .setLayoutDirection(SplitAttributes.LayoutDirection.LEFT_TO_RIGHT) in testGetRelBoundsForPosition_splitVertically_isRelativeToParent() 462 .setLayoutDirection(SplitAttributes.LayoutDirection.RIGHT_TO_LEFT) in testGetRelBoundsForPosition_splitVertically_isRelativeToParent() 479 .setLayoutDirection(SplitAttributes.LayoutDirection.LOCALE) in testGetRelBoundsForPosition_splitVertically_isRelativeToParent() 506 .setLayoutDirection(SplitAttributes.LayoutDirection.TOP_TO_BOTTOM) in testGetRelBoundsForPosition_splitHorizontally() 523 .setLayoutDirection(SplitAttributes.LayoutDirection.BOTTOM_TO_TOP) in testGetRelBoundsForPosition_splitHorizontally() 549 )).setLayoutDirection(SplitAttributes.LayoutDirection.LEFT_TO_RIGHT) in testGetRelBoundsForPosition_useHingeFallback() 613 )).setLayoutDirection(SplitAttributes.LayoutDirection.LEFT_TO_RIGHT) in testGetRelBoundsForPosition_fallbackToExpandContainers() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsPopupMenu.java | 22 import android.util.LayoutDirection; 114 if (getAnchorView().getLayoutDirection() == LayoutDirection.LTR) { in show()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/ui/ |
D | ProgressBar.kt | 37 import androidx.compose.ui.unit.LayoutDirection 71 val isLtr = layoutDirection == LayoutDirection.Ltr in DrawScope()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | Illustration.java | 29 import android.util.LayoutDirection; 216 if (layoutDirection == LayoutDirection.RTL) { in shouldMirrorDrawable()
|
/frameworks/base/tools/aapt2/ |
D | Configuration.proto | 26 enum LayoutDirection { enum 144 LayoutDirection layout_direction = 4;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/ |
D | KeyguardQuickAffordanceRepository.kt | 23 import android.util.LayoutDirection in <lambda>() 213 if (appContext.resources.configuration.layoutDirection == LayoutDirection.RTL) { in <lambda>()
|
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/ |
D | WindowExtensionsTest.java | 110 .isEqualTo(SplitAttributes.LayoutDirection.LOCALE); in testSplitAttributes_default()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | SignalDrawable.java | 36 import android.util.LayoutDirection; 205 boolean isRtl = getLayoutDirection() == LayoutDirection.RTL; in draw()
|
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/ |
D | ExpandableController.kt | 42 import androidx.compose.ui.unit.LayoutDirection 132 private val layoutDirection: LayoutDirection,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/binder/ |
D | ScreenshotShelfViewBinder.kt | 23 import android.util.LayoutDirection in <lambda>() 258 if (scrollablePreview.layoutDirection == LayoutDirection.LTR) scrollableRect.left in <lambda>()
|
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/ui/ |
D | Entry.kt | 53 import androidx.compose.ui.unit.LayoutDirection 351 LayoutDirection.Rtl -> graphicsLayer(scaleX = -1f) in <lambda>()
|