Home
last modified time | relevance | path

Searched refs:mIsPortrait (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/widget/
DModeOptions.java68 private boolean mIsPortrait; field in ModeOptions
183 mIsPortrait = (getResources().getConfiguration().orientation == in onLayout()
192 if (mIsPortrait) { in onLayout()
221 int size = (mIsPortrait ? getHeight() : getWidth()); in setupToggleButtonParams()
228 toggleButton.setAnimDirection(mIsPortrait ? in setupToggleButtonParams()
243 final float fullSize = (mIsPortrait ? (float) getWidth() : (float) getHeight()); in setupAnimators()
288 if (mIsPortrait) { in setupAnimators()
300 if (mIsPortrait) { in setupAnimators()
/packages/apps/DeskClock/src/com/android/deskclock/
DClockFragment.java344 private final boolean mIsPortrait; field in ClockFragment.SelectedCitiesAdapter
355 mIsPortrait = Utils.isPortrait(context); in SelectedCitiesAdapter()
361 if (position == 0 && mIsPortrait) { in getItemViewType()
388 if (mShowHomeClock && position == (mIsPortrait ? 1 : 0)) { in onBindViewHolder()
391 final int positionAdjuster = (mIsPortrait ? 1 : 0) in onBindViewHolder()
395 ((CityViewHolder) holder).bind(mContext, city, position, mIsPortrait); in onBindViewHolder()
408 final int mainClockCount = mIsPortrait ? 1 : 0; in getItemCount()
423 if (mIsPortrait && getItemCount() > 0) { in refreshAlarm()