HomeSort by relevance Sort by last modified time
    Searched refs:isLandscape (Results 1 - 23 of 23) sorted by null

  /packages/apps/Dialer/src/com/android/dialer/util/
OrientationUtil.java 30 public static boolean isLandscape(Context context) {
  /packages/apps/LegacyCamera/src/com/android/camera/ui/
ControlPanelLayout.java 46 boolean isLandscape = (((Activity) getContext()).getRequestedOrientation()
49 if (isLandscape) {
70 int minimumSize = (isLandscape) ? getMinimumWidth() : getMinimumHeight();
80 if (isLandscape) {
  /packages/apps/Camera2/src/com/android/camera/module/
ModuleController.java 87 * @param isLandscape Whether the new orientation is landscape or portrait.
89 public void onLayoutOrientationChanged(boolean isLandscape);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
RecentsConfiguration.java 59 boolean isLandscape;
180 isLandscape = res.getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE;
338 return !launchedWithNoRecentTasks && (!hasTransposedNavBar || !isLandscape);
343 return isLandscape && hasTransposedSearchBar;
354 if (isLandscape && hasTransposedSearchBar) {
375 if (isLandscape && hasTransposedSearchBar) {
AlternateRecentsComponent.java 273 if (mConfig.isLandscape && mConfig.hasTransposedNavBar) {
  /packages/apps/Launcher3/src/com/android/launcher3/
DeviceProfile.java 80 boolean isLandscape;
313 boolean isLandscape = (config.orientation == Configuration.ORIENTATION_LANDSCAPE) &&
317 if (isLandscape || isRotatedPortrait) {
405 Rect padding = getWorkspacePadding(isLandscape ?
417 int maxRows = (isLandscape ? maxShortEdgeCellCount : maxLongEdgeCellCount);
418 int maxCols = (isLandscape ? maxLongEdgeCellCount : maxShortEdgeCellCount);
421 allAppsNumRows = isLandscape ? allAppsShortEdgeCount : allAppsLongEdgeCount;
422 allAppsNumCols = isLandscape ? allAppsLongEdgeCount : allAppsShortEdgeCount;
436 isLandscape = (configuration.orientation == Configuration.ORIENTATION_LANDSCAPE);
532 return getSearchBarBounds(isLandscape ? CellLayout.LANDSCAPE : CellLayout.PORTRAIT)
    [all...]
Hotseat.java 131 if (grid.isLandscape && !grid.isLargeTablet()) {
Folder.java     [all...]
CellLayout.java     [all...]
  /packages/apps/Camera/src/com/android/camera/
MosaicPreviewRenderer.java 189 public MosaicPreviewRenderer(SurfaceTexture tex, int w, int h, boolean isLandscape) {
193 mIsLandscape = isLandscape;
PanoramaModule.java 460 final boolean isLandscape = (mActivity.getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE);
475 screenNail.getSurfaceTexture(), w, h, isLandscape);
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/widget/
MultiShrinkScroller.java 320 final boolean isLandscape = getResources().getConfiguration().orientation
322 mMaximumPortraitHeaderHeight = isLandscape ? getHeight()
572 final boolean isLandscape = getResources().getConfiguration().orientation
574 if (isLandscape) {
    [all...]
  /packages/apps/Camera/jni/
mosaic_renderer_jni.cpp 539 // isLandscape: whether the device is in landscape or portrait. Android
542 void calculateUILayoutScaling(int width, int height, bool isLandscape) {
543 if (isLandscape) {
  /packages/apps/LegacyCamera/jni/
mosaic_renderer_jni.cpp 506 void calculateUILayoutScaling(int width, int height, bool isLandscape) {
507 if (isLandscape) {
  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
PhotoTable.java 435 boolean isLandscape = mWidth > mHeight;
436 if (mIsLandscape != isLandscape) {
450 mIsLandscape = isLandscape;
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
AppsCustomizePagedView.java 362 boolean isLandscape = getResources().getConfiguration().orientation ==
367 maxCellCountX = (isLandscape ? LauncherModel.getCellCountX() :
369 maxCellCountY = (isLandscape ? LauncherModel.getCellCountY() :
    [all...]
Workspace.java     [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/
AlarmClockFragment.java 196 boolean isLandscape = getResources().getConfiguration().orientation
200 if (isLandscape) {
    [all...]
  /packages/apps/Camera2/src/com/android/camera/
CaptureModule.java 608 public void onLayoutOrientationChanged(boolean isLandscape) {
    [all...]
VideoModule.java     [all...]
PhotoModule.java     [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
ComposeMessageActivity.java     [all...]
  /packages/services/Telephony/src/com/android/phone/
PhoneUtils.java     [all...]

Completed in 1115 milliseconds