/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/ |
MosaicPreviewRenderer.java | 134 * @param isLandscape The UI orientation. {@code true} if in landscape, 137 public MosaicPreviewRenderer(SurfaceTexture tex, int w, int h, boolean isLandscape) { 138 mIsLandscape = isLandscape;
|
WideAnglePanoramaModule.java | 458 final boolean isLandscape = 464 mPreviewUIWidth, mPreviewUIHeight, isLandscape); [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
DeviceProfile.java | 75 boolean isLandscape; 253 boolean isLandscape = (config.orientation == Configuration.ORIENTATION_LANDSCAPE) && 257 if (isLandscape || isRotatedPortrait) { 345 Rect padding = getWorkspacePadding(isLandscape ? 357 int maxRows = (isLandscape ? maxShortEdgeCellCount : maxLongEdgeCellCount); 358 int maxCols = (isLandscape ? maxLongEdgeCellCount : maxShortEdgeCellCount); 371 isLandscape = (configuration.orientation == Configuration.ORIENTATION_LANDSCAPE); 449 return getSearchBarBounds(isLandscape ? CellLayout.LANDSCAPE : CellLayout.PORTRAIT); 490 if (isLandscape && transposeLayoutWithOrientation) { 510 return getWorkspacePadding(isLandscape ? CellLayout.LANDSCAPE : CellLayout.PORTRAIT) [all...] |
Hotseat.java | 132 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/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/Camera2/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) {
|
/external/chromium/chrome/browser/resources/ |
print_preview.js | 201 function isLandscape() { 267 'landscape': isLandscape(), 330 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/DeskClock/src/com/android/deskclock/ |
AlarmClockFragment.java | 192 boolean isLandscape = getResources().getConfiguration().orientation 194 if (isLandscape) { 203 if (isLandscape) { [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
AppsCustomizePagedView.java | 359 boolean isLandscape = getResources().getConfiguration().orientation == 364 maxCellCountX = (isLandscape ? LauncherModel.getCellCountX() : 366 maxCellCountY = (isLandscape ? LauncherModel.getCellCountY() : [all...] |
Workspace.java | [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
ComposeMessageActivity.java | [all...] |
/packages/services/Telephony/src/com/android/phone/ |
PhoneUtils.java | [all...] |