Home
last modified time | relevance | path

Searched refs:model (Results 1 – 25 of 206) sorted by relevance

123456789

/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventHelper.java254 public EditEventHelper(Context context, CalendarEventModel model) { in EditEventHelper() argument
268 public boolean saveEvent(CalendarEventModel model, CalendarEventModel originalModel, in saveEvent() argument
273 Log.d(TAG, "Saving event model: " + model); in saveEvent()
285 if (model == null) { in saveEvent()
289 if (!model.isValid()) { in saveEvent()
293 if (originalModel != null && !isSameEvent(model, originalModel)) { in saveEvent()
298 if (originalModel != null && model.isUnchanged(originalModel)) { in saveEvent()
305 ContentValues values = getContentValuesFromModel(model); in saveEvent()
307 if (model.mUri != null && originalModel == null) { in saveEvent()
312 if (model.mUri != null) { in saveEvent()
[all …]
DEditEventView.java993 CalendarEventModel model = mModel; in prepareReminders() local
1014 if (model.mHasAlarm) { in prepareReminders()
1015 ArrayList<ReminderEntry> reminders = model.mReminders; in prepareReminders()
1054 public void setModel(CalendarEventModel model) { in setModel() argument
1055 mModel = model; in setModel()
1063 if (model == null) { in setModel()
1070 boolean canRespond = EditEventHelper.canRespond(model); in setModel()
1072 long begin = model.mStart; in setModel()
1073 long end = model.mEnd; in setModel()
1074 mTimezone = model.mTimezone; // this will be UTC for all day events in setModel()
[all …]
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
DRecurrencePickerDialog.java418 RecurrenceModel model) { in copyEventRecurrenceToModel() argument
422 model.freq = RecurrenceModel.FREQ_DAILY; in copyEventRecurrenceToModel()
425 model.freq = RecurrenceModel.FREQ_MONTHLY; in copyEventRecurrenceToModel()
428 model.freq = RecurrenceModel.FREQ_YEARLY; in copyEventRecurrenceToModel()
431 model.freq = RecurrenceModel.FREQ_WEEKLY; in copyEventRecurrenceToModel()
439 model.interval = er.interval; in copyEventRecurrenceToModel()
444 model.endCount = er.count; in copyEventRecurrenceToModel()
445 if (model.endCount > 0) { in copyEventRecurrenceToModel()
446 model.end = RecurrenceModel.END_BY_COUNT; in copyEventRecurrenceToModel()
451 if (model.endDate == null) { in copyEventRecurrenceToModel()
[all …]
/packages/apps/Mms/src/com/android/mms/ui/
DSlideshowPresenter.java24 import com.android.mms.model.AudioModel;
25 import com.android.mms.model.ImageModel;
26 import com.android.mms.model.LayoutModel;
27 import com.android.mms.model.MediaModel;
28 import com.android.mms.model.MediaModel.MediaAction;
29 import com.android.mms.model.Model;
30 import com.android.mms.model.RegionMediaModel;
31 import com.android.mms.model.RegionModel;
32 import com.android.mms.model.SlideModel;
33 import com.android.mms.model.SlideshowModel;
[all …]
DSlideshowEditor.java24 import com.android.mms.model.AudioModel;
25 import com.android.mms.model.ImageModel;
26 import com.android.mms.model.RegionModel;
27 import com.android.mms.model.SlideModel;
28 import com.android.mms.model.SlideshowModel;
29 import com.android.mms.model.TextModel;
30 import com.android.mms.model.VideoModel;
45 public SlideshowEditor(Context context, SlideshowModel model) { in SlideshowEditor() argument
47 mModel = model; in SlideshowEditor()
50 public void setSlideshow(SlideshowModel model) { in setSlideshow() argument
[all …]
DMmsThumbnailPresenter.java22 import com.android.mms.model.AudioModel;
23 import com.android.mms.model.ImageModel;
24 import com.android.mms.model.Model;
25 import com.android.mms.model.SlideModel;
26 import com.android.mms.model.SlideshowModel;
27 import com.android.mms.model.VideoModel;
37 public MmsThumbnailPresenter(Context context, ViewInterface view, Model model) { in MmsThumbnailPresenter() argument
38 super(context, view, model); in MmsThumbnailPresenter()
101 public void onModelChanged(Model model, boolean dataChanged) { in onModelChanged() argument
DSlideshowActivity.java52 import com.android.mms.model.LayoutModel;
53 import com.android.mms.model.RegionModel;
54 import com.android.mms.model.SlideshowModel;
55 import com.android.mms.model.SmilHelper;
165 final SlideshowModel model; in onCreate() local
168 model = SlideshowModel.createFromMessageUri(this, msg); in onCreate()
169 mSlideCount = model.size(); in onCreate()
177 PresenterFactory.getPresenter("SlideshowPresenter", this, mSlideView, model); in onCreate()
197 mSmilDoc = SmilHelper.getDocument(model); in onCreate()
203 LayoutModel layout = model.getLayout(); in onCreate()
DPresenter.java22 import com.android.mms.model.IModelChangedObserver;
23 import com.android.mms.model.Model;
34 public Presenter(Context context, ViewInterface view, Model model) { in Presenter() argument
38 mModel = model; in Presenter()
54 public void setModel(Model model) { in setModel() argument
55 mModel = model; in setModel()
/packages/apps/Calendar/tests/src/com/android/calendar/event/
DEditEventHelperTest.java1536 CalendarEventModel model = new CalendarEventModel(); in buildTestModel() local
1537 model.mId = TEST_EVENT_ID; in buildTestModel()
1538 model.mTitle = "The_Question"; in buildTestModel()
1539 model.mDescription = "Evaluating_Life_the_Universe_and_Everything"; in buildTestModel()
1540 model.mLocation = "Earth_Mk2"; in buildTestModel()
1541 model.mAllDay = true; in buildTestModel()
1542 model.mHasAlarm = false; in buildTestModel()
1543 model.mCalendarId = 2; in buildTestModel()
1544 model.mStart = TEST_START; // Monday, May 3rd, local Time in buildTestModel()
1545 model.mDuration = "P3652421990D"; in buildTestModel()
[all …]
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailFragment.java86 import com.android.contacts.common.model.AccountTypeManager;
87 import com.android.contacts.common.model.ValuesDelta;
88 import com.android.contacts.common.model.account.AccountType;
89 import com.android.contacts.common.model.account.AccountType.EditType;
90 import com.android.contacts.common.model.account.AccountWithDataSet;
91 import com.android.contacts.common.model.dataitem.DataKind;
96 import com.android.contacts.common.model.Contact;
97 import com.android.contacts.common.model.RawContact;
98 import com.android.contacts.common.model.RawContactDelta;
99 import com.android.contacts.common.model.RawContactDeltaList;
[all …]
DPhotoSelectionHandler.java39 import com.android.contacts.common.model.AccountTypeManager;
40 import com.android.contacts.common.model.RawContactModifier;
41 import com.android.contacts.common.model.RawContactDelta;
42 import com.android.contacts.common.model.ValuesDelta;
43 import com.android.contacts.common.model.account.AccountType;
44 import com.android.contacts.common.model.RawContactDeltaList;
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DDataAction.java36 import com.android.contacts.common.model.account.AccountType.EditType;
37 import com.android.contacts.common.model.dataitem.DataItem;
38 import com.android.contacts.common.model.dataitem.DataKind;
39 import com.android.contacts.common.model.dataitem.EmailDataItem;
40 import com.android.contacts.common.model.dataitem.ImDataItem;
41 import com.android.contacts.common.model.dataitem.PhoneDataItem;
42 import com.android.contacts.common.model.dataitem.SipAddressDataItem;
43 import com.android.contacts.common.model.dataitem.StructuredPostalDataItem;
44 import com.android.contacts.common.model.dataitem.WebsiteDataItem;
DQuickContactActivity.java65 import com.android.contacts.common.model.AccountTypeManager;
66 import com.android.contacts.common.model.Contact;
67 import com.android.contacts.common.model.ContactLoader;
68 import com.android.contacts.common.model.RawContact;
69 import com.android.contacts.common.model.account.AccountType;
70 import com.android.contacts.common.model.dataitem.DataItem;
71 import com.android.contacts.common.model.dataitem.DataKind;
72 import com.android.contacts.common.model.dataitem.EmailDataItem;
73 import com.android.contacts.common.model.dataitem.ImDataItem;
/packages/apps/Contacts/src/com/android/contacts/activities/
DAttachPhotoActivity.java36 import com.android.contacts.common.model.Contact;
37 import com.android.contacts.common.model.ContactLoader;
38 import com.android.contacts.common.model.RawContactDelta;
39 import com.android.contacts.common.model.RawContactDeltaList;
40 import com.android.contacts.common.model.RawContactModifier;
42 import com.android.contacts.common.model.account.AccountType;
43 import com.android.contacts.common.model.ValuesDelta;
DConfirmAddDetailActivity.java67 import com.android.contacts.common.model.AccountTypeManager;
68 import com.android.contacts.common.model.RawContact;
69 import com.android.contacts.common.model.RawContactDelta;
70 import com.android.contacts.common.model.ValuesDelta;
71 import com.android.contacts.common.model.RawContactDeltaList;
72 import com.android.contacts.common.model.RawContactModifier;
73 import com.android.contacts.common.model.account.AccountType;
74 import com.android.contacts.common.model.account.AccountWithDataSet;
75 import com.android.contacts.common.model.dataitem.DataKind;
/packages/apps/Calendar/src/com/android/calendar/
DDeleteEventHelper.java257 public void delete(long begin, long end, CalendarEventModel model, int which) { in delete() argument
261 mModel = model; in delete()
262 mSyncId = model.mSyncId; in delete()
267 String rRule = model.mRrule; in delete()
268 String originalEvent = model.mOriginalSyncId; in delete()
306 if (!model.mIsOrganizer) { in delete()
311 } else if (!model.mIsOrganizer) { in delete()
325 mContext.getString(R.string.delete_recurring_event_title,model.mTitle)) in delete()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DAccountTypeManager.java17 package com.android.contacts.common.model;
47 import com.android.contacts.common.model.account.AccountType;
48 import com.android.contacts.common.model.account.AccountTypeWithDataSet;
49 import com.android.contacts.common.model.account.AccountWithDataSet;
50 import com.android.contacts.common.model.account.ExchangeAccountType;
51 import com.android.contacts.common.model.account.ExternalAccountType;
52 import com.android.contacts.common.model.account.FallbackAccountType;
53 import com.android.contacts.common.model.account.GoogleAccountType;
54 import com.android.contacts.common.model.dataitem.DataKind;
DRawContactModifier.java17 package com.android.contacts.common.model;
50 import com.android.contacts.common.model.AccountTypeManager;
51 import com.android.contacts.common.model.ValuesDelta;
55 import com.android.contacts.common.model.account.AccountType;
56 import com.android.contacts.common.model.account.AccountType.EditField;
57 import com.android.contacts.common.model.account.AccountType.EditType;
58 import com.android.contacts.common.model.account.AccountType.EventEditType;
59 import com.android.contacts.common.model.account.GoogleAccountType;
60 import com.android.contacts.common.model.dataitem.DataKind;
61 import com.android.contacts.common.model.dataitem.PhoneDataItem;
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DBaseRawContactEditorView.java31 import com.android.contacts.common.model.RawContactDelta;
32 import com.android.contacts.common.model.ValuesDelta;
33 import com.android.contacts.common.model.RawContactModifier;
34 import com.android.contacts.common.model.account.AccountType;
35 import com.android.contacts.common.model.account.AccountType.EditType;
DRawContactReadOnlyEditorView.java42 import com.android.contacts.common.model.RawContactModifier;
43 import com.android.contacts.common.model.RawContactDelta;
44 import com.android.contacts.common.model.ValuesDelta;
45 import com.android.contacts.common.model.account.AccountType;
46 import com.android.contacts.common.model.account.AccountWithDataSet;
47 import com.android.contacts.common.model.dataitem.DataKind;
DStructuredNameEditorView.java28 import com.android.contacts.common.model.RawContactDelta;
29 import com.android.contacts.common.model.ValuesDelta;
30 import com.android.contacts.common.model.dataitem.DataItem;
31 import com.android.contacts.common.model.dataitem.DataKind;
33 import com.android.contacts.common.model.dataitem.StructuredNameDataItem;
DEventFieldEditorView.java32 import com.android.contacts.common.model.RawContactDelta;
33 import com.android.contacts.common.model.ValuesDelta;
34 import com.android.contacts.common.model.account.AccountType.EditField;
35 import com.android.contacts.common.model.account.AccountType.EventEditType;
36 import com.android.contacts.common.model.dataitem.DataKind;
DRawContactEditorView.java43 import com.android.contacts.common.model.account.AccountType;
44 import com.android.contacts.common.model.account.AccountType.EditType;
45 import com.android.contacts.common.model.dataitem.DataKind;
46 import com.android.contacts.common.model.RawContactDelta;
47 import com.android.contacts.common.model.ValuesDelta;
48 import com.android.contacts.common.model.RawContactModifier;
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherClings.java408 LauncherModel model = mLauncher.getModel(); in dismissMigrationClingCopyApps() local
409 model.resetLoadedState(false, true); in dismissMigrationClingCopyApps()
410 model.startLoader(false, PagedView.INVALID_RESTORE_PAGE, in dismissMigrationClingCopyApps()
427 LauncherModel model = mLauncher.getModel(); in dismissMigrationClingUseDefault() local
428 model.resetLoadedState(false, true); in dismissMigrationClingUseDefault()
429 model.startLoader(false, PagedView.INVALID_RESTORE_PAGE, in dismissMigrationClingUseDefault()
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
DContactFragment.java21 import com.android.loaderapp.model.Collapser;
22 import com.android.loaderapp.model.ContactLoader;
23 import com.android.loaderapp.model.ContactsSource;
24 import com.android.loaderapp.model.Sources;
25 import com.android.loaderapp.model.TypePrecedence;
26 import com.android.loaderapp.model.Collapser.Collapsible;
27 import com.android.loaderapp.model.ContactLoader.ContactData;
28 import com.android.loaderapp.model.ContactsSource.DataKind;

123456789