Home
last modified time | relevance | path

Searched refs:mCurrentView (Results 1 – 6 of 6) 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.kt74 private var mCurrentView: View? = null variable in com.android.deskclock.timer.TimerFragment
207 if (mCurrentView === mCreateTimerView) { in onSaveInstanceState()
214 if (mCurrentView === mTimersView) { in updateFab()
252 } else if (mCurrentView === mCreateTimerView) { in updateFab()
276 if (mCurrentView === mTimersView) { in onUpdateFabButtons()
286 } else if (mCurrentView === mCreateTimerView) { in onUpdateFabButtons()
298 if (mCurrentView === mTimersView) { in onFabClick()
326 } else if (mCurrentView === mCreateTimerView) { in onFabClick()
350 if (mCurrentView === mTimersView) { in onLeftButtonClick()
361 } else if (mCurrentView === mCreateTimerView) { in onLeftButtonClick()
[all …]
DTimerFragment.java84 private View mCurrentView; field in TimerFragment
233 if (mCurrentView == mCreateTimerView) { in onSaveInstanceState()
240 if (mCurrentView == mTimersView) { in updateFab()
279 } else if (mCurrentView == mCreateTimerView) { in updateFab()
306 if (mCurrentView == mTimersView) { in onUpdateFabButtons()
317 } else if (mCurrentView == mCreateTimerView) { in onUpdateFabButtons()
330 if (mCurrentView == mTimersView) { in onFabClick()
365 } else if (mCurrentView == mCreateTimerView) { in onFabClick()
390 if (mCurrentView == mTimersView) { in onLeftButtonClick()
404 } 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/Launcher3/src/com/android/launcher3/keyboard/
DFocusIndicatorHelper.java86 private View mCurrentView; field in FocusIndicatorHelper
143 if (mCurrentView != null && mCurrentView.isAttachedToWindow()) { in getDrawRect()
144 viewToRect(mCurrentView, sTempRect1); in getDrawRect()
204 mCurrentView = v; in setCurrentView()
/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 …]