Home
last modified time | relevance | path

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

12345678910

/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;
/packages/apps/Launcher3/src/com/android/launcher3/model/
DWidgetsModel.java2 package com.android.launcher3.model;
70 private WidgetsModel(WidgetsModel model) { in WidgetsModel() argument
71 mAppWidgetMgr = model.mAppWidgetMgr; in WidgetsModel()
72 mPackageItemInfos = (ArrayList<PackageItemInfo>) model.mPackageItemInfos.clone(); in WidgetsModel()
73 mWidgetsList = (HashMap<PackageItemInfo, ArrayList<Object>>) model.mWidgetsList.clone(); in WidgetsModel()
74 mWidgetAndShortcutNameComparator = model.mWidgetAndShortcutNameComparator; in WidgetsModel()
75 mAppNameComparator = model.mAppNameComparator; in WidgetsModel()
76 mIconCache = model.mIconCache; in WidgetsModel()
77 mAppFilter = model.mAppFilter; in WidgetsModel()
78 mIndexer = model.mIndexer; in WidgetsModel()
[all …]
/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/editor/
DKindSectionData.java19 import com.android.contacts.common.model.RawContactDelta;
20 import com.android.contacts.common.model.ValuesDelta;
21 import com.android.contacts.common.model.account.AccountType;
22 import com.android.contacts.common.model.account.AccountType.EditField;
23 import com.android.contacts.common.model.dataitem.DataKind;
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;
DKindSectionDataList.java18 import com.android.contacts.common.model.RawContactDelta;
19 import com.android.contacts.common.model.ValuesDelta;
20 import com.android.contacts.common.model.account.AccountWithDataSet;
21 import com.android.contacts.common.model.dataitem.DataKind;
22 import com.android.contacts.common.model.RawContactModifier;
DRawContactDeltaComparator.java19 import com.android.contacts.common.model.AccountTypeManager;
20 import com.android.contacts.common.model.RawContactDelta;
21 import com.android.contacts.common.model.account.AccountType;
22 import com.android.contacts.common.model.account.GoogleAccountType;
DEditor.java21 import com.android.contacts.common.model.RawContactDelta;
22 import com.android.contacts.common.model.ValuesDelta;
23 import com.android.contacts.common.model.dataitem.DataKind;
DStructuredNameEditorView.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;
35 import com.android.contacts.common.model.dataitem.DataItem;
36 import com.android.contacts.common.model.dataitem.DataKind;
38 import com.android.contacts.common.model.dataitem.StructuredNameDataItem;
DPhoneticNameEditorView.java23 import com.android.contacts.common.model.RawContactDelta;
24 import com.android.contacts.common.model.ValuesDelta;
25 import com.android.contacts.common.model.dataitem.DataKind;
26 import com.android.contacts.common.model.dataitem.StructuredNameDataItem;
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;
/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;
/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/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/preference/
DDefaultAccountPreference.java24 import com.android.contacts.common.model.AccountTypeManager;
25 import com.android.contacts.common.model.account.AccountType;
26 import com.android.contacts.common.model.account.AccountTypeWithDataSet;
27 import com.android.contacts.common.model.account.AccountWithDataSet;
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/
DDataKind.java17 package com.android.contacts.common.model.dataitem;
23 import com.android.contacts.common.model.account.AccountType.EditField;
24 import com.android.contacts.common.model.account.AccountType.EditType;
25 import com.android.contacts.common.model.account.AccountType.StringInflater;
/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/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;
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/parser/
DMessageParserTest.java35 import static com.android.managedprovisioning.model.ProvisioningParams.DEFAULT_LEAVE_ALL_SYSTEM_APP…
36 import static com.android.managedprovisioning.model.ProvisioningParams.DEFAULT_STARTED_BY_TRUSTED_S…
37 import static com.android.managedprovisioning.model.ProvisioningParams.DEFAULT_SKIP_USER_SETUP;
41 import static com.android.managedprovisioning.model.ProvisioningParams.DEFAULT_LOCAL_TIME;
60 import com.android.managedprovisioning.model.ProvisioningParams;
/packages/apps/UnifiedEmail/src/com/android/mail/content/
DObjectCursor.java68 final T model = mFactory.createFromCursor(c); in getModel() local
69 mCache.put(currentPosition, model); in getModel()
70 return model; in getModel()

12345678910