Searched refs:mIsPortrait (Results 1 – 2 of 2) sorted by relevance
68 private boolean mIsPortrait; field in ModeOptions183 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()
311 private val mIsPortrait: Boolean = Utils.isPortrait(mContext) constant in com.android.deskclock.SelectedCitiesAdapter315 return if (position == 0 && mIsPortrait) { in getItemViewType()335 city = if (mShowHomeClock && position == (if (mIsPortrait) 1 else 0)) { in onBindViewHolder()338 val positionAdjuster = ((if (mIsPortrait) 1 else 0) + in onBindViewHolder()342 (holder as CityViewHolder).bind(mContext, city, position, mIsPortrait) in onBindViewHolder()351 val mainClockCount = if (mIsPortrait) 1 else 0 in getItemCount()364 if (mIsPortrait && getItemCount() > 0) { in refreshAlarm()