/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 | 576 initializeVarsForTablet(deviceSpecs["tablet"]!!, isLandscape = true, isGestureMode = false) in tabletLandscape3Button() 712 initializeVarsForTablet(deviceSpecs["tablet"]!!, isLandscape = true) in tabletLandscape() 1123 isLandscape = true, in twoPanelLandscape3Button() 1264 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 | 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()
|
D | AbstractDeviceProfileTest.kt | 138 isLandscape: Boolean = false, in initializeVarsForTablet() 150 rotation = if (isLandscape) Surface.ROTATION_0 else Surface.ROTATION_90, in initializeVarsForTablet() 159 isLandscape: Boolean = false, in initializeVarsForTwoPanel() 188 rotation = if (isLandscape) Surface.ROTATION_0 else Surface.ROTATION_90, in initializeVarsForTwoPanel()
|
/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/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/answer/impl/ |
D | AnswerVideoCallScreen.java | 126 if (isLandscape()) { in updatePreviewVideoScaling() 137 private boolean isLandscape() { in isLandscape() method in AnswerVideoCallScreen
|
/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/Settings/src/com/android/settings/biometrics/fingerprint/ |
D | FingerprintEnrollEnrolling.java | 298 boolean isLandscape = BiometricUtils.isReverseLandscape(getApplicationContext()) in onCreate() 299 || BiometricUtils.isLandscape(getApplicationContext()); in onCreate() 301 updateOrientation((isLandscape in onCreate() 1085 final boolean isLandscape = newConfig.orientation == Configuration.ORIENTATION_LANDSCAPE; in maybeHideSfpsText() 1091 if (isLandscape) { in maybeHideSfpsText()
|
/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/Launcher3/src/com/android/launcher3/ |
D | DeviceProfile.java | 91 public final boolean isLandscape; field in DeviceProfile 284 this.isLandscape = windowBounds.isLandscape(); in DeviceProfile() 303 context = getContext(context, info, isVerticalBarLayout() || (isTablet && isLandscape) in DeviceProfile() 321 if (isLandscape) { in DeviceProfile() 327 if (isLandscape) { in DeviceProfile() 1505 return isLandscape && transposeLayoutWithOrientation; 1568 writer.println(prefix + "\tisLandscape:" + isLandscape);
|
/packages/apps/Dialer/java/com/android/dialer/app/widget/ |
D | DialpadSearchEmptyContentView.java | 36 OrientationUtil.isLandscape(getContext()) ? LinearLayout.HORIZONTAL : LinearLayout.VERTICAL; in inflateLayout()
|
/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/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()
|
D | WindowBounds.java | 86 public final boolean isLandscape() { in isLandscape() method in WindowBounds
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/navbutton/ |
D | NavButtonLayoutFactory.kt | 71 if (!deviceProfile.isLandscape) { in getUiLayoutter()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | RectFSpringAnim.java | 249 && (profile.isLandscape || profile.isTablet); in start() 407 && (deviceProfile.isLandscape || deviceProfile.isTablet); in DefaultSpringConfig()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/analytics/ |
D | ProvisioningAnalyticsTracker.java | 317 public void logIsLandscape(boolean isLandscape, String activityName) { in logIsLandscape() argument 320 .setBoolean(isLandscape) in logIsLandscape()
|