Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStatePanelTrack.java44 private StateView mCurrentView; field in StatePanelTrack
197 mCurrentView = view; in onTouch()
198 if (mCurrentSelectedView == mCurrentView) { in onTouch()
209 mCurrentSelectedView = mCurrentView; in onTouch()
217 if (mCurrentView != null) { in onInterceptTouchEvent()
225 if (mCurrentView == null) { in onTouchEvent()
240 float alpha = 1.0f - (Math.abs(translation) / mCurrentView.getHeight()); in onTouchEvent()
243 alpha = 1.0f - (Math.abs(translation) / mCurrentView.getWidth()); in onTouchEvent()
244 mCurrentView.setTranslationX(translation); in onTouchEvent()
246 mCurrentView.setTranslationY(translation); in onTouchEvent()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/timer/
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 …]