Home
last modified time | relevance | path

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

/cts/tests/app/app/src/android/app/stubs/
DExpandableListTestActivity.java105 final ExpandableListView currentView = getExpandableListView(); in testView() local
107 if (!currentView.expandGroup(i)) in testView()
109 if (!currentView.collapseGroup(i)) in testView()
116 setContentView(currentView); in testView()
/cts/tests/tests/widget/src/android/widget/cts/
DTabHost_TabSpecTest.java167 TextView currentView = (TextView) mTabHost.getCurrentView(); in testSetContent1() local
169 currentView.getText().toString()); in testSetContent1()
189 TextView currentView = (TextView) mTabHost.getCurrentView(); in testSetContent2() local
190 assertEquals("tab spec 2", currentView.getText().toString()); in testSetContent2()
DTimePickerTest.java847 final View currentView = forwardViews.get(i); in verifyTimePickerKeyboardTraversal() local
854 mActivityRule.runOnUiThread(currentView::requestFocus); in verifyTimePickerKeyboardTraversal()
866 assertTrue("View='" + currentView + "'" + " with index " + i + " is not enabled" in verifyTimePickerKeyboardTraversal()
867 + afterKeyCodeFormattedString + " for" + summary, currentView.isEnabled()); in verifyTimePickerKeyboardTraversal()
868 assertTrue("View='" + currentView + "'" + " with index " + i + " is not focused" in verifyTimePickerKeyboardTraversal()
869 + afterKeyCodeFormattedString + " for" + summary, currentView.isFocused()); in verifyTimePickerKeyboardTraversal()
873 sendKeyDownUp(currentView, goForwardKeyCode); in verifyTimePickerKeyboardTraversal()
875 mCtsKeyEventUtil.sendKeyWhileHoldingModifier(mInstrumentation, currentView, in verifyTimePickerKeyboardTraversal()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/qstiles/
DInteractiveVerifierActivity.java409 View currentView = mCurrentTest.view; in setPassFailButtonsEnabledState() local
410 currentView.requireViewById(R.id.tiles_action_pass).setEnabled(enabled); in setPassFailButtonsEnabledState()
411 currentView.requireViewById(R.id.tiles_action_fail).setEnabled(enabled); in setPassFailButtonsEnabledState()
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DCollectionAppWidgetTest.java365 ViewGroup currentView = (ViewGroup) mStackView.getCurrentView(); in verifyItemCheckedChangeIntents() local
367 findFirstMatchingView(currentView, v -> v instanceof CompoundButton); in verifyItemCheckedChangeIntents()