Home
last modified time | relevance | path

Searched refs:isLandscape (Results 1 – 25 of 25) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DDeviceProfile.java45 public final boolean isLandscape; field in DeviceProfile
136 int width, int height, boolean isLandscape, boolean isMultiWindowMode) { in DeviceProfile() argument
139 this.isLandscape = isLandscape; in DeviceProfile()
145 if (isLandscape) { in DeviceProfile()
178 if (isLandscape) { in DeviceProfile()
239 return new DeviceProfile(context, inv, size, size, widthPx, heightPx, isLandscape, in copy()
252 isLandscape, true); in getMultiWindowProfile()
276 return isLandscape ? inv.landscapeProfile : inv.portraitProfile; in getFullScreenProfile()
541 return isLandscape && transposeLayoutWithOrientation; in isVerticalBarLayout()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DControlPanelLayout.java46 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/Dialer/java/com/android/incallui/video/impl/
DVideoCallFragment.java229 isLandscape() ? R.layout.frag_videocall_land : R.layout.frag_videocall, in onCreateView()
511 if (isLandscape()) { in getControlsOffsetEndHidden()
519 if (isLandscape()) { in getSwitchOnHoldOffsetEndHidden()
531 if (isLandscape()) { in getEndCallOffsetEndHidden()
543 if (isLandscape()) { in getPreviewOffsetStartShown()
1005 if (isLandscape()) { in updatePreviewVideoScaling()
1047 private boolean isLandscape() { in isLandscape() method in VideoCallFragment
1080 if (isLandscape()) { in exitGreenScreenMode()
DSurfaceViewVideoCallFragment.java449 if (isLandscape()) { in getControlsOffsetEndHidden()
457 if (isLandscape()) { in getSwitchOnHoldOffsetEndHidden()
469 if (isLandscape()) { in getEndCallOffsetEndHidden()
481 if (isLandscape()) { in getPreviewOffsetStartShown()
926 private boolean isLandscape() { in isLandscape() method in SurfaceViewVideoCallFragment
/packages/apps/Camera2/src/com/android/camera/util/
DAspectRatio.java117 if (isLandscape()) { in asLandscape()
198 private boolean isLandscape() { in isLandscape() method in AspectRatio
DSize.java104 if (isLandscape()) { in asLandscape()
218 private boolean isLandscape() { in isLandscape() method in Size
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
DAnswerVideoCallScreen.java126 if (isLandscape()) { in updatePreviewVideoScaling()
137 private boolean isLandscape() { in isLandscape() method in AnswerVideoCallScreen
/packages/apps/Dialer/java/com/android/dialer/app/
DDialtactsActivity.java225 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/Dialer/java/com/android/dialer/util/
DOrientationUtil.java26 public static boolean isLandscape(Context context) { in isLandscape() method in OrientationUtil
/packages/apps/Dialer/java/com/android/dialer/app/widget/
DDialpadSearchEmptyContentView.java36 OrientationUtil.isLandscape(getContext()) ? LinearLayout.HORIZONTAL : LinearLayout.VERTICAL; in inflateLayout()
/packages/apps/Camera2/src/com/android/camera/module/
DModuleController.java82 public void onLayoutOrientationChanged(boolean isLandscape); in onLayoutOrientationChanged() argument
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DDialpadFragment.java205 private boolean isLandscape; field in DialpadFragment
536 isLandscape = in onAttach()
1634 if (isLandscape) { in slideDown()
1652 if (isLandscape) { in slideUp()
/packages/apps/LegacyCamera/jni/
Dmosaic_renderer_jni.cpp506 void calculateUILayoutScaling(int width, int height, bool isLandscape) { in calculateUILayoutScaling() argument
507 if (isLandscape) { in calculateUILayoutScaling()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTable.java435 boolean isLandscape = mWidth > mHeight; in onLayout()
436 if (mIsLandscape != isLandscape) { in onLayout()
450 mIsLandscape = isLandscape; in onLayout()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DLayoutUtils.java73 if (fullDp.isLandscape) { in calculateTaskSize()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DTaplTestsQuickstep.java149 getFromLauncher(launcher -> !launcher.getDeviceProfile().isLandscape)) { in testOverview()
/packages/apps/Camera2/src/com/android/camera/captureintent/
DCaptureIntentModule.java173 public void onLayoutOrientationChanged(boolean isLandscape) { in onLayoutOrientationChanged() argument
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DClipAnimationHelper.java339 if (fullDp.isLandscape) { in updateStackBoundsToMultiWindowTaskSize()
/packages/apps/Dialer/java/com/android/incallui/
DInCallActivity.java208 boolean isLandscape = in onCreate()
211 if (isLandscape) { in onCreate()
/packages/apps/DeskClock/src/com/android/deskclock/
DClockFragment.java498 if (!Utils.isLandscape(context)) { in bind()
DUtils.java534 public static boolean isLandscape(Context context) { in isLandscape() method in Utils
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
DStopwatchFragment.java136 if (Utils.isLandscape(getActivity())) { in onCreateView()
/packages/apps/Camera2/src/com/android/camera/
DCaptureModule.java751 public void onLayoutOrientationChanged(boolean isLandscape) { in onLayoutOrientationChanged() argument
DVideoModule.java1820 public void onLayoutOrientationChanged(boolean isLandscape) { in onLayoutOrientationChanged() argument
DPhotoModule.java1594 public void onLayoutOrientationChanged(boolean isLandscape) { in onLayoutOrientationChanged() argument