HomeSort by relevance Sort by last modified time
    Searched refs:mModel (Results 1 - 25 of 151) sorted by null

1 2 3 4 5 6 7

  /packages/apps/Launcher2/src/com/android/launcher2/
LauncherApplication.java 37 private LauncherModel mModel;
56 mModel = new LauncherModel(this, mIconCache);
59 launcherApps.registerCallback(mModel.getLauncherAppsCallback());
65 registerReceiver(mModel, filter);
68 registerReceiver(mModel, filter);
71 registerReceiver(mModel, filter);
90 unregisterReceiver(mModel);
104 mModel.resetLoadedState(false, true);
105 mModel.startLoaderFromBackground();
110 mModel.initialize(launcher)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
MtpAdapter.java 47 private MtpDeviceIndex mModel;
59 mModel = index;
64 return mModel;
80 return (mModel != null) && mModel.isDeviceConnected();
84 return (mModel != null) && mModel.isIndexReady();
89 return mModel != null ? mModel.size() : 0;
94 return mModel.get(position, mSortOrder)
    [all...]
MtpPagerAdapter.java 42 private MtpDeviceIndex mModel;
54 mModel = index;
60 return mModel != null ? mModel.sizeWithoutLabels() : 0;
70 if (mModel == null) {
73 return mModel.getPositionWithoutLabelsFromPosition(position, mSortOrder);
104 IngestObjectInfo i = mModel.getWithoutLabels(position, mSortOrder);
105 v.getImageView().setMtpDeviceAndObjectInfo(mModel.getDevice(), i, mGeneration);
  /frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
ModelBackedDocumentsAdapterTest.java 48 private TestModel mModel;
54 mModel = new TestModel(AUTHORITY);
55 mModel.update(NAMES);
61 mAdapter.onModelUpdate(mModel);
66 assertEquals(mModel.getItemCount(), mAdapter.getItemCount());
71 String[] ids = mModel.getModelIds();
73 assertEquals(mModel.getItemCount() - 2, mAdapter.getItemCount());
98 return mModel;
SectionBreakDocumentsAdapterWrapperTest.java 49 private TestModel mModel;
57 mModel = new TestModel(AUTHORITY);
63 mModel.addUpdateListener(mAdapter);
80 mModel.update(r);
82 assertEquals(mModel.getItemCount(), mAdapter.getItemCount());
87 mModel.update(NAMES);
88 assertEquals(mModel.getItemCount(), mAdapter.getItemCount());
106 mModel.update(r);
108 assertEquals(mModel.getItemCount() + 1, mAdapter.getItemCount());
133 return mModel;
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/event/
EditEventFragment.java 108 CalendarEventModel mModel;
188 EditEventHelper.setModelFromCursor(mModel, cursor);
193 mModel.mUri = mUri.toString();
194 mModel.mOriginalStart = mBegin;
195 mModel.mOriginalEnd = mEnd;
196 mModel.mIsFirstEventInSeries = mBegin == mOriginalModel.mStart;
197 mModel.mStart = mBegin;
198 mModel.mEnd = mEnd;
200 mModel.setEventColor(mEventColor);
202 eventId = mModel.mId
    [all...]
EditEventView.java 173 private CalendarEventModel mModel;
485 if (mModel.mOriginalSyncId != null) {
570 if (mModel == null || (mCalendarsCursor == null && mModel.mUri == null)) {
577 if (mModel == null || (mCalendarsCursor == null && mModel.mUri == null)) {
580 mModel.mReminders = EventViewUtils.reminderItemsToReminders(
582 mModel.mReminders.addAll(mUnsupportedReminders);
583 mModel.normalizeReminders();
587 mModel.mSelfAttendeeStatus = status
    [all...]
CreateEventDialogFragment.java 82 private CalendarEventModel mModel;
199 mModel = new CalendarEventModel(context);
208 mModel.mStart = mDateInMillis;
209 mModel.mEnd = mDateInMillis + DateUtils.DAY_IN_MILLIS;
210 mModel.mTitle = mEventTitle.getText().toString();
211 mModel.mAllDay = true;
212 mModel.mCalendarId = mCalendarId;
213 mModel.mOwnerAccount = mCalendarOwner;
215 if (mEditEventHelper.saveEvent(mModel, null, 0)) {
  /frameworks/base/libs/usb/src/com/android/future/usb/
UsbAccessory.java 25 private final String mModel;
33 mModel = accessory.getModel();
55 return mModel;
108 compare(mModel, accessory.getModel()) &&
120 (mModel == null ? 0 : mModel.hashCode()) ^
130 ", mModel=" + mModel +
  /frameworks/base/media/java/android/mtp/
MtpDeviceInfo.java 27 private String mModel;
52 return mModel;
  /packages/apps/Launcher3/src/com/android/launcher3/
LauncherAppState.java 39 @Thunk final LauncherModel mModel;
92 mModel = new LauncherModel(this, mIconCache, mAppFilter);
94 LauncherAppsCompat.getInstance(sContext).addOnAppsChangedCallback(mModel);
106 sContext.registerReceiver(mModel, filter);
118 sContext.unregisterReceiver(mModel);
120 launcherApps.removeOnAppsChangedCallback(mModel);
129 mModel.resetLoadedState(false, true);
130 mModel.startLoaderFromBackground();
135 mModel.initialize(launcher);
138 return mModel;
    [all...]
  /frameworks/av/media/mtp/
MtpDeviceInfo.cpp 38 mModel(NULL),
54 if (mModel)
55 free(mModel);
88 mModel = strdup((const char *)string);
101 mVendorExtensionDesc, mFunctionalMode, mManufacturer, mModel, mVersion, mSerial);
MtpDeviceInfo.h 39 char* mModel;
  /packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
RecurrencePickerDialog.java 274 private RecurrenceModel mModel = new RecurrenceModel();
628 mModel = m;
643 mModel.weeklyByDayOfWeek[mTime.weekDay] = true;
646 mModel.recurrenceState = RecurrenceModel.STATE_RECURRENCE;
648 copyEventRecurrenceToModel(mRecurrence, mModel);
651 mModel.weeklyByDayOfWeek[mTime.weekDay] = true;
667 mRepeatSwitch.setChecked(mModel.recurrenceState == RecurrenceModel.STATE_RECURRENCE);
672 mModel.recurrenceState = isChecked ? RecurrenceModel.STATE_RECURRENCE
690 mModel.interval = v;
717 if (mModel.endCount != v)
    [all...]
  /frameworks/base/core/java/android/hardware/usb/
UsbAccessory.java 50 private final String mModel;
76 mModel = model;
89 mModel = strings[MODEL_STRING];
111 return mModel;
164 compare(mModel, accessory.getModel()) &&
176 (mModel == null ? 0 : mModel.hashCode()) ^
186 ", mModel=" + mModel +
216 parcel.writeString(mModel);
    [all...]
  /frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
ExpressionParser.java 44 final ExprModel mModel;
48 mModel = model;
49 visitor = new ExpressionVisitor(mModel);
67 mModel.setCurrentLocationInFile(locationInFile);
81 mModel.setCurrentParserContext(ctx);
92 mModel.setCurrentParserContext(mStack.get(mStack.size() - 1));
94 mModel.setCurrentParserContext(null);
100 mModel.setCurrentLocationInFile(null);
105 return mModel;
ExpressionVisitor.java 45 private final ExprModel mModel;
49 mModel = model;
81 return mModel.symbol(javaString, String.class);
93 return mModel.group(ctx.children.get(1).accept(this));
104 return mModel.bindingExpr(ctx.expression().accept(this));
119 ModelClass modelClass = analyzer.findClass(ctx.getText(), mModel.getImports());
121 return mModel.field(ctx.expression().accept(this),
125 StaticIdentifierExpr expr = mModel.staticIdentifier(name);
139 return mModel.ternary(mModel.comparison("==", left, mModel.symbol("null", Object.class))
    [all...]
BindingTarget.java 41 ExprModel mModel;
68 mModel.twoWayListenerExpr(inverseBinding),
85 mModel.twoWayListenerExpr(inverseBinding)));
114 findClass(ModelAnalyzer.VIEW_DATA_BINDING, mModel.getImports());
117 mModel.getImports());
145 return mModel;
149 mModel = model;
  /packages/apps/Calendar/src/com/android/calendar/
DeleteEventHelper.java 69 private CalendarEventModel mModel;
117 CalendarEventModel mModel = new CalendarEventModel();
118 EditEventHelper.setModelFromCursor(mModel, cursor);
120 DeleteEventHelper.this.delete(mStartMillis, mEndMillis, mModel, mWhichDelete);
137 long id = mModel.mId; // mCursor.getInt(mEventIndexId);
261 mModel = model;
343 long id = mModel.mId; // mCursor.getInt(mEventIndexId);
355 String rRule = mModel.mRrule;
356 boolean allDay = mModel.mAllDay;
357 long dtstart = mModel.mStart
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
PhotoView.java 197 private Model mModel;
320 mModel = model;
321 mTileView.setModel(mModel);
367 if (mModel.isCamera(mNextBound)
368 || mModel.isCamera(mPrevBound)) {
421 if (Math.abs(mUndoIndexHint - mModel.getCurrentIndex()) >= 3) {
437 mModel.isCamera(0), mSizes);
606 mIsCamera = mModel.isCamera(0);
607 mIsPanorama = mModel.isPanorama(0);
608 mIsStaticCamera = mModel.isStaticCamera(0)
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/widget/
CalendarAppWidgetService.java 125 private static CalendarAppWidgetModel mModel;
214 if (mModel == null) {
223 if (mModel.mEventInfos.isEmpty() || mModel.mRowInfos.isEmpty()) {
232 RowInfo rowInfo = mModel.mRowInfos.get(position);
236 DayInfo dayInfo = mModel.mDayInfos.get(rowInfo.mIndex);
241 final EventInfo eventInfo = mModel.mEventInfos.get(rowInfo.mIndex);
335 if (mModel == null) {
338 return Math.max(1, mModel.mRowInfos.size());
343 if (mModel == null || mModel.mRowInfos.isEmpty() || position >= getCount())
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
PhotoPage.java 130 private PhotoPage.Model mModel;
334 updateCurrentPhoto(mModel.getMediaItem(0));
473 mModel = pda;
474 mPhotoView.setModel(mModel);
506 MediaItem photo = mModel.getMediaItem(0);
517 if (!mModel.isEmpty()) {
518 MediaItem photo = mModel.getMediaItem(0);
538 mModel = new SinglePhotoDataAdapter(mActivity, mPhotoView, mediaItem);
539 mPhotoView.setModel(mModel);
662 MediaItem current = mModel.getMediaItem(0)
    [all...]
SlideshowPage.java 80 private Model mModel;
143 mModel.nextSlide(new FutureListener<Slide>() {
155 // 2.) mModel is paused
176 mModel.pause();
187 mModel.resume();
206 mModel = new SlideshowDataAdapter(mActivity,
214 mModel = new SlideshowDataAdapter(mActivity, new SequentialSource(mediaSet, repeat),
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
QuickViewIntentBuilder.java 53 private final Model mModel;
67 mModel = model;
131 final String[] siblingIds = mModel.getModelIds();
143 cursor = mModel.getItem(siblingIds[i]);
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
FocusManager.java 60 private Model mModel;
68 mModel = model;
418 mModel.addUpdateListener(mModelListener);
460 mModel.removeUpdateListener(mModelListener);
480 Cursor cursor = mModel.getItem(modelId);

Completed in 1089 milliseconds

1 2 3 4 5 6 7