/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/ |
H A D | package-info.java | 19 * 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 D | Shared.java | 17 package androidx.recyclerview.selection;
|
H A D | OnContextClickListener.java | 17 package androidx.recyclerview.selection;
|
H A D | OnDragInitiatedListener.java | 17 package androidx.recyclerview.selection; 19 import static androidx.recyclerview.selection.ItemDetailsLookup.ItemDetails; 58 * {@link SelectionTracker#copySelection(MutableSelection)}. If there is no selection
|
H A D | OnItemActivatedListener.java | 17 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 D | StorageStrategy.java | 17 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 D | TestAutoScroller.java | 17 package androidx.recyclerview.selection.testing; 21 import androidx.recyclerview.selection.AutoScroller;
|
H A D | TestBandPredicate.java | 17 package androidx.recyclerview.selection.testing; 21 import androidx.recyclerview.selection.BandPredicate;
|
H A D | TestOnContextClickListener.java | 17 package androidx.recyclerview.selection.testing; 23 import androidx.recyclerview.selection.OnContextClickListener;
|
H A D | SelectionTrackers.java | 17 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 D | TestOnItemActivatedListener.java | 17 package androidx.recyclerview.selection.testing; 23 import androidx.recyclerview.selection.ItemDetailsLookup.ItemDetails; 24 import androidx.recyclerview.selection.OnItemActivatedListener;
|
H A D | TestHolder.java | 17 package androidx.recyclerview.selection.testing;
|
H A D | TestRunnable.java | 17 package androidx.recyclerview.selection.testing;
|
H A D | TestItemDetailsLookup.java | 17 package androidx.recyclerview.selection.testing; 21 import androidx.recyclerview.selection.ItemDetailsLookup;
|
H A D | TestSelectionPredicate.java | 17 package androidx.recyclerview.selection.testing; 19 import androidx.recyclerview.selection.SelectionTracker.SelectionPredicate;
|
H A D | SelectionProbe.java | 17 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 D | ITextSelectionCallback.aidl | 26 void onSuccess(in TextSelection selection);
|
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/ |
H A D | MouseInputHandler_RangeTest.java | 17 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 D | TouchInputHandlerTest.java | 17 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 D | DisabledProvider.java | 34 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 D | EnabledProvider.java | 34 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 D | TestProvider.java | 33 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 D | TestReceiver.java | 33 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 D | FirstChildTestProvider.java | 33 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 D | FirstChildTestReceiver.java | 33 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
|