Home
last modified time | relevance | path

Searched refs:isMultiSelectEnabled (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
DGalleryGridItemViewTest.java74 Mockito.when(mockHost.isMultiSelectEnabled()).thenReturn(false); in testBind()
87 Mockito.when(mockHost.isMultiSelectEnabled()).thenReturn(true); in testBindMultiSelectUnSelected()
100 Mockito.when(mockHost.isMultiSelectEnabled()).thenReturn(true); in testBindMultiSelectSelected()
113 Mockito.when(mockHost.isMultiSelectEnabled()).thenReturn(false); in testClick()
125 Mockito.when(mockHost.isMultiSelectEnabled()).thenReturn(true); in testBindTwice()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DGalleryMediaChooser.java107 mMediaPicker.dispatchItemsSelected(item, !mGalleryGridView.isMultiSelectEnabled()); in onItemSelected()
118 Assert.isTrue(mGalleryGridView.isMultiSelectEnabled()); in onConfirmSelection()
179 if (selectionCount > 0 && mGalleryGridView.isMultiSelectEnabled()) { in updateActionBar()
DGalleryGridView.java99 if (isMultiSelectEnabled()) { in onItemClicked()
120 public boolean isMultiSelectEnabled() { in isMultiSelectEnabled() method in GalleryGridView
125 Assert.isTrue(isMultiSelectEnabled()); in toggleItemSelection()
DGalleryGridItemView.java54 boolean isMultiSelectEnabled(); in isMultiSelectEnabled() method
142 if (mHostInterface.isMultiSelectEnabled() && !mData.isDocumentPickerItem()) { in updateViewState()