Home
last modified time | relevance | path

Searched refs:mIndex (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Calendar/tests/src/com/android/calendar/
DAsyncQueryServiceTest.java471 int mIndex = 0; field in AsyncQueryServiceTest.TestAsyncQueryService
497 Log.d(TAG, "mWork.length=" + mWork.length + " mIndex=" + mIndex); in onQueryComplete()
499 assertEquals(mWork[mIndex].op, Operation.EVENT_ARG_QUERY); in onQueryComplete()
500 assertEquals(mWork[mIndex].token, token); in onQueryComplete()
507 assertEquals(((Cursor) mWork[mIndex].result).getCount(), cursor.getCount()); in onQueryComplete()
509 mIndex++; in onQueryComplete()
516 Log.d(TAG, "mWork.length=" + mWork.length + " mIndex=" + mIndex); in onInsertComplete()
518 assertEquals(mWork[mIndex].op, Operation.EVENT_ARG_INSERT); in onInsertComplete()
519 assertEquals(mWork[mIndex].token, token); in onInsertComplete()
520 assertEquals(mWork[mIndex].result, uri); in onInsertComplete()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoView.java772 private int mIndex; field in PhotoView.ScreenNailPicture
784 mIndex = index; in ScreenNailPicture()
789 mIsCamera = mModel.isCamera(mIndex); in reload()
790 mIsPanorama = mModel.isPanorama(mIndex); in reload()
791 mIsStaticCamera = mModel.isStaticCamera(mIndex); in reload()
792 mIsVideo = mModel.isVideo(mIndex); in reload()
793 mIsDeletable = mModel.isDeletable(mIndex); in reload()
794 mLoadingState = mModel.getLoadingState(mIndex); in reload()
795 setScreenNail(mModel.getScreenNail(mIndex)); in reload()
809 if (mIndex >= mPrevBound && mIndex <= mNextBound) { in draw()
[all …]
DDialogDetailsView.java53 private int mIndex; field in DialogDetailsView
79 if (mIndex == index && mDetails == details) return; in reloadDetails()
80 mIndex = index; in reloadDetails()
90 mIndex + 1, mSource.size()); in setDetails()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalMergeAlbum.java49 private TreeMap<Integer, int[]> mIndex = new TreeMap<Integer, int[]>(); field in LocalMergeAlbum
81 mIndex.clear(); in updateData()
82 mIndex.put(0, new int[mSources.length]); in updateData()
89 mIndex.clear(); in invalidateCache()
90 mIndex.put(0, new int[mSources.length]); in invalidateCache()
123 SortedMap<Integer, int[]> head = mIndex.headMap(start + 1); in getMediaItem()
159 mIndex.put(i + 1, subPos.clone()); in getMediaItem()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
DIngestService.java64 private MtpDeviceIndex mIndex; field in IngestService
84 mIndex = MtpDeviceIndex.getInstance(); in onCreate()
85 mIndex.setProgressListener(this); in onCreate()
100 mIndex.unsetProgressListener(this); in onDestroy()
116 mIndex.setDevice(mDevice); in setDevice()
125 new Thread(mIndex.getIndexRunnable()).start(); in setDevice()
138 return mIndex; in getIndex()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DInLineSettingKnob.java45 if (changeIndex(mIndex - 1)) {
49 if (changeIndex(mIndex + 1)) {
65 if (!mNext && changeIndex(mIndex - 1)) {
82 if (!mPrevious && changeIndex(mIndex + 1)) {
118 mNextButton.setVisibility(mIndex == 0 ? View.INVISIBLE : View.VISIBLE); in updateView()
119 mPrevButton.setVisibility(mIndex == mPreference.getEntryValues().length - 1 in updateView()
DInLineSettingItem.java41 protected int mIndex; field in InLineSettingItem
68 mIndex = index; in changeIndex()
69 mPreference.setValueIndex(mIndex); in changeIndex()
80 mIndex = mPreference.findIndexOfValue(mPreference.getValue()); in reloadPreference()
DInLineSettingSwitch.java64 mSwitch.setChecked(mIndex == 1); in updateView()
/packages/apps/Camera/src/com/android/camera/ui/
DInLineSettingItem.java41 protected int mIndex; field in InLineSettingItem
70 mIndex = index; in changeIndex()
71 mPreference.setValueIndex(mIndex); in changeIndex()
82 mIndex = mPreference.findIndexOfValue(mPreference.getValue()); in reloadPreference()
DInLineSettingCheckBox.java64 mCheckBox.setChecked(mIndex == 1); in updateView()
/packages/apps/Gallery/src/com/android/camera/
DDeleteImage.java37 private int mIndex = 0; // next image to delete field in DeleteImage
69 if (mIndex >= mUriList.size()) { in deleteNext()
73 Uri uri = mUriList.get(mIndex++); in deleteNext()
75 mProgressBar.setProgress(mIndex * 10000 / mUriList.size()); in deleteNext()
/packages/apps/Gallery2/src/com/android/camera/ui/
DInLineSettingItem.java41 protected int mIndex; field in InLineSettingItem
70 mIndex = index; in changeIndex()
71 mPreference.setValueIndex(mIndex); in changeIndex()
82 mIndex = mPreference.findIndexOfValue(mPreference.getValue()); in reloadPreference()
DInLineSettingCheckBox.java64 mCheckBox.setChecked(mIndex == 1); in updateView()
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/
DCallLogFragmentTest.java87 private int mIndex; // Of the next row. field in CallLogFragmentTest
104 mIndex = 1; in CallLogFragmentTest()
503 ++mIndex; in insertValues()
517 values[CallLogQuery.ID] = mIndex; in getValuesToInsert()
541 ContentUris.withAppendedId(VoicemailContract.Voicemails.CONTENT_URI, mIndex);
/packages/apps/Calendar/src/com/android/calendar/widget/
DCalendarAppWidgetService.java236 DayInfo dayInfo = mModel.mDayInfos.get(rowInfo.mIndex);
241 final EventInfo eventInfo = mModel.mEventInfos.get(rowInfo.mIndex);
348 return rowInfo.mIndex;
350 EventInfo eventInfo = mModel.mEventInfos.get(rowInfo.mIndex);
DCalendarAppWidgetModel.java62 final int mIndex; field in CalendarAppWidgetModel.RowInfo
66 mIndex = index; in RowInfo()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumPage.java753 private int mIndex; field in AlbumPage.MyDetailsSource
763 mIndex = mAlbumDataAdapter.findItem(id); in setIndex()
764 return mIndex; in setIndex()
770 MediaObject item = mAlbumDataAdapter.get(mIndex); in getDetails()
DAlbumSetPage.java739 private int mIndex; field in AlbumSetPage.MyDetailsSource
749 mIndex = mAlbumSetDataAdapter.findSet(id); in setIndex()
750 return mIndex; in setIndex()
755 MediaObject item = mAlbumSetDataAdapter.getMediaSet(mIndex); in getDetails()
/packages/apps/Gallery/src/com/android/camera/gallery/
DBaseImage.java48 protected final int mIndex; field in BaseImage
64 mIndex = index; in BaseImage()
DBaseImageList.java216 return ((BaseImage) image).mIndex; in getImageIndex()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetPhoneState.java305 int mIndex; field in HeadsetClccResponse
315 mIndex = index; in HeadsetClccResponse()
DHeadsetStateMachine.java1905 clccResponseNative(clcc.mIndex, clcc.mDirection, clcc.mStatus, clcc.mMode, clcc.mMpty, in processSendClccResponse()