Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DMockTextView.java61 public boolean setFrame(int l, int t, int r, int b) { in setFrame() method in MockTextView
62 return super.setFrame(l, t, r, b); in setFrame()
DAutoCompleteTextViewTest.java704 assertTrue(mMockAutoCompleteTextView.setFrame(0, 1, 2, 3)); in testSetFrame()
711 assertFalse(mMockAutoCompleteTextView.setFrame(0, 1, 2, 3)); in testSetFrame()
718 assertTrue(mMockAutoCompleteTextView.setFrame(2, 3, 4, 5)); in testSetFrame()
1109 protected boolean setFrame(int l, int t, int r, int b) { in setFrame() method in AutoCompleteTextViewTest.MockAutoCompleteTextView
1110 return super.setFrame(l, t, r, b); in setFrame()
DImageViewTest.java515 assertTrue(mockImageView.setFrame(5, 10, 100, 200)); in testSetFrame()
522 assertFalse(mockImageView.setFrame(5, 10, 100, 200)); in testSetFrame()
837 protected boolean setFrame(int l, int t, int r, int b) { in setFrame() method in ImageViewTest.MockImageView
838 return super.setFrame(l, t, r, b); in setFrame()
DTextViewTest.java5069 mActivityRule.runOnUiThread(() -> ((MockTextView) mTextView).setFrame(0, 0, 40, 50)); in testComputeHorizontalScrollRange()
5089 mActivityRule.runOnUiThread(() -> ((MockTextView) mTextView).setFrame(0, 0, 40, 50)); in testComputeVerticalScrollRange()
5132 assertTrue(textView.setFrame(0, 0, 320, 480)); in testSetFrame()
5139 assertFalse(textView.setFrame(0, 0, 320, 480)); in testSetFrame()
5142 assertTrue(textView.setFrame(-1, -1, -1, -1)); in testSetFrame()