Searched refs:isLandscape (Results 1 – 8 of 8) sorted by relevance
116 boolean isLandscape = mAppContext.getResources().getConfiguration().orientation == in getDockStatesForCurrentOrientation()120 return isLandscape ? DockRegion.TABLET_LANDSCAPE : DockRegion.TABLET_PORTRAIT; in getDockStatesForCurrentOrientation()122 return isLandscape ? DockRegion.PHONE_LANDSCAPE : DockRegion.PHONE_PORTRAIT; in getDockStatesForCurrentOrientation()
124 final boolean isLandscape = mOrientation == Configuration.ORIENTATION_LANDSCAPE; in getEdgeIntersect()150 if (isLandscape) { in getEdgeIntersect()161 final int startPoint = isLandscape ? dragStartPosition.y : dragStartPosition.x; in getEdgeIntersect()162 final int endPoint = isLandscape ? horizPoint.y : horizPoint.x; in getEdgeIntersect()168 int distance = (int) (0 - Math.pow(isLandscape ? velX : velY, 2)) in getEdgeIntersect()172 if (isLandscape) { in getEdgeIntersect()
70 boolean isLandscape = windowWidth > windowHeight; in initialize()71 mTaskRect.set(0, 0, width, isLandscape ? width * 2 / 3 : width); in initialize()
1075 boolean isLandscape = Utilities.getAppConfiguration(ctx).orientation == in getDimensionForDevice()1080 return res.getDimensionPixelSize(isLandscape in getDimensionForDevice()1084 return res.getDimensionPixelSize(isLandscape in getDimensionForDevice()1088 return res.getDimensionPixelSize(isLandscape in getDimensionForDevice()
147 boolean isLandscape = appResources.getConfiguration().orientation in prepareForEnterAnimation()200 int offset = isLandscape in prepareForEnterAnimation()
235 if (!isLandscape()) mDialogView.setTranslationX(mDialogView.getWidth() / 2.0f); in initDialog()322 private boolean isLandscape() { in isLandscape() method in VolumeDialogImpl756 if (!isLandscape()) animator.translationX(mDialogView.getWidth() / 2.0f); in dismissH()
759 if (isLandscape(mRotation)) { in getWindowLayoutParams()1215 private boolean isLandscape(int rotation) { in isLandscape() method in ScreenDecorations
3904 final boolean isLandscape = orientation == ORIENTATION_LANDSCAPE; in getDisplayBoundsByOrientation()3905 outBounds.set(0, 0, isLandscape ? longSide : shortSide, in getDisplayBoundsByOrientation()3906 isLandscape ? shortSide : longSide); in getDisplayBoundsByOrientation()