Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/widget/
DSimpleCursorAdapterTest.java199 int[] viewIds = ca.getTo(); in testChangeNullToMapped() local
200 assertEquals(2, viewIds.length); in testChangeNullToMapped()
201 assertEquals(com.android.internal.R.id.text1, viewIds[0]); in testChangeNullToMapped()
202 assertEquals(com.android.internal.R.id.text2, viewIds[1]); in testChangeNullToMapped()
224 int[] viewIds = ca.getTo(); in testChangeMapping() local
225 assertEquals(1, viewIds.length); in testChangeMapping()
226 assertEquals(com.android.internal.R.id.text1, viewIds[0]); in testChangeMapping()
237 viewIds = ca.getTo(); in testChangeMapping()
238 assertEquals(1, viewIds.length); in testChangeMapping()
239 assertEquals(com.android.internal.R.id.text2, viewIds[0]); in testChangeMapping()
/frameworks/base/core/java/android/view/autofill/
DAutofillManager.java374 @NonNull View[] findViewsByAutofillIdTraversal(@NonNull int[] viewIds); in findViewsByAutofillIdTraversal() argument
1456 final int[] viewIds = new int[numIds]; in getViewIds() local
1458 viewIds[i] = autofillIds[i].getViewId(); in getViewIds()
1461 return viewIds; in getViewIds()
1467 final int[] viewIds = new int[numIds]; in getViewIds() local
1469 viewIds[i] = autofillIds.get(i).getViewId(); in getViewIds()
1472 return viewIds; in getViewIds()
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/
DAppWidgetServiceImplTest.java183 private void sendDummyUpdates(int widgetId, int... viewIds) { in sendDummyUpdates() argument
190 for (int viewId : viewIds) { in sendDummyUpdates()
/frameworks/base/core/java/android/app/
DActivity.java7490 @NonNull public View[] findViewsByAutofillIdTraversal(@NonNull int[] viewIds) { in findViewsByAutofillIdTraversal() argument
7491 final View[] views = new View[viewIds.length]; in findViewsByAutofillIdTraversal()
7499 for (int viewNum = 0; viewNum < viewIds.length; viewNum++) { in findViewsByAutofillIdTraversal()
7502 viewIds[viewNum]); in findViewsByAutofillIdTraversal()
7532 @NonNull public boolean[] getViewVisibility(@NonNull int[] viewIds) { in getViewVisibility() argument
7533 final boolean[] isVisible = new boolean[viewIds.length]; in getViewVisibility()
7534 final View views[] = findViewsByAutofillIdTraversal(viewIds); in getViewVisibility()
7536 for (int i = 0; i < viewIds.length; i++) { in getViewVisibility()