Home
last modified time | relevance | path

Searched refs:binding (Results 1 – 25 of 49) sorted by relevance

12

/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DBindingTest.java22 import com.android.messaging.datamodel.binding.BindableData;
23 import com.android.messaging.datamodel.binding.Binding;
24 import com.android.messaging.datamodel.binding.BindingBase;
25 import com.android.messaging.datamodel.binding.ImmutableBindingRef;
36 final Binding<TestBindableData> binding = BindingBase.createBinding(this); in testBindingStartsUnbound() local
37 assertNull(binding.getBindingId()); in testBindingStartsUnbound()
46 final Binding<TestBindableData> binding = BindingBase.createBinding(this); in testBindingUpdatesDataAndBindee() local
48 binding.bind(data); in testBindingUpdatesDataAndBindee()
49 assertTrue(binding.isBound()); in testBindingUpdatesDataAndBindee()
50 assertEquals(binding.getData(), data); in testBindingUpdatesDataAndBindee()
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DPeopleAndOptionsData.java31 import com.android.messaging.datamodel.binding.BindableData;
32 import com.android.messaging.datamodel.binding.BindingBase;
152 final BindingBase<PeopleAndOptionsData> binding) { in init() argument
154 args.putString(BINDING_ID, binding.getBindingId()); in init()
172 public void enableConversationNotifications(final BindingBase<PeopleAndOptionsData> binding, in enableConversationNotifications() argument
174 final String bindingId = binding.getBindingId(); in enableConversationNotifications()
181 public void setConversationNotificationSound(final BindingBase<PeopleAndOptionsData> binding, in setConversationNotificationSound() argument
183 final String bindingId = binding.getBindingId(); in setConversationNotificationSound()
191 final BindingBase<PeopleAndOptionsData> binding, final boolean enable) { in enableConversationNotificationVibration() argument
192 final String bindingId = binding.getBindingId(); in enableConversationNotificationVibration()
[all …]
DDraftMessageData.java27 import com.android.messaging.datamodel.binding.BindableData;
28 import com.android.messaging.datamodel.binding.Binding;
29 import com.android.messaging.datamodel.binding.BindingBase;
393 final BindingBase<DraftMessageData> binding) { in addPendingAttachment() argument
395 binding.getBindingId()); in addPendingAttachment()
543 public boolean loadFromStorage(final BindingBase<DraftMessageData> binding, in loadFromStorage() argument
554 if (mMonitor == null && !isDraftCachedCopy && isBound(binding.getBindingId())) { in loadFromStorage()
556 optionalIncomingDraft, binding.getBindingId(), this); in loadFromStorage()
568 public void saveToStorage(final BindingBase<DraftMessageData> binding) { in saveToStorage() argument
569 saveToStorageInternal(binding); in saveToStorage()
[all …]
DConversationData.java44 import com.android.messaging.datamodel.binding.BindableData;
45 import com.android.messaging.datamodel.binding.Binding;
46 import com.android.messaging.datamodel.binding.BindingBase;
530 final BindingBase<ConversationData> binding) { in init() argument
534 args.putString(BINDING_ID, binding.getBindingId()); in init()
593 public void sendMessage(final BindingBase<ConversationData> binding, in sendMessage() argument
596 Assert.isTrue(binding.getData() == this); in sendMessage()
650 public void downloadMessage(final BindingBase<ConversationData> binding, in downloadMessage() argument
652 Assert.isTrue(binding.getData() == this); in downloadMessage()
657 public void resendMessage(final BindingBase<ConversationData> binding, final String messageId) { in resendMessage() argument
[all …]
DLaunchConversationData.java23 import com.android.messaging.datamodel.binding.BindableData;
24 import com.android.messaging.datamodel.binding.BindingBase;
52 public void getOrCreateConversation(final BindingBase<LaunchConversationData> binding, in getOrCreateConversation() argument
54 final String bindingId = binding.getBindingId(); in getOrCreateConversation()
DBlockedParticipantsData.java29 import com.android.messaging.datamodel.binding.BindableData;
30 import com.android.messaging.datamodel.binding.BindingBase;
84 final BindingBase<BlockedParticipantsData> binding) { in init() argument
86 args.putString(BINDING_ID, binding.getBindingId()); in init()
DMediaPickerData.java28 import com.android.messaging.datamodel.binding.BindableData;
29 import com.android.messaging.datamodel.binding.BindingBase;
126 public void startLoader(final int loaderId, final BindingBase<MediaPickerData> binding, in startLoader() argument
131 args.putString(BINDING_ID, binding.getBindingId()); in startLoader()
DContactPickerData.java28 import com.android.messaging.datamodel.binding.BindableData;
29 import com.android.messaging.datamodel.binding.BindingBase;
157 final BindingBase<ContactPickerData> binding) { in init() argument
159 args.putString(BINDING_ID, binding.getBindingId()); in init()
DConversationListData.java31 import com.android.messaging.datamodel.binding.BindableData;
32 import com.android.messaging.datamodel.binding.BindingBase;
169 final BindingBase<ConversationListData> binding) { in init() argument
171 mArgs.putString(BINDING_ID, binding.getBindingId()); in init()
DSettingsData.java30 import com.android.messaging.datamodel.binding.BindableData;
31 import com.android.messaging.datamodel.binding.BindingBase;
176 final BindingBase<SettingsData> binding) { in init() argument
178 args.putString(BINDING_ID, binding.getBindingId()); in init()
DVCardContactItemData.java23 import com.android.messaging.datamodel.binding.Binding;
24 import com.android.messaging.datamodel.binding.BindingBase;
/packages/apps/Messaging/src/com/android/messaging/datamodel/binding/
DImmutableBindingRef.java16 package com.android.messaging.datamodel.binding;
36 ImmutableBindingRef(final BindingBase<T> binding) { in ImmutableBindingRef() argument
37 mBinding = resolveBinding(binding); in ImmutableBindingRef()
75 private BindingBase<T> resolveBinding(final BindingBase<T> binding) { in resolveBinding() argument
76 BindingBase<T> resolvedBinding = binding; in resolveBinding()
/packages/apps/Dialer/java/com/android/dialer/postcall/
DPostCall.java221 ConfigProvider binding = ConfigProviderComponent.get(context).getConfigProvider(); in shouldPromptUserToSendMessage() local
225 && binding.getLong("postcall_last_call_threshold", 30_000) > timeSinceDisconnect in shouldPromptUserToSendMessage()
227 || binding.getLong("postcall_call_duration_threshold", 35_000) > callDurationMillis) in shouldPromptUserToSendMessage()
/packages/apps/Messaging/src/com/android/messaging/ui/
DBlockedParticipantsFragment.java30 import com.android.messaging.datamodel.binding.Binding;
31 import com.android.messaging.datamodel.binding.BindingBase;
DVCardDetailFragment.java37 import com.android.messaging.datamodel.binding.Binding;
38 import com.android.messaging.datamodel.binding.BindingBase;
DPersonItemView.java31 import com.android.messaging.datamodel.binding.BindingBase;
32 import com.android.messaging.datamodel.binding.DetachableBinding;
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DLaunchConversationActivity.java29 import com.android.messaging.datamodel.binding.Binding;
30 import com.android.messaging.datamodel.binding.BindingBase;
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
DMediaPickerTest.java27 import com.android.messaging.datamodel.binding.Binding;
28 import com.android.messaging.datamodel.binding.BindingBase;
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DShareIntentFragment.java34 import com.android.messaging.datamodel.binding.Binding;
35 import com.android.messaging.datamodel.binding.BindingBase;
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DSettingsActivity.java35 import com.android.messaging.datamodel.binding.Binding;
36 import com.android.messaging.datamodel.binding.BindingBase;
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/
DAttachmentChooserFragment.java35 import com.android.messaging.datamodel.binding.Binding;
36 import com.android.messaging.datamodel.binding.BindingBase;
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DMediaPicker.java41 import com.android.messaging.datamodel.binding.Binding;
42 import com.android.messaging.datamodel.binding.BindingBase;
43 import com.android.messaging.datamodel.binding.ImmutableBindingRef;
DGalleryGridView.java31 import com.android.messaging.datamodel.binding.BindingBase;
32 import com.android.messaging.datamodel.binding.ImmutableBindingRef;
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
DConversationInputManagerTest.java27 import com.android.messaging.datamodel.binding.Binding;
28 import com.android.messaging.datamodel.binding.BindingBase;
DComposeMessageViewTest.java31 import com.android.messaging.datamodel.binding.Binding;
32 import com.android.messaging.datamodel.binding.BindingBase;

12