Searched refs:selection (Results 1 - 25 of 197) sorted by relevance

12345678

/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
H A Dpackage-info.java19 * support for item selection. The library provides support for both touch
20 * and mouse driven selection. Developers retain control over the visual representation,
21 * and the policies controlling selection behavior (like which items are eligible
22 * for selection, and how many items can be selected.)
25 * Want to add selection support to your RecyclerView? Here's how you do it:
28 * <b>Determine which selection key type to use, then build your KeyProvider</b>
37 * {@link androidx.recyclerview.selection.SelectionTracker.Builder SelectionTracker.Builder}
38 * for more detailed advice on which key type to use for your selection keys.
41 * <b>Implement {@link androidx.recyclerview.selection.ItemDetailsLookup ItemDetailsLookup}
45 * This class provides the selection librar
[all...]
H A DShared.java17 package androidx.recyclerview.selection;
H A DOnContextClickListener.java17 package androidx.recyclerview.selection;
H A DOnDragInitiatedListener.java17 package androidx.recyclerview.selection;
19 import static androidx.recyclerview.selection.ItemDetailsLookup.ItemDetails;
58 * {@link SelectionTracker#copySelection(MutableSelection)}. If there is no selection
H A DOnItemActivatedListener.java17 package androidx.recyclerview.selection;
22 import androidx.recyclerview.selection.ItemDetailsLookup.ItemDetails;
33 * Called when an item is "activated". An item is activated, for example, when no selection
H A DStorageStrategy.java17 package androidx.recyclerview.selection;
38 * {@link androidx.recyclerview.selection.SelectionTracker.Builder SelectionTracker.Builder}
39 * for more detailed advice on which key type to use for your selection keys.
51 static final String SELECTION_ENTRIES = "androidx.recyclerview.selection.entries";
54 static final String SELECTION_KEY_TYPE = "androidx.recyclerview.selection.type";
79 * @param selection The selection to asBundle.
82 public abstract @NonNull Bundle asBundle(@NonNull Selection<K> selection); argument
129 Selection<String> selection = new Selection<>();
130 selection
135 asBundle(@onNull Selection<String> selection) argument
175 asBundle(@onNull Selection<Long> selection) argument
218 asBundle(@onNull Selection<K> selection) argument
[all...]
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/testing/
H A DTestAutoScroller.java17 package androidx.recyclerview.selection.testing;
21 import androidx.recyclerview.selection.AutoScroller;
H A DTestBandPredicate.java17 package androidx.recyclerview.selection.testing;
21 import androidx.recyclerview.selection.BandPredicate;
H A DTestOnContextClickListener.java17 package androidx.recyclerview.selection.testing;
23 import androidx.recyclerview.selection.OnContextClickListener;
H A DSelectionTrackers.java17 package androidx.recyclerview.selection.testing;
19 import androidx.recyclerview.selection.DefaultSelectionTracker;
20 import androidx.recyclerview.selection.EventBridge;
21 import androidx.recyclerview.selection.ItemKeyProvider;
22 import androidx.recyclerview.selection.SelectionPredicates;
23 import androidx.recyclerview.selection.SelectionTracker;
24 import androidx.recyclerview.selection.StorageStrategy;
H A DTestOnItemActivatedListener.java17 package androidx.recyclerview.selection.testing;
23 import androidx.recyclerview.selection.ItemDetailsLookup.ItemDetails;
24 import androidx.recyclerview.selection.OnItemActivatedListener;
H A DTestHolder.java17 package androidx.recyclerview.selection.testing;
H A DTestRunnable.java17 package androidx.recyclerview.selection.testing;
H A DTestItemDetailsLookup.java17 package androidx.recyclerview.selection.testing;
21 import androidx.recyclerview.selection.ItemDetailsLookup;
H A DTestSelectionPredicate.java17 package androidx.recyclerview.selection.testing;
19 import androidx.recyclerview.selection.SelectionTracker.SelectionPredicate;
H A DSelectionProbe.java17 package androidx.recyclerview.selection.testing;
23 import androidx.recyclerview.selection.DefaultSelectionTracker;
24 import androidx.recyclerview.selection.Selection;
25 import androidx.recyclerview.selection.SelectionTracker;
67 Selection<String> selection = mMgr.getSelection();
68 assertEquals(selection.toString(), expected, selection.size());
90 assertTrue(sid + " is not in selection " + sel, sel.contains(sid));
100 assertFalse(sid + " is in selection " + sel, sel.contains(sid));
/frameworks/base/core/java/android/service/textclassifier/
H A DITextSelectionCallback.aidl26 void onSuccess(in TextSelection selection);
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/
H A DMouseInputHandler_RangeTest.java17 package androidx.recyclerview.selection;
19 import static androidx.recyclerview.selection.testing.TestEvents.Mouse.CLICK;
20 import static androidx.recyclerview.selection.testing.TestEvents.Mouse.SECONDARY_CLICK;
21 import static androidx.recyclerview.selection.testing.TestEvents.Mouse.SHIFT_CLICK;
26 import androidx.recyclerview.selection.testing.SelectionProbe;
27 import androidx.recyclerview.selection.testing.SelectionTrackers;
28 import androidx.recyclerview.selection.testing.TestAdapter;
29 import androidx.recyclerview.selection.testing.TestData;
30 import androidx.recyclerview.selection.testing.TestFocusDelegate;
31 import androidx.recyclerview.selection
[all...]
H A DTouchInputHandlerTest.java17 package androidx.recyclerview.selection;
19 import static androidx.recyclerview.selection.testing.TestEvents.Touch.TAP;
27 import androidx.recyclerview.selection.ItemDetailsLookup.ItemDetails;
28 import androidx.recyclerview.selection.testing.SelectionProbe;
29 import androidx.recyclerview.selection.testing.SelectionTrackers;
30 import androidx.recyclerview.selection.testing.TestAdapter;
31 import androidx.recyclerview.selection.testing.TestData;
32 import androidx.recyclerview.selection.testing.TestFocusDelegate;
33 import androidx.recyclerview.selection.testing.TestItemDetailsLookup;
34 import androidx.recyclerview.selection
[all...]
/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/
H A DDisabledProvider.java34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
47 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
H A DEnabledProvider.java34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
47 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/core/tests/coretests/apks/install_complete_package_info/src/com/android/frameworks/coretests/
H A DTestProvider.java33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
49 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
H A DTestReceiver.java33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
49 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/core/tests/coretests/apks/install_multi_package/src/com/android/frameworks/coretests/
H A DFirstChildTestProvider.java33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
49 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
H A DFirstChildTestReceiver.java33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
49 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument

Completed in 426 milliseconds

12345678