Home
last modified time | relevance | path

Searched refs:mCurrentView (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStatePanelTrack.java45 private StateView mCurrentView; field in StatePanelTrack
198 mCurrentView = view; in onTouch()
199 if (mCurrentSelectedView == mCurrentView) { in onTouch()
210 mCurrentSelectedView = mCurrentView; in onTouch()
218 if (mCurrentView != null) { in onInterceptTouchEvent()
226 if (mCurrentView == null) { in onTouchEvent()
241 float alpha = 1.0f - (Math.abs(translation) / mCurrentView.getHeight()); in onTouchEvent()
244 alpha = 1.0f - (Math.abs(translation) / mCurrentView.getWidth()); in onTouchEvent()
245 mCurrentView.setTranslationX(translation); in onTouchEvent()
247 mCurrentView.setTranslationY(translation); in onTouchEvent()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerFragment.kt73 private var mCurrentView: View? = null variable in com.android.deskclock.timer.TimerFragment
206 if (mCurrentView === mCreateTimerView) { in onSaveInstanceState()
213 if (mCurrentView === mTimersView) { in updateFab()
251 } else if (mCurrentView === mCreateTimerView) { in updateFab()
275 if (mCurrentView === mTimersView) { in onUpdateFabButtons()
285 } else if (mCurrentView === mCreateTimerView) { in onUpdateFabButtons()
297 if (mCurrentView === mTimersView) { in onFabClick()
325 } else if (mCurrentView === mCreateTimerView) { in onFabClick()
349 if (mCurrentView === mTimersView) { in onLeftButtonClick()
360 } else if (mCurrentView === mCreateTimerView) { in onLeftButtonClick()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DAllInOneActivity.java109 private int mCurrentView; field in AllInOneActivity
633 if (mCurrentView == ViewType.EDIT || mBackToPreviousView) { in onBackPressed()
749 if (!force && mCurrentView == viewType) { in setMainPane()
754 boolean doTransition = viewType != ViewType.MONTH && mCurrentView != ViewType.MONTH; in setMainPane()
757 if (viewType != mCurrentView) { in setMainPane()
760 if (mCurrentView != ViewType.EDIT && mCurrentView > 0) { in setMainPane()
761 mPreviousView = mCurrentView; in setMainPane()
763 mCurrentView = viewType; in setMainPane()
882 if (mShowWeekNum && (mCurrentView == ViewType.WEEK) && mIsTabletConfig in updateSecondaryTitleFields()
889 && mCurrentView == ViewType.DAY && mIsTabletConfig) { in updateSecondaryTitleFields()
[all …]
/packages/apps/Contacts/src/com/android/contacts/activities/
DPeopleActivity.java158 private ContactsView mCurrentView; field in PeopleActivity
391 mCurrentView = ContactsView.values()[savedState.getInt(KEY_CONTACTS_VIEW)]; in onCreate()
393 mCurrentView = ContactsView.ALL_CONTACTS; in onCreate()
899 outState.putInt(KEY_CONTACTS_VIEW, mCurrentView.ordinal()); in onSaveInstanceState()
967 mCurrentView = ContactsView.ACCOUNT_VIEW; in onFilterMenuItemClicked()
986 mCurrentView = contactsView; in switchView()
1017 mCurrentView = ContactsView.ALL_CONTACTS; in switchToAllContacts()
1210 return mCurrentView == ContactsView.GROUP_VIEW; in isGroupView()
1214 return mCurrentView == ContactsView.ASSISTANT; in isAssistantView()
1218 return mCurrentView == ContactsView.ALL_CONTACTS; in isAllContactsView()
[all …]