/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EditEventHelper.java | 254 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 …]
|
D | EditEventView.java | 993 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/ |
D | RecurrencePickerDialog.java | 418 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/ |
D | SlideshowPresenter.java | 25 import com.android.mms.model.AudioModel; 26 import com.android.mms.model.ImageModel; 27 import com.android.mms.model.LayoutModel; 28 import com.android.mms.model.MediaModel; 29 import com.android.mms.model.MediaModel.MediaAction; 30 import com.android.mms.model.Model; 31 import com.android.mms.model.RegionMediaModel; 32 import com.android.mms.model.RegionModel; 33 import com.android.mms.model.SlideModel; 34 import com.android.mms.model.SlideshowModel; [all …]
|
D | SlideshowEditor.java | 25 import com.android.mms.model.AudioModel; 26 import com.android.mms.model.ImageModel; 27 import com.android.mms.model.RegionModel; 28 import com.android.mms.model.SlideModel; 29 import com.android.mms.model.SlideshowModel; 30 import com.android.mms.model.TextModel; 31 import com.android.mms.model.VideoModel; 46 public SlideshowEditor(Context context, SlideshowModel model) { in SlideshowEditor() argument 48 mModel = model; in SlideshowEditor() 51 public void setSlideshow(SlideshowModel model) { in setSlideshow() argument [all …]
|
D | MmsThumbnailPresenter.java | 23 import com.android.mms.model.AudioModel; 24 import com.android.mms.model.ImageModel; 25 import com.android.mms.model.Model; 26 import com.android.mms.model.SlideModel; 27 import com.android.mms.model.SlideshowModel; 28 import com.android.mms.model.VideoModel; 38 public MmsThumbnailPresenter(Context context, ViewInterface view, Model model) { in MmsThumbnailPresenter() argument 39 super(context, view, model); in MmsThumbnailPresenter() 102 public void onModelChanged(Model model, boolean dataChanged) { in onModelChanged() argument
|
D | SlideshowActivity.java | 53 import com.android.mms.model.LayoutModel; 54 import com.android.mms.model.RegionModel; 55 import com.android.mms.model.SlideshowModel; 56 import com.android.mms.model.SmilHelper; 166 final SlideshowModel model; in onCreate() local 169 model = SlideshowModel.createFromMessageUri(this, msg); in onCreate() 170 mSlideCount = model.size(); in onCreate() 178 PresenterFactory.getPresenter("SlideshowPresenter", this, mSlideView, model); in onCreate() 198 mSmilDoc = SmilHelper.getDocument(model); in onCreate() 204 LayoutModel layout = model.getLayout(); in onCreate()
|
D | Presenter.java | 22 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/Contacts/src/com/android/contacts/quickcontact/ |
D | InvisibleContactUtil.java | 8 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 …]
|
D | DataAction.java | 37 import com.android.contacts.common.model.account.AccountType.EditType; 38 import com.android.contacts.common.model.dataitem.DataItem; 39 import com.android.contacts.common.model.dataitem.DataKind; 40 import com.android.contacts.common.model.dataitem.EmailDataItem; 41 import com.android.contacts.common.model.dataitem.ImDataItem; 42 import com.android.contacts.common.model.dataitem.PhoneDataItem; 43 import com.android.contacts.common.model.dataitem.SipAddressDataItem; 44 import com.android.contacts.common.model.dataitem.StructuredPostalDataItem; 45 import com.android.contacts.common.model.dataitem.WebsiteDataItem;
|
D | QuickContactActivity.java | 105 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | SpacingAndPunctuations.java | 73 public SpacingAndPunctuations(final SpacingAndPunctuations model, in SpacingAndPunctuations() argument 75 mSortedSymbolsPrecededBySpace = model.mSortedSymbolsPrecededBySpace; in SpacingAndPunctuations() 76 mSortedSymbolsFollowedBySpace = model.mSortedSymbolsFollowedBySpace; in SpacingAndPunctuations() 77 mSortedSymbolsClusteringTogether = model.mSortedSymbolsClusteringTogether; in SpacingAndPunctuations() 78 mSortedWordConnectors = model.mSortedWordConnectors; in SpacingAndPunctuations() 80 mSuggestPuncList = model.mSuggestPuncList; in SpacingAndPunctuations() 81 mSentenceSeparator = model.mSentenceSeparator; in SpacingAndPunctuations() 82 mSentenceSeparatorAndSpace = model.mSentenceSeparatorAndSpace; in SpacingAndPunctuations() 83 mCurrentLanguageHasSpaces = model.mCurrentLanguageHasSpaces; in SpacingAndPunctuations() 84 mUsesAmericanTypography = model.mUsesAmericanTypography; in SpacingAndPunctuations() [all …]
|
/packages/apps/Calendar/tests/src/com/android/calendar/event/ |
D | EditEventHelperTest.java | 1536 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/ |
D | DeleteEventHelper.java | 257 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/activities/ |
D | AttachPhotoActivity.java | 39 import com.android.contacts.common.model.Contact; 40 import com.android.contacts.common.model.ContactLoader; 41 import com.android.contacts.common.model.RawContactDelta; 42 import com.android.contacts.common.model.RawContactDeltaList; 43 import com.android.contacts.common.model.RawContactModifier; 45 import com.android.contacts.common.model.account.AccountType; 46 import com.android.contacts.common.model.ValuesDelta;
|
D | ConfirmAddDetailActivity.java | 67 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/ |
D | AccountTypeManager.java | 17 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.dataitem.DataKind;
|
D | RawContactModifier.java | 17 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/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
D | MockAccountTypeManager.java | 18 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/ |
D | PhotoSelectionHandler.java | 39 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/editor/ |
D | BaseRawContactEditorView.java | 31 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;
|
D | RawContactReadOnlyEditorView.java | 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.account.AccountWithDataSet; 47 import com.android.contacts.common.model.dataitem.DataKind;
|
D | StructuredNameEditorView.java | 28 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;
|
D | RawContactEditorView.java | 43 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/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
D | ContactFragment.java | 21 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;
|