HomeSort by relevance Sort by last modified time
    Searched refs:isLandscape (Results 1 - 25 of 25) 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 80 * @param isLandscape Whether the new orientation is landscape or portrait.
82 public void onLayoutOrientationChanged(boolean isLandscape);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
ScreenPinningRequest.java 115 public FrameLayout.LayoutParams getRequestLayoutParams(boolean isLandscape) {
119 isLandscape ? (Gravity.CENTER_VERTICAL | Gravity.RIGHT)
144 boolean isLandscape = isLandscapePhone(mContext);
146 inflateView(isLandscape);
151 if (isLandscape) {
190 private void inflateView(boolean isLandscape) {
194 mLayout = (ViewGroup) View.inflate(getContext(), isLandscape
228 addView(mLayout, getRequestLayoutParams(isLandscape));
RecentsConfiguration.java 68 boolean isLandscape;
191 isLandscape = res.getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE;
316 return !launchedWithNoRecentTasks && (!hasTransposedNavBar || !isLandscape);
325 if (isLandscape && hasTransposedSearchBar) {
342 if (isLandscape && hasTransposedSearchBar) {
Recents.java 523 if (mConfig.isLandscape && mConfig.hasTransposedNavBar) {
    [all...]
  /packages/apps/Camera2/src/com/android/camera/util/
AspectRatio.java 117 if (isLandscape()) {
198 private boolean isLandscape() {
Size.java 104 if (isLandscape()) {
218 private boolean isLandscape() {
  /packages/apps/Launcher3/src/com/android/launcher3/
DeviceProfile.java 47 public final boolean isLandscape;
103 int width, int height, boolean isLandscape) {
106 this.isLandscape = isLandscape;
153 if (isLandscape) {
256 if (isLandscape && transposeLayoutWithOrientation) {
290 if (isLandscape && transposeLayoutWithOrientation) {
326 if ((isLandscape && transposeLayoutWithOrientation) || isLargeTablet) {
374 return isLandscape && transposeLayoutWithOrientation;
518 return isLandscape
    [all...]
Hotseat.java 99 if (grid.isLandscape && !grid.isLargeTablet) {
Workspace.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/Camera2/src/com/android/camera/captureintent/
CaptureIntentModule.java 173 public void onLayoutOrientationChanged(boolean isLandscape) {
  /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/apps/FMRadio/src/com/android/fmradio/views/
FmScroller.java 289 final boolean isLandscape = curOrientation == Configuration.ORIENTATION_LANDSCAPE;
290 int columnNum = isLandscape ? LAND_COLUMN_NUM : PORT_COLUMN_NUM;
902 final boolean isLandscape = curOrientation == Configuration.ORIENTATION_LANDSCAPE;
903 int columnNum = isLandscape ? LAND_COLUMN_NUM : PORT_COLUMN_NUM;
    [all...]
  /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 228 boolean isLandscape = getResources().getConfiguration().orientation
232 if (isLandscape) {
    [all...]
  /packages/apps/Camera2/src/com/android/camera/
CaptureModule.java 751 public void onLayoutOrientationChanged(boolean isLandscape) {
    [all...]
PhotoModule.java     [all...]
VideoModule.java     [all...]
  /packages/services/Telephony/src/com/android/phone/
PhoneUtils.java     [all...]

Completed in 798 milliseconds