/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | LevelListDrawableTest.java | 113 assertSame(mLevelListDrawable.getCurrent(), mDrawableContainerState.getChildren()[2]); in testOnLevelChange() 116 assertSame(mLevelListDrawable.getCurrent(), mDrawableContainerState.getChildren()[2]); in testOnLevelChange() 119 assertSame(mLevelListDrawable.getCurrent(), mDrawableContainerState.getChildren()[0]); in testOnLevelChange() 122 assertNull(mLevelListDrawable.getCurrent()); in testOnLevelChange() 125 assertNull(mLevelListDrawable.getCurrent()); in testOnLevelChange() 144 assertSame(mLevelListDrawable.getCurrent(), mDrawableContainerState.getChildren()[0]); in testInflate() 146 assertSame(mLevelListDrawable.getCurrent(), mDrawableContainerState.getChildren()[1]); in testInflate() 149 assertNull(mLevelListDrawable.getCurrent()); in testInflate() 156 assertSame(mLevelListDrawable.getCurrent(), mDrawableContainerState.getChildren()[2]); in testInflate() 158 assertNull(mLevelListDrawable.getCurrent()); in testInflate()
|
D | StateListDrawableTest.java | 143 assertSame(mMockDrawable.getCurrent(), mDrawableContainerState.getChildren()[0]); in testOnStateChange() 146 assertSame(mMockDrawable.getCurrent(), mDrawableContainerState.getChildren()[0]); in testOnStateChange() 149 assertSame(mMockDrawable.getCurrent(), mDrawableContainerState.getChildren()[1]); in testOnStateChange() 153 assertSame(mMockDrawable.getCurrent(), mDrawableContainerState.getChildren()[1]); in testOnStateChange() 166 assertSame(mMockDrawable.getCurrent(), mDrawableContainerState.getChildren()[0]); in testOnStateChangeWithWildCardAtFirst() 280 assertSame(mMockDrawable.getCurrent(), mDrawableContainerState.getChildren()[0]); in testInflate() 282 assertSame(mMockDrawable.getCurrent(), mDrawableContainerState.getChildren()[1]); in testInflate() 286 assertNull(mMockDrawable.getCurrent()); in testInflate() 303 assertSame(mMockDrawable.getCurrent(), mDrawableContainerState.getChildren()[0]); in testInflate() 305 assertNull(mMockDrawable.getCurrent()); in testInflate() [all …]
|
D | ColorStateListDrawableTest.java | 92 assertTrue(mDrawable.getCurrent() instanceof ColorDrawable); in testGetCurrent() 134 final ColorDrawable colorDrawable = (ColorDrawable) mDrawable.getCurrent(); in testColorFilter() 145 final ColorDrawable colorDrawable = (ColorDrawable) cslDrawable.getCurrent(); in testColorStateListAccess() 159 ColorDrawable colorDrawable = (ColorDrawable) mDrawable.getCurrent(); in testSetState() 184 mDrawable.getCurrent().invalidateSelf(); in testInvalidationCallbackProxy() 195 mDrawable.getCurrent().scheduleSelf(runnable, scheduledTime); in testScheduleCallbackProxy() 207 mDrawable.getCurrent().unscheduleSelf(runnable); in testUnscheduleCallbackProxy()
|
D | DrawableContainerTest.java | 90 assertNull(mDrawableContainer.getCurrent()); in setup() 162 assertSame(dr0, mDrawableContainer.getCurrent()); in testGetChangingConfigurations() 197 assertSame(dr0, mDrawableContainer.getCurrent()); in testGetPadding() 213 assertNull(mDrawableContainer.getCurrent()); in testGetPadding() 268 assertNull(mDrawableContainer.getCurrent()); in testSetHotspotBounds() 287 assertNull(mDrawableContainer.getCurrent()); in testGetHotspotBounds() 483 assertNull(mDrawableContainer.getCurrent()); in testGetIntrinsicWidth() 488 assertSame(dr0, mDrawableContainer.getCurrent()); in testGetIntrinsicWidth() 516 assertNull(mDrawableContainer.getCurrent()); in testGetIntrinsicHeight() 521 assertSame(dr0, mDrawableContainer.getCurrent()); in testGetIntrinsicHeight() [all …]
|
D | CustomAnimationScaleListDrawableTest.java | 69 assertTrue(dr.getCurrent() instanceof Animatable); in testNonZeroDurationScale() 79 assertFalse(dr.getCurrent() instanceof Animatable); in testZeroDurationScale()
|
D | AnimationDrawableTest.java | 114 assertSame(mAnimationDrawable.getFrame(FIRST_FRAME_INDEX), mAnimationDrawable.getCurrent()); in testSetVisible() 139 mAnimationDrawable.getCurrent()); in testStart() 295 assertSame(dr.getFrame(0), dr.getCurrent()); in testInflateCorrect() 362 () -> mAnimationDrawable.getCurrent().equals(expected)); in pollingCheckDrawable() 373 assertSame(mAnimationDrawable.getFrame(index), mAnimationDrawable.getCurrent()); in verifyStoppedAnimation()
|
D | AnimatedStateListDrawableTest.java | 152 assertSame(unfocused, asld.getCurrent()); in testOnStateChange() 155 assertSame(unfocusedToFocused, asld.getCurrent()); in testOnStateChange() 158 assertSame(unfocusedToFocused, asld.getCurrent()); in testOnStateChange()
|
D | DrawableTest.java | 521 assertSame(mockDrawable, mockDrawable.getCurrent()); in testGetCurrent()
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityNodeInfo_RangeInfoTest.java | 56 assertEquals(-50, r.getCurrent(), FLOAT_TOLERANCE); in testObtain() 62 assertEquals(0.0f, r.getCurrent(), FLOAT_TOLERANCE); in testObtain() 68 assertEquals(50.0f, r.getCurrent(), FLOAT_TOLERANCE); in testObtain()
|
D | AccessibilityNodeInfoTest.java | 505 assertEquals("RangeInfo#getCurrent has incorrect value", expectedRange.getCurrent(), in assertEqualsAccessibilityNodeInfo() 506 receivedRange.getCurrent(), 0.0); in assertEqualsAccessibilityNodeInfo()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | FutureConnection.java | 46 public T getCurrent() { in getCurrent() method in FutureConnection
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowUntrustedTouchTest.java | 1036 connection.getCurrent().removeOverlays(); in removeOverlays()
|