Searched refs:mockTextView (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 882 final MockTextView mockTextView = new MockTextView(mActivity); in testSetShadowLayer() local 884 mockTextView.setShadowLayer(1.0f, 0.3f, 0.4f, Color.CYAN); in testSetShadowLayer() 885 assertEquals(Color.CYAN, mockTextView.getShadowColor()); in testSetShadowLayer() 886 assertEquals(0.3f, mockTextView.getShadowDx(), 0.0f); in testSetShadowLayer() 887 assertEquals(0.4f, mockTextView.getShadowDy(), 0.0f); in testSetShadowLayer() 888 assertEquals(1.0f, mockTextView.getShadowRadius(), 0.0f); in testSetShadowLayer() 891 mockTextView.setShadowLayer(1.0f, 0.3f, 0.3f, Color.CYAN); in testSetShadowLayer() 892 assertTrue(mockTextView.isPaddingOffsetRequired()); in testSetShadowLayer() 893 assertEquals(0, mockTextView.getLeftPaddingOffset()); in testSetShadowLayer() 894 assertEquals(0, mockTextView.getTopPaddingOffset()); in testSetShadowLayer() [all …]
|