Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java690 final MockTextView mockTextView = new MockTextView(mActivity); in testSetShadowLayer() local
692 mockTextView.setShadowLayer(1.0f, 0.3f, 0.4f, Color.CYAN); in testSetShadowLayer()
693 assertEquals(Color.CYAN, mockTextView.getShadowColor()); in testSetShadowLayer()
694 assertEquals(0.3f, mockTextView.getShadowDx(), 0.0f); in testSetShadowLayer()
695 assertEquals(0.4f, mockTextView.getShadowDy(), 0.0f); in testSetShadowLayer()
696 assertEquals(1.0f, mockTextView.getShadowRadius(), 0.0f); in testSetShadowLayer()
699 mockTextView.setShadowLayer(1.0f, 0.3f, 0.3f, Color.CYAN); in testSetShadowLayer()
700 assertTrue(mockTextView.isPaddingOffsetRequired()); in testSetShadowLayer()
701 assertEquals(0, mockTextView.getLeftPaddingOffset()); in testSetShadowLayer()
702 assertEquals(0, mockTextView.getTopPaddingOffset()); in testSetShadowLayer()
[all …]