/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | PortraitPagedViewHandler.java | 258 if (deviceProfile.isLandscape && stagePosition == STAGE_POSITION_BOTTOM_OR_RIGHT) { in getSplitTranslationDirectionFactor() 268 if (deviceProfile.isLandscape) { in getTaskMenuX() 285 return deviceProfile.isLandscape && !deviceProfile.isTablet in getTaskMenuWidth() 324 bannerParams.gravity = BOTTOM | ((deviceProfile.isLandscape) ? START : CENTER_HORIZONTAL); in getDwbLayoutTranslations() 334 if (deviceProfile.isLandscape) { in getDwbLayoutTranslations() 416 } else if (dp.isLandscape) { in getSplitPositionOptions() 438 if (!dp.isLandscape) { in getInitialSplitPlaceholderBounds() 483 if (!dp.isLandscape) { in updateSplitIconParams() 507 if (!dp.isLandscape) { in getPlaceholderSizeAdjustment() 523 if (dp.isLandscape) { in setSplitInstructionsParams() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | ClipIconView.java | 138 if (dp.isLandscape) { in update() 163 float drawableScale = (dp.isLandscape ? mOutline.width() : mOutline.height()) in update() 165 setBackgroundDrawableBounds(drawableScale, dp.isLandscape); in update() 170 int diffY = dp.isLandscape ? 0 in update() 172 int diffX = dp.isLandscape ? (int) (((width * drawableScale) - width) / 2) in update() 182 private void setBackgroundDrawableBounds(float scale, boolean isLandscape) { in setBackgroundDrawableBounds() argument 186 if (isLandscape) { in setBackgroundDrawableBounds() 239 if (dp.isLandscape) { in setIcon() 260 setBackgroundDrawableBounds(bgDrawableStartScale, dp.isLandscape); in setIcon()
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | ControlPanelLayout.java | 46 boolean isLandscape = (((Activity) getContext()).getRequestedOrientation() in onMeasure() 49 if (isLandscape) { in onMeasure() 70 int minimumSize = (isLandscape) ? getMinimumWidth() : getMinimumHeight(); in onMeasure() 80 if (isLandscape) { in onMeasure()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/nonquickstep/ |
D | DeviceProfileDumpTest.kt | 584 initializeVarsForTablet(deviceSpecs["tablet"]!!, isLandscape = true, isGestureMode = false) in tabletLandscape3Button() 722 initializeVarsForTablet(deviceSpecs["tablet"]!!, isLandscape = true) in tabletLandscape() 1139 isLandscape = true, in twoPanelLandscape3Button() 1282 isLandscape = true in twoPanelLandscape()
|
D | HotseatWidthCalculationTest.kt | 81 initializeVarsForTwoPanel(isGestureMode = false, isLandscape = true) in distribute_border_space_when_space_is_enough_landscape() 102 initializeVarsForTablet(isGestureMode = false, isLandscape = true) in nav_buttons_dont_interfere_with_required_hotseat_width() 124 initializeVarsForTablet(isGestureMode = false, isLandscape = true) in decrease_qsb_when_not_enough_space_landscape() 146 initializeVarsForTablet(isGestureMode = false, isLandscape = true) in decrease_num_of_icons_when_not_enough_space_landscape()
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | HotseatWidthCalculationTest.kt | 81 initializeVarsForTwoPanel(isGestureMode = false, isLandscape = true) in distribute_border_space_when_space_is_enough_landscape() 102 initializeVarsForTablet(isGestureMode = false, isLandscape = true) in nav_buttons_dont_interfere_with_required_hotseat_width() 124 initializeVarsForTablet(isGestureMode = false, isLandscape = true) in decrease_qsb_when_not_enough_space_landscape() 146 initializeVarsForTablet(isGestureMode = false, isLandscape = true) in decrease_num_of_icons_when_not_enough_space_landscape()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ |
D | AbstractDeviceProfileTest.kt | 143 isLandscape: Boolean = false, in <lambda>() 155 rotation = if (isLandscape) Surface.ROTATION_0 else Surface.ROTATION_90, in <lambda>() 164 isLandscape: Boolean = false, in <lambda>() 198 rotation = if (isLandscape) Surface.ROTATION_90 else Surface.ROTATION_0, in <lambda>() 206 rotation = if (isLandscape) Surface.ROTATION_0 else Surface.ROTATION_90, in <lambda>()
|
D | FakeInvariantDeviceProfileTest.kt | 166 isLandscape: Boolean = false, in initializeVarsForTablet() 169 val (x, y) = if (isLandscape) Pair(2560, 1600) else Pair(1600, 2560) in initializeVarsForTablet() 249 isLandscape: Boolean = false, in initializeVarsForTwoPanel() 252 val (x, y) = if (isLandscape) Pair(2208, 1840) else Pair(1840, 2208) in initializeVarsForTwoPanel()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | AspectRatio.java | 117 if (isLandscape()) { in asLandscape() 198 private boolean isLandscape() { in isLandscape() method in AspectRatio
|
D | Size.java | 104 if (isLandscape()) { in asLandscape() 218 private boolean isLandscape() { in isLandscape() method in Size
|
/packages/apps/Dialer/java/com/android/incallui/video/impl/ |
D | VideoCallFragment.java | 229 isLandscape() ? R.layout.frag_videocall_land : R.layout.frag_videocall, in onCreateView() 547 if (isLandscape()) { in getControlsOffsetEndHidden() 555 if (isLandscape()) { in getSwitchOnHoldOffsetEndHidden() 567 if (isLandscape()) { in getEndCallOffsetEndHidden() 579 if (isLandscape()) { in getPreviewOffsetStartShown() 1049 if (isLandscape()) { in updatePreviewVideoScaling() 1091 private boolean isLandscape() { in isLandscape() method in VideoCallFragment 1124 if (isLandscape()) { in exitGreenScreenMode()
|
D | SurfaceViewVideoCallFragment.java | 448 if (isLandscape()) { in getControlsOffsetEndHidden() 456 if (isLandscape()) { in getSwitchOnHoldOffsetEndHidden() 468 if (isLandscape()) { in getEndCallOffsetEndHidden() 480 if (isLandscape()) { in getPreviewOffsetStartShown() 925 private boolean isLandscape() { in isLandscape() method in SurfaceViewVideoCallFragment
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/ |
D | AnswerVideoCallScreen.java | 126 if (isLandscape()) { in updatePreviewVideoScaling() 137 private boolean isLandscape() { in isLandscape() method in AnswerVideoCallScreen
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/ |
D | OverviewState.java | 115 showFloatingSearch = !dp.isLandscape; 135 return dp.isPhone && !dp.isLandscape;
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/ |
D | PreviewFragment.java | 140 final boolean isLandscape = getResources().getConfiguration().orientation in setupScrimLayerAndBottomBar() 144 if (isLandscape) { in setupScrimLayerAndBottomBar() 154 if (isLandscape) { in setupScrimLayerAndBottomBar()
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
D | OrientationUtil.java | 26 public static boolean isLandscape(Context context) { in isLandscape() method in OrientationUtil
|
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintEnrollEnrolling.java | 269 boolean isLandscape = BiometricUtils.isReverseLandscape(getApplicationContext()) in onCreate() 270 || BiometricUtils.isLandscape(getApplicationContext()); in onCreate() 272 updateOrientation((isLandscape in onCreate() 1126 final boolean isLandscape = newConfig.orientation == Configuration.ORIENTATION_LANDSCAPE; in maybeHideSfpsText() 1132 if (isLandscape) { in maybeHideSfpsText()
|
/packages/apps/Dialer/java/com/android/dialer/app/widget/ |
D | DialpadSearchEmptyContentView.java | 36 OrientationUtil.isLandscape(getContext()) ? LinearLayout.HORIZONTAL : LinearLayout.VERTICAL; in inflateLayout()
|
/packages/apps/Camera2/src/com/android/camera/module/ |
D | ModuleController.java | 82 public void onLayoutOrientationChanged(boolean isLandscape); in onLayoutOrientationChanged() argument
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | DimensionUtils.kt | 52 if (!deviceProfile.isLandscape) { in getTaskbarPhoneDimensions()
|
/packages/apps/Dialer/java/com/android/dialer/app/ |
D | DialtactsActivity.java | 225 private boolean isLandscape; field in DialtactsActivity 403 isLandscape = in onCreate() 438 if (isLandscape) { in onCreate() 1442 if (!isRtl && tabIndex == DialtactsPagerAdapter.TAB_INDEX_SPEED_DIAL && !isLandscape) { in onPageScrolled() 1444 } else if (isRtl && tabIndex == DialtactsPagerAdapter.TAB_INDEX_HISTORY && !isLandscape) { in onPageScrolled() 1487 && !isLandscape in getFabAlignment()
|
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/view/ |
D | FingerprintEnrollEnrollingUdfpsFragment.java | 186 final boolean isLandscape = BiometricUtils.isReverseLandscape(activity) in onCreateView() 187 || BiometricUtils.isLandscape(activity); in onCreateView() 188 updateOrientation(containView, (isLandscape in onCreateView()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/navbutton/ |
D | NavButtonLayoutFactory.kt | 73 if (!deviceProfile.isLandscape) { in getUiLayoutter()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarThresholdUtils.java | 46 float landscapeScreenHeight = dp.isLandscape ? dp.heightPx : dp.widthPx; in getThreshold()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DeviceProfile.java | 101 public final boolean isLandscape; field in DeviceProfile 310 this.isLandscape = windowBounds.isLandscape(); in DeviceProfile() 335 context = getContext(context, info, isVerticalBarLayout() || (isTablet && isLandscape) in DeviceProfile() 352 if (isLandscape) { in DeviceProfile() 358 if (isLandscape) { in DeviceProfile() 1762 return isLandscape && transposeLayoutWithOrientation; in isVerticalBarLayout() 1825 writer.println(prefix + "\tisLandscape:" + isLandscape); in dump()
|