Home
last modified time | relevance | path

Searched refs:getBaseline (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DLinearLayoutTest.java97 assertEquals(-1, linearLayout.getBaseline()); in testGetBaseline()
103 linearLayout.getBaseline(); in testGetBaseline()
111 assertEquals(lv3.getBaseline(), linearLayout.getBaseline()); in testGetBaseline()
337 public int getBaseline() { in getBaseline() method in LinearLayoutTest.MockListView
DSpinnerTest.java76 assertEquals(-1, spinner.getBaseline()); in testGetBaseline()
83 assertTrue(spinner.getBaseline() > 0); in testGetBaseline()
DViewAnimatorTest.java208 int expected = v1.getBaseline(); in testGetBaseline()
210 assertEquals(expected, mViewAnimator.getBaseline()); in testGetBaseline()
212 expected = v2.getBaseline(); in testGetBaseline()
214 assertEquals(expected, mViewAnimator.getBaseline()); in testGetBaseline()
DRelativeLayoutTest.java253 assertEquals(-1, relativeLayout.getBaseline()); in testGetBaseline()
257 assertEquals(view.getBaseline(), relativeLayout.getBaseline()); in testGetBaseline()
DTimePickerTest.java246 assertEquals(-1, mTimePicker.getBaseline()); in testGetBaseline()
DGridLayoutTest.java100 return v.getTop() + v.getBaseline();
DImageViewTest.java341 assertEquals(-1, imageView.getBaseline()); in testGetBaseline()
DTextViewTest.java2100 assertEquals(mTextView.getBaseline(), mTextView.getLineBounds(0, null)); in testGetLineBounds()
2102 assertEquals(mTextView.getBaseline(), mTextView.getLineBounds(0, rc)); in testGetLineBounds()
2115 assertEquals(mTextView.getBaseline(), mTextView.getLineBounds(0, rc)); in testGetLineBounds()
2124 assertEquals(-1, mTextView.getBaseline()); in testGetBaseLine()
2127 assertEquals(mTextView.getLayout().getLineBaseline(0), mTextView.getBaseline()); in testGetBaseLine()
2137 assertEquals(expected, mTextView.getBaseline()); in testGetBaseLine()
/cts/tests/tests/view/src/android/view/cts/
DView_LayoutPositionTest.java58 assertEquals(-1, view.getBaseline()); in testPositionInParent()
DViewTest.java453 assertEquals(-1, view.getBaseline()); in testGetBaseline()