Home
last modified time | relevance | path

Searched refs:selected (Results 1 – 5 of 5) sorted by relevance

/cts/tests/leanbackjank/app/src/android/leanbackjank/app/presenter/
DCardPresenter.java48 public void setSelected(boolean selected) { in onCreateViewHolder()
49 updateCardBackgroundColor(this, selected); in onCreateViewHolder()
50 super.setSelected(selected); in onCreateViewHolder()
60 private static void updateCardBackgroundColor(ImageCardView view, boolean selected) { in updateCardBackgroundColor() argument
61 int color = selected ? sSelectedBackgroundColor : sDefaultBackgroundColor; in updateCardBackgroundColor()
/cts/tests/app/src/android/app/cts/
DAlertDialog_BuilderCursorTest.java178 final SQLiteCursor selected = (SQLiteCursor) mListView.getSelectedItem(); in testSetCursor() local
179 assertEquals(mCursor.getString(1), selected.getString(1)); in testSetCursor()
199 final SQLiteCursor selected = (SQLiteCursor) mListView.getSelectedItem(); in testSetSingleChoiceItemsWithParamCursor() local
200 assertEquals(mCursor.getString(1), selected.getString(1)); in testSetSingleChoiceItemsWithParamCursor()
224 SQLiteCursor selected = (SQLiteCursor) mListView.getSelectedItem(); in testSetMultiChoiceItemsWithParamCursor() local
225 assertEquals(mCursor.getString(0), selected.getString(0)); in testSetMultiChoiceItemsWithParamCursor()
236 selected = (SQLiteCursor) mListView.getSelectedItem(); in testSetMultiChoiceItemsWithParamCursor()
237 assertEquals(mCursor.getString(1), selected.getString(1)); in testSetMultiChoiceItemsWithParamCursor()
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/
DAssertHelpers.java182 T selected = null; in assertCollectionContainsAnyOf() local
186 selected = check; in assertCollectionContainsAnyOf()
196 return selected; in assertCollectionContainsAnyOf()
/cts/tests/tests/view/src/android/view/cts/
DMockView.java369 protected void dispatchSetSelected(boolean selected) { in dispatchSetSelected() argument
370 super.dispatchSetSelected(selected); in dispatchSetSelected()
DViewTest.java4223 public void dispatchSetSelected(boolean selected) { in dispatchSetSelected() argument
4224 super.dispatchSetSelected(selected); in dispatchSetSelected()