Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListItemISVAndButton.java58 final Button topButton = new Button(context); in createView() local
59 topButton.setLayoutParams( in createView()
61 topButton.setText("button " + position + ")"); in createView()
62 ll.addView(topButton); in createView()
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListItemFocusablesFarApartTest.java85 final Button topButton = (Button) getChildOfItem(0, 0); in testPanWhenNextFocusableTooFarDown() local
94 topButton.isFocused()); in testPanWhenNextFocusableTooFarDown()
99 topButton.isFocused()); in testPanWhenNextFocusableTooFarDown()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListWithFooterViewAndNewLabels.java58 Button topButton = findViewById(R.id.button); in onCreate() local
59 topButton.setText("click to add new item"); in onCreate()
60 topButton.setOnClickListener(new View.OnClickListener() { in onCreate()
/frameworks/base/core/tests/coretests/src/android/util/
DListItemFactory.java56 final Button topButton = new Button(context); in twoButtonsSeparatedByFiller() local
57 topButton.setLayoutParams( in twoButtonsSeparatedByFiller()
59 topButton.setText("top (position " + position + ")"); in twoButtonsSeparatedByFiller()
60 ll.addView(topButton); in twoButtonsSeparatedByFiller()
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DScrollViewButtonsAndLabelsTest.java156 Button topButton = getActivity().getButton(0); in testArrowScrollUpToTopElementOnScreen() local
157 assertTrue("should be back at top button", topButton.hasFocus()); in testArrowScrollUpToTopElementOnScreen()
161 topButton.getLocationOnScreen(buttonLoc); in testArrowScrollUpToTopElementOnScreen()