Home
last modified time | relevance | path

Searched refs:select (Results 1 – 25 of 114) sorted by relevance

12345

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DProfileTabsControllerTest.java49 mSelectionMgr.select("foo"); in testClearSelection_enable()
56 mSelectionMgr.select("foo"); in testDeselectAll_enable()
57 mSelectionMgr.select("bar"); in testDeselectAll_enable()
65 mSelectionMgr.select("foo"); in testSelection_disable()
71 mSelectionMgr.select("foo"); in testMultipleSelection_disable()
72 mSelectionMgr.select("bar"); in testMultipleSelection_disable()
73 mSelectionMgr.select("apple"); in testMultipleSelection_disable()
79 mSelectionMgr.select("foo"); in testDeselectSome_Disable()
80 mSelectionMgr.select("bar"); in testDeselectSome_Disable()
DSharedInputHandlerTest.java87 mSelectionMgr.select("1"); in testBackButton_CancelsSearch()
111 mSelectionMgr.select("1"); in testBackButton_ClearsSelection()
146 mSelectionMgr.select("1"); in testEscButton_CancelsSearch()
169 mSelectionMgr.select("1"); in testEscButton_ClearsSelection()
/packages/modules/NeuralNetworks/common/cpu_operations/
DGenerateProposals.cpp312 std::function<const float*(uint32_t)> getRoiBase, uint32_t* select, in hardNmsSingleClass() argument
314 uint32_t *selectStart = select, *selectEnd = select + selectLength, numDetections = 0; in hardNmsSingleClass()
343 std::vector<uint32_t>* select) { in hardNmsMultiClass() argument
346 uint32_t size = select->size(); in hardNmsMultiClass()
351 select->push_back(index); in hardNmsMultiClass()
354 uint32_t* selectStart = select->data() + size; in hardNmsMultiClass()
355 uint32_t selectLength = select->size() - size; in hardNmsMultiClass()
358 select->resize(selectEnd - select->data()); in hardNmsMultiClass()
362 std::sort(select->begin(), select->end(), in hardNmsMultiClass()
366 if (maxNumDetections < 0 || select->size() <= static_cast<size_t>(maxNumDetections)) { in hardNmsMultiClass()
[all …]
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/picker/quickaffordance/domain/interactor/
DKeyguardQuickAffordancePickerInteractorTest.kt84 fun select() = in select() method
88 underTest.select( in select()
102 underTest.select( in select()
122 underTest.select( in unselectAll()
126 underTest.select( in unselectAll()
130 underTest.select( in unselectAll()
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/domain/
DFlagUtils.kt31 fun Modifier.applySelectable(isSelected: Boolean, select:() ->Unit): Modifier { in applySelectable()
39 return this.semantics{}.clickable{select()} in applySelectable()
41 return this.clickable{select()} in applySelectable()
/packages/modules/Bluetooth/system/rust/src/utils/
Dtask.rs12 select,
22 select! { in block_on_locally()
51 select! { in try_await()
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/details/items/
DItemViewComposerImpl.kt31 viewModel: SelectableType, resultHandler: ResultHandler, select: () -> Unit in ItemView()
37 DEFAULT_ICON -> ColoredIconWithDescription(viewModel) { select() } in ItemView()
38 ILLUSTRATION -> DrawableWithDescription(viewModel) { select() } in ItemView()
DDrawableWithDescription.kt27 viewModel: ResourceViewModel, select: () -> Unit in DrawableWithDescription()
33 .applySelectable(viewModel.isSelected, select)) in DrawableWithDescription()
DColoredIconWithDescription.kt29 viewModel: ResourceViewModel, select: () -> Unit in ColoredIconWithDescription()
35 .applySelectable(viewModel.isSelected, select)) in ColoredIconWithDescription()
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/picker/color/domain/interactor/
DColorPickerInteractorTest.kt65 fun select() = runTest { in <lambda>() method
71 wallpaperColorOptionModelBefore?.let { underTest.select(colorOptionModel = it) } in <lambda>()
78 presetColorOptionModelBefore?.let { underTest.select(colorOptionModel = it) } in <lambda>()
92 wallpaperColorOptionModel1?.let { underTest.select(it) } in <lambda>()
DColorPickerSnapshotRestorerTest.kt74 colorOptionToSelect?.let { repository.select(it) } in <lambda>()
90 colorOptionToSelect?.let { repository.select(it) } in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/color/domain/interactor/
DColorPickerInteractor.kt47 suspend fun select(colorOptionModel: ColorOptionModel) { in select() method in com.android.customization.picker.color.domain.interactor.ColorPickerInteractor
53 repository.select(colorOptionModel) in select()
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/details/items/media/
DMediaIcon.kt30 fun MediaIcon(model: ResourceViewModel, select: () -> Unit) { in MediaIcon()
34 modifier = GetCircleModifier().clickable { select() }) in MediaIcon()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DMenuManager.java135 protected void updateSelect(MenuItem select, SelectionDetails selectionDetails) {
136 Menus.setEnabledAndVisible(select, (mState.action == ACTION_GET_CONTENT
139 select.setTitle(R.string.menu_select);
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DHeaderTextSelector.java48 mSelector.select((Spannable) value, 0, getLengthOfFilename(value)); in onCreateActionMode()
87 void select(Spannable text, int start, int stop); in select() method
/packages/modules/Bluetooth/floss/pandora/floss/
Dcmd_utils.py21 import select
79 for r in select.select(rlist, [], [])[0]:
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeVisEffectsCustomPreferenceController.java82 protected void select() { in select() method in ZenModeVisEffectsCustomPreferenceController
88 select(); in launchCustomSettings()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DOverviewActions.java73 UiObject2 select = mLauncher.waitForObjectInContainer(mOverviewActions, in clickSelect() local
75 mLauncher.clickLauncherObject(select); in clickSelect()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DKitchenSink2Activity.java526 String select = extras.getString("select", ""); in onNewIntent() local
527 Log.d(TAG, "Trying to launch entry: " + select); in onNewIntent()
528 int fragmentItemIndex = getOriginalIndexFromTitle(select, 0, false); in onNewIntent()
549 String select = args[1]; in dump() local
551 .filter(me -> select.equals( in dump()
558 writer.printf("No entry called '%s'\n", select); in dump()
DKitchenSinkActivity.java413 String select = extras.getString("select"); in onNewIntent() local
414 if (select != null) { in onNewIntent()
415 Log.d(TAG, "Trying to launch entry '" + select + "'"); in onNewIntent()
416 mMenuEntries.stream().filter(me -> select.equals(me.getText())) in onNewIntent()
580 String select = args[1]; in dump() local
582 .filter(me -> select.equals(me.getText())).findAny(); in dump()
588 writer.printf("No entry called '%s'\n", select); in dump()
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/
Dtime.rs73 tokio::select! { in alarm_cancel_after_expired()
93 tokio::select! { in alarm_clear_ready_after_expired()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDocsSelectionHelper.java99 public boolean select(String modelId) { in select() method in DocsSelectionHelper
100 return mDelegate.select(modelId); in select()
/packages/modules/Bluetooth/system/gd/rust/common/src/
Dtime.rs131 tokio::select! { in alarm_cancel_after_expired()
152 tokio::select! { in alarm_clear_ready_after_expired()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DSectionedAlbumDataAdapter.java57 void selectAll(boolean select) { in selectAll() argument
59 mAlbumData.selectAll(select); in selectAll()
/packages/modules/DnsResolver/doh/
Dboot_time.rs33 use tokio::select;
160 select! { in timeout()

12345