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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSpacingAndPunctuations.java78 public SpacingAndPunctuations(final SpacingAndPunctuations model, in SpacingAndPunctuations() argument
80 mSortedSymbolsPrecededBySpace = model.mSortedSymbolsPrecededBySpace; in SpacingAndPunctuations()
81 mSortedSymbolsFollowedBySpace = model.mSortedSymbolsFollowedBySpace; in SpacingAndPunctuations()
82 mSortedSymbolsClusteringTogether = model.mSortedSymbolsClusteringTogether; in SpacingAndPunctuations()
83 mSortedWordConnectors = model.mSortedWordConnectors; in SpacingAndPunctuations()
85 mSortedSentenceTerminators = model.mSortedSentenceTerminators; in SpacingAndPunctuations()
86 mSuggestPuncList = model.mSuggestPuncList; in SpacingAndPunctuations()
87 mSentenceSeparator = model.mSentenceSeparator; in SpacingAndPunctuations()
88 mAbbreviationMarker = model.mAbbreviationMarker; in SpacingAndPunctuations()
89 mSentenceSeparatorAndSpace = model.mSentenceSeparatorAndSpace; in SpacingAndPunctuations()
[all …]
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DInvisibleContactUtil.java8 import com.android.contacts.common.model.AccountTypeManager;
9 import com.android.contacts.common.model.Contact;
10 import com.android.contacts.common.model.RawContact;
11 import com.android.contacts.common.model.RawContactDelta;
12 import com.android.contacts.common.model.RawContactDeltaList;
13 import com.android.contacts.common.model.RawContactModifier;
14 import com.android.contacts.common.model.ValuesDelta;
15 import com.android.contacts.common.model.account.AccountType;
16 import com.android.contacts.common.model.dataitem.DataItem;
17 import com.android.contacts.common.model.dataitem.DataKind;
[all …]
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.java105 import com.android.contacts.common.model.AccountTypeManager;
106 import com.android.contacts.common.model.Contact;
107 import com.android.contacts.common.model.ContactLoader;
108 import com.android.contacts.common.model.RawContact;
109 import com.android.contacts.common.model.account.AccountType;
110 import com.android.contacts.common.model.account.AccountWithDataSet;
111 import com.android.contacts.common.model.dataitem.DataItem;
112 import com.android.contacts.common.model.dataitem.DataKind;
113 import com.android.contacts.common.model.dataitem.EmailDataItem;
114 import com.android.contacts.common.model.dataitem.EventDataItem;
[all …]
/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/Launcher3/src/com/android/launcher3/model/
DWidgetsModel.java2 package com.android.launcher3.model;
61 private WidgetsModel(WidgetsModel model) { in WidgetsModel() argument
62 mAppWidgetMgr = model.mAppWidgetMgr; in WidgetsModel()
63 mPackageItemInfos = (ArrayList<PackageItemInfo>) model.mPackageItemInfos.clone(); in WidgetsModel()
64 mWidgetsList = (HashMap<PackageItemInfo, ArrayList<Object>>) model.mWidgetsList.clone(); in WidgetsModel()
65 mRawList = (ArrayList<Object>) model.mRawList.clone(); in WidgetsModel()
66 mWidgetAndShortcutNameComparator = model.mWidgetAndShortcutNameComparator; in WidgetsModel()
67 mAppNameComparator = model.mAppNameComparator; in WidgetsModel()
68 mIconCache = model.mIconCache; in WidgetsModel()
69 mAppFilter = model.mAppFilter; in WidgetsModel()
/packages/apps/Contacts/src/com/android/contacts/activities/
DAttachPhotoActivity.java44 import com.android.contacts.common.model.Contact;
45 import com.android.contacts.common.model.ContactLoader;
46 import com.android.contacts.common.model.RawContactDelta;
47 import com.android.contacts.common.model.RawContactDeltaList;
48 import com.android.contacts.common.model.RawContactModifier;
50 import com.android.contacts.common.model.account.AccountType;
51 import com.android.contacts.common.model.ValuesDelta;
52 import com.android.contacts.common.model.account.AccountWithDataSet;
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/ContactsCommon/src/com/android/contacts/common/model/
DAccountTypeManager.java17 package com.android.contacts.common.model;
46 import com.android.contacts.common.model.account.AccountType;
47 import com.android.contacts.common.model.account.AccountTypeWithDataSet;
48 import com.android.contacts.common.model.account.AccountWithDataSet;
49 import com.android.contacts.common.model.account.ExchangeAccountType;
50 import com.android.contacts.common.model.account.ExternalAccountType;
51 import com.android.contacts.common.model.account.FallbackAccountType;
52 import com.android.contacts.common.model.account.GoogleAccountType;
53 import com.android.contacts.common.model.account.SamsungAccountType;
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 …]
DRawContact.java17 package com.android.contacts.common.model;
29 import com.android.contacts.common.model.AccountTypeManager;
30 import com.android.contacts.common.model.account.AccountType;
31 import com.android.contacts.common.model.account.AccountWithDataSet;
32 import com.android.contacts.common.model.dataitem.DataItem;
/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/Contacts/src/com/android/contacts/editor/
DBaseRawContactEditorView.java34 import com.android.contacts.common.model.RawContactDelta;
35 import com.android.contacts.common.model.ValuesDelta;
36 import com.android.contacts.common.model.RawContactModifier;
37 import com.android.contacts.common.model.account.AccountType;
38 import com.android.contacts.common.model.account.AccountType.EditType;
39 import com.android.contacts.common.model.account.AccountWithDataSet;
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;
DCompactRawContactsEditorView.java20 import com.android.contacts.common.model.AccountTypeManager;
21 import com.android.contacts.common.model.RawContactDelta;
22 import com.android.contacts.common.model.RawContactDeltaList;
23 import com.android.contacts.common.model.RawContactModifier;
24 import com.android.contacts.common.model.ValuesDelta;
25 import com.android.contacts.common.model.account.AccountType;
26 import com.android.contacts.common.model.account.AccountType.EditField;
27 import com.android.contacts.common.model.account.AccountWithDataSet;
28 import com.android.contacts.common.model.dataitem.DataKind;
DRawContactEditorView.java39 import com.android.contacts.common.model.account.AccountType;
40 import com.android.contacts.common.model.account.AccountType.EditType;
41 import com.android.contacts.common.model.dataitem.DataKind;
42 import com.android.contacts.common.model.RawContactDelta;
43 import com.android.contacts.common.model.ValuesDelta;
44 import com.android.contacts.common.model.RawContactModifier;
DContactEditorBaseFragment.java28 import com.android.contacts.common.model.AccountTypeManager;
29 import com.android.contacts.common.model.Contact;
30 import com.android.contacts.common.model.ContactLoader;
31 import com.android.contacts.common.model.RawContact;
32 import com.android.contacts.common.model.RawContactDelta;
33 import com.android.contacts.common.model.RawContactDeltaList;
34 import com.android.contacts.common.model.RawContactModifier;
35 import com.android.contacts.common.model.ValuesDelta;
36 import com.android.contacts.common.model.account.AccountType;
37 import com.android.contacts.common.model.account.AccountWithDataSet;
DStructuredNameEditorView.java27 import com.android.contacts.common.model.RawContactDelta;
28 import com.android.contacts.common.model.ValuesDelta;
29 import com.android.contacts.common.model.dataitem.DataItem;
30 import com.android.contacts.common.model.dataitem.DataKind;
32 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;
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
DMockAccountTypeManager.java18 import com.android.contacts.common.model.AccountTypeManager;
19 import com.android.contacts.common.model.account.AccountType;
20 import com.android.contacts.common.model.account.AccountTypeWithDataSet;
21 import com.android.contacts.common.model.account.AccountWithDataSet;
22 import com.android.contacts.common.model.account.BaseAccountType;
/packages/apps/Contacts/src/com/android/contacts/detail/
DPhotoSelectionHandler.java41 import com.android.contacts.common.model.AccountTypeManager;
42 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.RawContactDeltaList;
/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