Searched refs:firstButton (Results 1 – 4 of 4) sorted by relevance
154 final Button firstButton = (Button) mListView.getSelectedView(); in testGoInAndOutOfListWithItemsFocusable() local156 assertTrue(firstButton.isFocused()); in testGoInAndOutOfListWithItemsFocusable()157 assertEquals(firstButtonLabel, firstButton.getText()); in testGoInAndOutOfListWithItemsFocusable()163 assertTrue(firstButton.isFocused()); in testGoInAndOutOfListWithItemsFocusable()169 assertTrue(firstButton.isFocused()); in testGoInAndOutOfListWithItemsFocusable()
111 final View firstButton = getChildAt(firstVisible); in onMeasure() local112 final LayoutParams firstParams = (LayoutParams) firstButton.getLayoutParams(); in onMeasure()113 minHeight += getPaddingTop() + firstButton.getMeasuredHeight() in onMeasure()
119 final View firstButton = getChildAt(firstVisible); in onMeasure() local120 final LayoutParams firstParams = (LayoutParams) firstButton.getLayoutParams(); in onMeasure()121 minHeight += getPaddingTop() + firstButton.getMeasuredHeight() in onMeasure()
1091 View firstButton = adapter.getButton(0, 0); in testKeyboardNavigation() local1092 firstButton.requestFocus(); in testKeyboardNavigation()1093 assertTrue(firstButton.isFocused()); in testKeyboardNavigation()1097 onView(is(firstButton)).perform(pressKey(KeyEvent.KEYCODE_DPAD_RIGHT)); in testKeyboardNavigation()