/cts/tests/tests/transition/src/android/transition/cts/ |
D | ExplodeTest.java | 64 final View greenSquare = mActivity.findViewById(R.id.greenSquare); in testExplode() local 69 final List<PointF> greenPoints = captureTranslations(greenSquare); in testExplode() 76 greenSquare.setVisibility(View.INVISIBLE); in testExplode() 83 assertEquals(View.VISIBLE, greenSquare.getVisibility()); in testExplode() 94 verifyNoTranslation(greenSquare); in testExplode() 98 assertEquals(View.INVISIBLE, greenSquare.getVisibility()); in testExplode() 107 final View greenSquare = mActivity.findViewById(R.id.greenSquare); in testImplode() local 112 final List<PointF> greenPoints = captureTranslations(greenSquare); in testImplode() 118 greenSquare.setVisibility(View.INVISIBLE); in testImplode() 127 greenSquare.setVisibility(View.VISIBLE); in testImplode() [all …]
|
D | SlideEdgeTest.java | 85 final View greenSquare = mActivity.findViewById(R.id.greenSquare); in testSlideOut() local 89 final List<PointF> greenPoints = captureTranslations(greenSquare); in testSlideOut() 95 greenSquare.setVisibility(View.INVISIBLE); in testSlideOut() 102 assertEquals(View.VISIBLE, greenSquare.getVisibility()); in testSlideOut() 119 verifyNoTranslation(greenSquare); in testSlideOut() 122 assertEquals(View.INVISIBLE, greenSquare.getVisibility()); in testSlideOut() 141 final View greenSquare = mActivity.findViewById(R.id.greenSquare); in testSlideIn() local 146 final List<PointF> greenPoints = captureTranslations(greenSquare); in testSlideIn() 151 greenSquare.setVisibility(View.INVISIBLE); in testSlideIn() 160 greenSquare.setVisibility(View.VISIBLE); in testSlideIn() [all …]
|
D | ActivityTransitionTest.java | 151 R.id.redSquare, R.id.greenSquare, R.id.blueSquare, R.id.yellowSquare); in viewsNotStripped() 156 R.id.redSquare, R.id.greenSquare, R.id.blueSquare, R.id.yellowSquare); in viewsNotStripped() 158 assertTargetContains(mExitTransition, R.id.redSquare, R.id.greenSquare, R.id.yellowSquare); in viewsNotStripped() 162 assertEquals(View.VISIBLE, targetActivity.findViewById(R.id.greenSquare).getVisibility()); in viewsNotStripped() 166 assertEquals(1, targetActivity.findViewById(R.id.greenSquare).getAlpha(), 0.01f); in viewsNotStripped() 179 R.id.redSquare, R.id.greenSquare, R.id.blueSquare, R.id.yellowSquare); in viewsNotStripped() 183 R.id.redSquare, R.id.greenSquare, R.id.yellowSquare); in viewsNotStripped() 189 R.id.redSquare, R.id.greenSquare, R.id.blueSquare, R.id.yellowSquare); in viewsNotStripped() 193 R.id.redSquare, R.id.greenSquare, R.id.yellowSquare); in viewsNotStripped() 196 assertEquals(View.VISIBLE, mActivity.findViewById(R.id.greenSquare).getVisibility()); in viewsNotStripped() [all …]
|
D | PropagationTest.java | 77 long greenDelay = getDelay(R.id.greenSquare); in testCircularPropagation() 107 long greenDelay = getDelay(R.id.greenSquare); 143 long greenDelay = getDelay(R.id.greenSquare); in testSidePropagationTop() 175 long greenDelay = getDelay(R.id.greenSquare); in testSidePropagationRight() 207 long greenDelay = getDelay(R.id.greenSquare); in testSidePropagationLeft()
|
D | TransitionManagerTest.java | 71 assertNotNull(mActivity.findViewById(R.id.greenSquare)); in testBeginDelayedTransition() 164 assertNotNull(mActivity.findViewById(R.id.greenSquare)); in testGo() 214 assertNotNull(mActivity.findViewById(R.id.greenSquare)); in testSetTransition1()
|
D | ChangeBoundsTest.java | 296 validateViewPlacement(R.id.redSquare, R.id.greenSquare, SMALL_SQUARE_SIZE_DP); in validateInScene1() 300 validateViewPlacement(R.id.greenSquare, R.id.redSquare, LARGE_SQUARE_SIZE_DP); in validateInScene6() 430 mGreenSquare = mActivity.findViewById(R.id.greenSquare); in onDraw()
|
D | TransitionTest.java | 213 target[1] = mActivity.findViewById(R.id.greenSquare); in testRemoveTargetView() 536 View greenSquare = mActivity.findViewById(R.id.greenSquare); in testPropagation() local 537 int diffTop = greenSquare.getTop() - redSquare.getTop(); in testPropagation() 540 Animator greenSquareAnimator = transition.animators.get(greenSquare); in testPropagation()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | ActivityTransitionTest.java | 220 final View greenSquare = mActivity.findViewById(R.id.greenSquare); 222 assertEquals(View.VISIBLE, greenSquare.getVisibility()); 253 final View greenSquare = mActivity.findViewById(R.id.greenSquare); 255 assertEquals(View.VISIBLE, greenSquare.getVisibility()); 288 final View greenSquare = mActivity.findViewById(R.id.greenSquare); 290 assertEquals(View.VISIBLE, greenSquare.getVisibility()); 322 final View greenSquare = mActivity.findViewById(R.id.greenSquare); 324 assertEquals(View.VISIBLE, greenSquare.getVisibility());
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | PictureTest.java | 41 private static Picture greenSquare() { in greenSquare() method in PictureTest 58 Picture pic = greenSquare(); in testPictureRespectsClip() 70 Picture pic = greenSquare(); in testPictureRespectsTranslate()
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | FragmentTransitionTest.java | 247 final View greenSquare1 = findViewById(fragment1, R.id.greenSquare); in crossContainer() 252 final View greenSquare2 = findViewById(fragment2, R.id.greenSquare); in crossContainer() 377 final View greenSquare = findViewById(fragment1, R.id.greenSquare); in onMapSharedElementOut() 378 sharedElements.put("blueSquare", greenSquare); in onMapSharedElementOut() 413 final View greenSquare = findViewById(fragment2, R.id.greenSquare); in onMapSharedElementIn() 414 sharedElements.put("blueSquare", greenSquare); in onMapSharedElementIn() 559 final View endGreen = findViewById(fragment2, R.id.greenSquare); in showHideTransition() 608 final View endGreen = findViewById(fragment2, R.id.greenSquare); in attachDetachTransition() 823 return mActivityRule.getActivity().findViewById(R.id.greenSquare); in findGreen() 913 final View fromExit1 = findViewById(from1, R.id.greenSquare); in verifyCrossTransition() [all …]
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | WidgetTransitionTest.java | 275 response.addSharedElement(R.id.greenSquare, "green_square"); in getViewsForResponse() 289 assertEquals(getSourceBounds(parent.findViewById(R.id.greenSquare)), in verifyClickBroadcast()
|