Home
last modified time | relevance | path

Searched refs:mPosition (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Gallery/src/com/android/camera/
DSwitcher.java42 private int mPosition = 0; field in Switcher
97 tryToSetSwitch(mPosition >= available / 2); in onTouchEvent()
120 mPosition = x - mPaddingTop - drawableHeight / 2; in trackTouchEvent()
121 if (mPosition < 0) mPosition = 0; in trackTouchEvent()
122 if (mPosition > available) mPosition = available; in trackTouchEvent()
142 mPosition += ANIMATION_SPEED in onDraw()
145 if (mPosition < 0) mPosition = 0; in onDraw()
146 if (mPosition > available) mPosition = available; in onDraw()
147 if (mPosition != 0 && mPosition != available) { in onDraw()
154 int offsetTop = mPaddingTop + mPosition; in onDraw()
/packages/apps/Camera/src/com/android/camera/
DSwitcher.java42 private int mPosition = 0; field in Switcher
97 tryToSetSwitch(mPosition >= available / 2); in onTouchEvent()
120 mPosition = x - mPaddingTop - drawableHeight / 2; in trackTouchEvent()
121 if (mPosition < 0) mPosition = 0; in trackTouchEvent()
122 if (mPosition > available) mPosition = available; in trackTouchEvent()
142 mPosition += ANIMATION_SPEED in onDraw()
145 if (mPosition < 0) mPosition = 0; in onDraw()
146 if (mPosition > available) mPosition = available; in onDraw()
147 if (mPosition != 0 && mPosition != available) { in onDraw()
154 int offsetTop = mPaddingTop + mPosition; in onDraw()
/packages/apps/Mms/src/com/android/mms/ui/
DSlideEditorActivity.java117 private int mPosition; field in SlideEditorActivity
159 if (mPosition >= mSlideshowModel.size()) { in onCreate()
160 mPosition = Math.max(0, mSlideshowModel.size() - 1); in onCreate()
161 } else if (mPosition < 0) { in onCreate()
162 mPosition = 0; in onCreate()
176 mPosition = savedInstanceState.getInt(SLIDE_INDEX, 0); in initActivityState()
179 mPosition = intent.getIntExtra(SLIDE_INDEX, 0); in initActivityState()
187 outState.putInt(SLIDE_INDEX, mPosition); in onSaveInstanceState()
231 if (mPosition >= 0 && mPosition < mSlideshowModel.size()) {
232 mSlideshowEditor.removeSlide(mPosition);
[all …]
/packages/apps/AlarmClock/src/com/android/alarmclock/
DClockPicker.java42 private int mPosition; field in ClockPicker
64 selectClock(mPosition); in onCreate()
77 mPosition = position; in onItemSelected()
/packages/apps/Calendar/src/com/android/calendar/
DSelectCalendarsAdapter.java58 private final int mPosition; field in SelectCalendarsAdapter.CheckBoxListener
61 mPosition = position; in CheckBoxListener()
71 mIsChecked[mPosition] = isChecked ? CHECKED : UNCHECKED; in onCheckedChanged()
DAgendaByDayAdapter.java225 rowInfo.add(new RowInfo(TYPE_MEETING, info.mPosition)); in calculateDays()
274 rowInfo.add(new RowInfo(TYPE_MEETING, info.mPosition)); in calculateDays()
296 final int mPosition; field in AgendaByDayAdapter.MultipleDayInfo
300 mPosition = position; in MultipleDayInfo()
/packages/apps/IM/src/com/android/im/app/
DContactListActivity.java334 mContextMenuHandler.mPosition = info.position; in onCreateContextMenu()
339 mContextMenuHandler.mPosition = info.packedPosition; in onCreateContextMenu()
413 long mPosition; field in ContactListActivity.ContextMenuHandler
418 c = mFilterView.getContactAtPosition((int)mPosition); in onMenuItemClick()
420 c = mContactListView.getContactAtPosition(mPosition); in onMenuItemClick()