/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DeviceProfile.java | 80 boolean isLandscape; field in DeviceProfile 307 boolean isLandscape = (config.orientation == Configuration.ORIENTATION_LANDSCAPE) && in getDeviceOrientation() 311 if (isLandscape || isRotatedPortrait) { in getDeviceOrientation() 407 int maxRows = (isLandscape ? maxShortEdgeCellCount : maxLongEdgeCellCount); in updateIconSize() 408 int maxCols = (isLandscape ? maxLongEdgeCellCount : maxShortEdgeCellCount); in updateIconSize() 411 allAppsNumRows = isLandscape ? allAppsShortEdgeCount : allAppsLongEdgeCount; in updateIconSize() 412 allAppsNumCols = isLandscape ? allAppsLongEdgeCount : allAppsShortEdgeCount; in updateIconSize() 426 isLandscape = (configuration.orientation == Configuration.ORIENTATION_LANDSCAPE); in updateFromConfiguration() 522 return getSearchBarBounds(isLandscape ? CellLayout.LANDSCAPE : CellLayout.PORTRAIT); in getSearchBarBounds() 563 if (isLandscape && transposeLayoutWithOrientation) { in getWorkspacePageIndicatorBounds() [all …]
|
D | Hotseat.java | 131 if (grid.isLandscape && !grid.isLargeTablet()) { in onFinishInflate()
|
D | Folder.java | 1073 Rect workspacePadding = grid.getWorkspacePadding(grid.isLandscape ? in getContentAreaHeight()
|
D | CellLayout.java | 2906 Rect padding = grid.getWorkspacePadding(grid.isLandscape ? in rectToCell()
|
/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/FMRadio/src/com/android/fmradio/views/ |
D | FmScroller.java | 289 final boolean isLandscape = curOrientation == Configuration.ORIENTATION_LANDSCAPE; in computeGridViewHeight() 290 int columnNum = isLandscape ? LAND_COLUMN_NUM : PORT_COLUMN_NUM; in computeGridViewHeight() 902 final boolean isLandscape = curOrientation == Configuration.ORIENTATION_LANDSCAPE; in onResume() 903 int columnNum = isLandscape ? LAND_COLUMN_NUM : PORT_COLUMN_NUM; in onResume()
|
/packages/apps/Camera/src/com/android/camera/ |
D | MosaicPreviewRenderer.java | 189 public MosaicPreviewRenderer(SurfaceTexture tex, int w, int h, boolean isLandscape) { in MosaicPreviewRenderer() argument 193 mIsLandscape = isLandscape; in MosaicPreviewRenderer()
|
D | PanoramaModule.java | 460 …final boolean isLandscape = (mActivity.getResources().getConfiguration().orientation == Configurat… in configMosaicPreview() 475 screenNail.getSurfaceTexture(), w, h, isLandscape); in configMosaicPreview()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoTable.java | 435 boolean isLandscape = mWidth > mHeight; in onLayout() 436 if (mIsLandscape != isLandscape) { in onLayout() 450 mIsLandscape = isLandscape; in onLayout()
|
/packages/apps/LegacyCamera/jni/ |
D | mosaic_renderer_jni.cpp | 506 void calculateUILayoutScaling(int width, int height, bool isLandscape) { in calculateUILayoutScaling() argument 507 if (isLandscape) { in calculateUILayoutScaling()
|
/packages/apps/Camera/jni/ |
D | mosaic_renderer_jni.cpp | 542 void calculateUILayoutScaling(int width, int height, bool isLandscape) { in calculateUILayoutScaling() argument 543 if (isLandscape) { in calculateUILayoutScaling()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | AppsCustomizePagedView.java | 362 boolean isLandscape = getResources().getConfiguration().orientation == in onDataReady() 367 maxCellCountX = (isLandscape ? LauncherModel.getCellCountX() : in onDataReady() 369 maxCellCountY = (isLandscape ? LauncherModel.getCellCountY() : in onDataReady()
|
D | Workspace.java | 1004 boolean isLandscape = mDisplaySize.x > mDisplaySize.y; in computeScrollOffset() 1020 fractionToCatchUpIn1MsHorizontal = isLandscape ? 0.5f : 0.75f; in computeScrollOffset() 1023 fractionToCatchUpIn1MsHorizontal = isLandscape ? 0.27f : 0.5f; in computeScrollOffset()
|
/packages/apps/Dialer/src/com/android/dialer/util/ |
D | OrientationUtil.java | 30 public static boolean isLandscape(Context context) { in isLandscape() method in OrientationUtil
|
/packages/apps/Camera2/src/com/android/camera/module/ |
D | ModuleController.java | 89 public void onLayoutOrientationChanged(boolean isLandscape); in onLayoutOrientationChanged() argument
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AlarmClockFragment.java | 195 boolean isLandscape = getResources().getConfiguration().orientation in onCreateView() 199 if (isLandscape) { in onCreateView()
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | ComposeMessageActivity.java | 2380 boolean isLandscape = config.orientation == Configuration.ORIENTATION_LANDSCAPE; in resetConfiguration() 2381 if (mIsLandscape != isLandscape) { in resetConfiguration() 2382 mIsLandscape = isLandscape; in resetConfiguration()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | CaptureModule.java | 574 public void onLayoutOrientationChanged(boolean isLandscape) { in onLayoutOrientationChanged() argument
|
D | VideoModule.java | 1785 public void onLayoutOrientationChanged(boolean isLandscape) { in onLayoutOrientationChanged() argument
|
D | PhotoModule.java | 1750 public void onLayoutOrientationChanged(boolean isLandscape) {
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneUtils.java | 2445 public static boolean isLandscape(Context context) { in isLandscape() method in PhoneUtils
|