Home
last modified time | relevance | path

Searched refs:bind (Results 1 – 25 of 267) sorted by relevance

1234567891011

/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationViewAdapter.java199 ((CarNotificationHeaderViewHolder) holder).bind(hasNotifications()); in onBindViewHolder()
202 ((CarNotificationFooterViewHolder) holder).bind(hasNotifications()); in onBindViewHolder()
206 .bind(notificationGroup, this, /* isExpanded= */ true); in onBindViewHolder()
210 .bind(notificationGroup, this, /* isExpanded= */ false); in onBindViewHolder()
213 ((GroupSummaryNotificationViewHolder) holder).bind(notificationGroup); in onBindViewHolder()
218 .bind(notification, /* isInGroup= */ false, /* isHeadsUp= */ false); in onBindViewHolder()
224 .bind(notification, /* isInGroup= */ false, /* isHeadsUp= */ false); in onBindViewHolder()
235 .bind(notification, /* isInGroup= */ false, /* isHeadsUp= */ false); in onBindViewHolder()
247 .bind(notification, /* isInGroup= */ true, /* isHeadsUp= */ false); in onBindViewHolder()
254 .bind(notification, /* isInGroup= */ false, false); in onBindViewHolder()
[all …]
DCarHeadsUpNotificationManager.java319 currentNotification.getViewHolder().bind(statusBarNotification, in showHeadsUp()
334 currentNotification.getViewHolder().bind(statusBarNotification, in showHeadsUp()
349 currentNotification.getViewHolder().bind(statusBarNotification, in showHeadsUp()
366 currentNotification.getViewHolder().bind(statusBarNotification, /* isInGroup= */ in showHeadsUp()
383 currentNotification.getViewHolder().bind(statusBarNotification, in showHeadsUp()
403 currentNotification.getViewHolder().bind(statusBarNotification, /* isInGroup= */ in showHeadsUp()
419 currentNotification.getViewHolder().bind(statusBarNotification, in showHeadsUp()
435 currentNotification.getViewHolder().bind(statusBarNotification, in showHeadsUp()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/contact/
DContactListViewHolderTest.java85 mContactListViewHolder.bind(mMockContact, false, ""); in testDisplayName()
96 mContactListViewHolder.bind(mMockContact, false, ""); in testLabel_withOnlyOneNumber_showLabel()
106 mContactListViewHolder.bind(mMockContact, false, ""); in testLabel_withOneNumberAndNumberHasNullLabel_showTypeLabel()
120 mContactListViewHolder.bind(mMockContact, false, ""); in testLabel_withOneNumberAndGetNullLabel_showEmptyString()
133 mContactListViewHolder.bind(mMockContact, false, ""); in testLabel_withMultipleNumbersAndNoPrimaryNumber_showMultipleLabel()
148 mContactListViewHolder.bind(mMockContact, false, ""); in testLabel_withMultipleNumbersAndHasPrimaryNumber_showPrimaryNumberLabel()
163 mContactListViewHolder.bind(mMockContact, false, ""); in testLabel_HasPrimaryNumberAndPrimaryNumberHasNullLabel_showPrimaryNumberLabel()
182 mContactListViewHolder.bind(mMockContact, false, ""); in testLabel_HasPrimaryNumberButGetNullLabel_showMultipleLabel()
194 mContactListViewHolder.bind(mMockContact, false, ""); in testClickCallActionButton_ContactHasOneNumber_placeCall()
215 mContactListViewHolder.bind(mMockContact, false, ""); in testClickCallActionButton_HasMultipleNumbersAndNoPrimaryNumber_showAlertDialog()
[all …]
/packages/services/Car/service/src/com/android/car/pm/
DVendorServiceInfo.java72 private VendorServiceInfo(ComponentName componentName, @Bind int bind, @UserScope int userScope, in VendorServiceInfo() argument
77 mBind = bind; in VendorServiceInfo()
124 int bind = START; in parse() local
140 bind = BIND; in parse()
142 bind = START; in parse()
144 bind = START_FOREGROUND; in parse()
175 return new VendorServiceInfo(cn, bind, userScope, trigger); in parse()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/data/
DConversationMessageDataTest.java39 data.bind(testCursor); in testBindFirstMessage()
53 data.bind(testCursor); in testBindTwice()
64 data.bind(testCursor); in testBindTwice()
80 data.bind(testCursor); in testMessageClustering()
85 data.bind(testCursor); in testMessageClustering()
90 data.bind(testCursor); in testMessageClustering()
95 data.bind(testCursor); in testMessageClustering()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
DBindingTest.java48 binding.bind(data); in testBindingUpdatesDataAndBindee()
60 binding.bind(yours); in testRebindingFails()
65 binding.bind(data); in testRebindingFails()
77 binding.bind(data); in testUnbindingClearsDataAndBindee()
94 binding.bind(yours); in testUnbindingAndRebinding()
102 binding.bind(data); in testUnbindingAndRebinding()
113 binding.bind(data); in testBindingReference()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DNavigationNotificationViewHolder.java50 public void bind(StatusBarNotification statusBarNotification, boolean isInGroup, in bind() method in NavigationNotificationViewHolder
52 super.bind(statusBarNotification, isInGroup, isHeadsUp); in bind()
54 mHeaderView.bind(statusBarNotification, isInGroup); in bind()
55 mActionsView.bind(mClickHandlerFactory, statusBarNotification); in bind()
67 mBodyView.bind(title, text, icon); in bindBody()
DCallNotificationViewHolder.java50 public void bind(StatusBarNotification statusBarNotification, boolean isInGroup, in bind() method in CallNotificationViewHolder
52 super.bind(statusBarNotification, isInGroup, isHeadsUp); in bind()
54 mHeaderView.bind(statusBarNotification, isInGroup); in bind()
55 mActionsView.bind(mClickHandlerFactory, statusBarNotification); in bind()
67 mBodyView.bind(title, text, icon); in bindBody()
DInboxNotificationViewHolder.java50 public void bind(StatusBarNotification statusBarNotification, boolean isInGroup, in bind() method in InboxNotificationViewHolder
52 super.bind(statusBarNotification, isInGroup, isHeadsUp); in bind()
54 mHeaderView.bind(statusBarNotification, isInGroup); in bind()
55 mActionsView.bind(mClickHandlerFactory, statusBarNotification); in bind()
67 mBodyView.bind(title, text, icon); in bindBody()
DBasicNotificationViewHolder.java50 public void bind(StatusBarNotification statusBarNotification, boolean isInGroup, in bind() method in BasicNotificationViewHolder
52 super.bind(statusBarNotification, isInGroup, isHeadsUp); in bind()
54 mHeaderView.bind(statusBarNotification, isInGroup); in bind()
55 mActionsView.bind(mClickHandlerFactory, statusBarNotification); in bind()
67 mBodyView.bind(title, text, icon); in bindBody()
DMessageNotificationViewHolder.java82 public void bind(StatusBarNotification statusBarNotification, boolean isInGroup, in bind() method in MessageNotificationViewHolder
84 super.bind(statusBarNotification, isInGroup, isHeadsUp); in bind()
86 mHeaderView.bind(statusBarNotification, isInGroup); in bind()
87 mActionsView.bind(mClickHandlerFactory, statusBarNotification); in bind()
96 super.bind(statusBarNotification, isInGroup, isHeadsUp); in bindRestricted()
98 mHeaderView.bind(statusBarNotification, isInGroup); in bindRestricted()
99 mActionsView.bind(mClickHandlerFactory, statusBarNotification); in bindRestricted()
DEmergencyNotificationViewHolder.java62 public void bind(StatusBarNotification statusBarNotification, boolean isInGroup, in bind() method in EmergencyNotificationViewHolder
64 super.bind(statusBarNotification, isInGroup, isHeadsUp); in bind()
69 mHeaderView.bind(statusBarNotification, isInGroup); in bind()
70 mActionsView.bind(mClickHandlerFactory, statusBarNotification); in bind()
76 mBodyView.bind(title, text, icon); in bind()
DProgressNotificationViewHolder.java60 public void bind(StatusBarNotification statusBarNotification, boolean isInGroup, in bind() method in ProgressNotificationViewHolder
62 super.bind(statusBarNotification, isInGroup, isHeadsUp); in bind()
64 mHeaderView.bind(statusBarNotification, isInGroup); in bind()
65 mActionsView.bind(mClickHandlerFactory, statusBarNotification); in bind()
78 mBodyView.bind(title, text, icon); in bindBody()
/packages/apps/Nfc/tests/src/com/android/nfc/snep/
DSnepBasicTests.java39 MockLlcpSocket.bind(clientSocket, serverSocket); in testGetSmallNdef()
70 MockLlcpSocket.bind(clientSocket, serverSocket); in testGetLargeNdef()
101 MockLlcpSocket.bind(clientSocket, serverSocket); in testGetExcessiveNdef()
132 MockLlcpSocket.bind(clientSocket, serverSocket); in testPutSmallNdef()
163 MockLlcpSocket.bind(clientSocket, serverSocket); in testPutLargeNdef()
194 MockLlcpSocket.bind(clientSocket, serverSocket); in testUnsupportedVersion()
228 MockLlcpSocket.bind(clientSocket, serverSocket); in testDifferentMinorVersion()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
DGalleryGridItemViewTest.java81 view.bind(cursor, mockHost); in testBind()
94 view.bind(cursor, mockHost); in testBindMultiSelectUnSelected()
107 view.bind(cursor, mockHost); in testBindMultiSelectSelected()
119 view.bind(cursor, mockHost); in testClick()
132 view.bind(cursor, mockHost); in testBindTwice()
136 view.bind(cursor, mockHost); in testBindTwice()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryAddonsAdapter.java130 ((TransparentDividerDocumentHolder) holder).bind(mEnv.getDisplayState());
133 ((HeaderMessageDocumentHolder) holder).bind(mHeaderMessage);
136 ((InflateMessageDocumentHolder) holder).bind(mInflateMessage);
148 ((TransparentDividerDocumentHolder) holder).bind(mEnv.getDisplayState());
151 ((HeaderMessageDocumentHolder) holder).bind(mHeaderMessage);
154 ((InflateMessageDocumentHolder) holder).bind(mInflateMessage);
DTransparentDividerDocumentHolder.java42 public void bind(State state) { in bind() method in TransparentDividerDocumentHolder
44 bind(null, null); in bind()
48 public void bind(Cursor cursor, String modelId) { in bind() method in TransparentDividerDocumentHolder
DInflateMessageDocumentHolder.java43 public void bind(Message message) { in bind() method in InflateMessageDocumentHolder
45 bind(null, null); in bind()
49 public void bind(Cursor cursor, String modelId) { in bind() method in InflateMessageDocumentHolder
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
Dtrie_map_test.cpp97 auto keyRandomNumberGenerator = std::bind(keyDistribution, std::mt19937()); in TEST()
101 auto valueRandomNumberGenerator = std::bind(valueDistribution, std::mt19937()); in TEST()
128 auto keyRandomNumberGenerator = std::bind(distribution, std::mt19937()); in TEST()
129 auto randomNumberGeneratorForKeySelection = std::bind(distribution, std::mt19937()); in TEST()
133 auto valueRandomNumberGenerator = std::bind(valueDistribution, std::mt19937()); in TEST()
233 auto keyRandomNumberGenerator = std::bind(keyDistribution, std::mt19937()); in TEST()
237 auto valueRandomNumberGenerator = std::bind(valueDistribution, std::mt19937()); in TEST()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/
DContactListItemViewTest.java82 view.bind(cursor, mockHost, false, null); in testBindFirstLevel()
93 view.bind(cursor, mockHost, false, null); in testBindSecondLevel()
104 view.bind(cursor, mockHost, false, null); in testClickAddedContact()
114 view.bind(cursor, mockHost, false, null); in testBindTwice()
117 view.bind(cursor, mockHost, false, null); in testBindTwice()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversationlist/
DConversationListItemViewTest.java137 view.bind(mCursor, mockHost); in testBindUnread()
147 view.bind(mCursor, mockHost); in testBindRead()
155 view.bind(mCursor, mockHost); in testClickLaunchesConversation()
165 view.bind(mCursor, mockHost); in testBindTwice()
168 view.bind(mCursor, mockHost); in testBindTwice()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DShareIntentAdapter.java58 holder.bind(cursor); in bindViewHolder()
123 public void bind(Cursor cursor) { in bind() method in ShareIntentAdapter.ShareIntentViewHolder
124 mData.bind(cursor); in bind()
125 ((PersonItemView) itemView).bind(mItemData); in bind()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
DConversationMessageViewTest.java75 view.bind(cursor); in testBind()
85 view.bind(cursor); in testBindTwice()
88 view.bind(cursor); in testBindTwice()
100 view.bind(cursor); in testBindLast()
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
DPartnerBookmarksProvider.java300 insertHelper.bind(idColumn, bookmarkId); in addDefaultBookmarks()
301 insertHelper.bind(titleColumn, bookmarkTitle); in addDefaultBookmarks()
302 insertHelper.bind(urlColumn, bookmarkUrl); in addDefaultBookmarks()
303 insertHelper.bind(typeColumn, in addDefaultBookmarks()
305 insertHelper.bind(parentColumn, parentId); in addDefaultBookmarks()
307 insertHelper.bind(faviconColumn, favicon); in addDefaultBookmarks()
310 insertHelper.bind(touchiconColumn, touchicon); in addDefaultBookmarks()
/packages/apps/Messaging/src/com/android/messaging/datamodel/binding/
DDetachableBinding.java35 public void bind(T data) { in bind() method in DetachableBinding
36 super.bind(data); in bind()
52 bind(mDetachedData); in reAttachIfPossible()

1234567891011