HomeSort by relevance Sort by last modified time
    Searched refs:redSquare (Results 1 - 15 of 15) sorted by null

  /cts/tests/tests/transition/src/android/transition/cts/
ChangeClipBoundsTest.java 54 final View redSquare = mActivity.findViewById(R.id.redSquare);
55 final Rect newClip = new Rect(redSquare.getLeft() + 10, redSquare.getTop() + 10,
56 redSquare.getRight() - 10, redSquare.getBottom() - 10);
59 assertNull(redSquare.getClipBounds());
61 redSquare.setClipBounds(newClip);
64 PollingCheck.waitFor(isMiddleOfClipping(redSquare, newClip));
68 final Rect endRect = redSquare.getClipBounds()
    [all...]
ChangeTransformTest.java 58 final View redSquare = mActivity.findViewById(R.id.redSquare);
62 redSquare.setTranslationX(500);
63 redSquare.setTranslationY(600);
71 assertEquals(500f, redSquare.getTranslationX(), 0.0f);
72 assertEquals(600f, redSquare.getTranslationY(), 0.0f);
79 final View redSquare = mActivity.findViewById(R.id.redSquare);
83 redSquare.setRotation(45);
91 assertEquals(45f, redSquare.getRotation(), 0.0f)
    [all...]
ExplodeTest.java 63 final View redSquare = mActivity.findViewById(R.id.redSquare);
68 final List<PointF> redPoints = captureTranslations(redSquare);
75 redSquare.setVisibility(View.INVISIBLE);
82 assertEquals(View.VISIBLE, redSquare.getVisibility());
93 verifyNoTranslation(redSquare);
97 assertEquals(View.INVISIBLE, redSquare.getVisibility());
106 final View redSquare = mActivity.findViewById(R.id.redSquare);
111 final List<PointF> redPoints = captureTranslations(redSquare);
    [all...]
SceneTest.java 61 View redSquare = mActivity.findViewById(R.id.redSquare);
62 assertNotNull(redSquare);
65 assertNotNull(mSceneRoot.findViewById(R.id.redSquare));
69 assertNull(mSceneRoot.findViewById(R.id.redSquare));
120 View redSquare = mActivity.findViewById(R.id.redSquare);
121 assertNotNull(redSquare);
124 assertNotNull(mSceneRoot.findViewById(R.id.redSquare));
SlideEdgeTest.java 84 final View redSquare = mActivity.findViewById(R.id.redSquare);
88 final List<PointF> redPoints = captureTranslations(redSquare);
94 redSquare.setVisibility(View.INVISIBLE);
101 assertEquals(View.VISIBLE, redSquare.getVisibility());
118 verifyNoTranslation(redSquare);
121 assertEquals(View.INVISIBLE, redSquare.getVisibility());
140 final View redSquare = mActivity.findViewById(R.id.redSquare);
145 final List<PointF> redPoints = captureTranslations(redSquare);
    [all...]
ActivityTransitionTest.java 151 R.id.redSquare, R.id.greenSquare, R.id.blueSquare, R.id.yellowSquare);
156 R.id.redSquare, R.id.greenSquare, R.id.blueSquare, R.id.yellowSquare);
158 assertTargetContains(mExitTransition, R.id.redSquare, R.id.greenSquare, R.id.yellowSquare);
161 assertEquals(View.VISIBLE, targetActivity.findViewById(R.id.redSquare).getVisibility());
165 assertEquals(1, targetActivity.findViewById(R.id.redSquare).getAlpha(), 0.01f);
179 R.id.redSquare, R.id.greenSquare, R.id.blueSquare, R.id.yellowSquare);
183 R.id.redSquare, R.id.greenSquare, R.id.yellowSquare);
189 R.id.redSquare, R.id.greenSquare, R.id.blueSquare, R.id.yellowSquare);
193 R.id.redSquare, R.id.greenSquare, R.id.yellowSquare);
195 assertEquals(View.VISIBLE, mActivity.findViewById(R.id.redSquare).getVisibility())
    [all...]
FadeTest.java 130 final View redSquare = mActivity.findViewById(R.id.redSquare);
131 final Bitmap redSquareBitmap = createViewBitmap(redSquare);
135 final int startWidth = redSquare.getWidth();
136 final int startHeight = redSquare.getHeight();
145 assertNotSame(view, redSquare);
172 sceneRoot.removeView(redSquare);
173 container.addView(redSquare);
192 assertNotNull(mActivity.findViewById(R.id.redSquare));
200 assertNotNull(mActivity.findViewById(R.id.redSquare));
    [all...]
PropagationTest.java 44 mActivity.findViewById(R.id.redSquare));
72 long redDelay = getDelay(R.id.redSquare);
104 long redDelay = getDelay(R.id.redSquare);
140 long redDelay = getDelay(R.id.redSquare);
172 long redDelay = getDelay(R.id.redSquare);
204 long redDelay = getDelay(R.id.redSquare);
VisibilityTest.java 104 final View redSquare = mActivity.findViewById(R.id.redSquare);
105 TransitionValues visibleValues = new TransitionValues(redSquare);
109 mActivityRule.runOnUiThread(() -> redSquare.setVisibility(View.INVISIBLE));
111 TransitionValues invisibleValues = new TransitionValues(redSquare);
115 mActivityRule.runOnUiThread(() -> redSquare.setVisibility(View.GONE));
117 TransitionValues goneValues = new TransitionValues(redSquare);
TransitionTest.java 147 mTransition.addTarget(R.id.redSquare);
150 mTransition.removeTarget(R.id.redSquare);
214 target[2] = mActivity.findViewById(R.id.redSquare);
243 assertEquals(R.id.redSquare, mTargets.get(0).getId());
261 assertEquals(R.id.redSquare, mTargets.get(0).getId());
373 View redSquare1 = layout1.findViewById(R.id.redSquare);
388 mTransition.excludeTarget(R.id.redSquare, true);
396 mTransition.excludeTarget(R.id.redSquare, false); // remove it
473 View redSquare = mActivity.findViewById(R.id.redSquare);
    [all...]
TransitionManagerTest.java 70 assertNotNull(mActivity.findViewById(R.id.redSquare));
105 final View viewBeforeTransition = mActivity.findViewById(R.id.redSquare);
116 final View view = mActivity.findViewById(R.id.redSquare);
163 assertNotNull(mActivity.findViewById(R.id.redSquare));
213 assertNotNull(mActivity.findViewById(R.id.redSquare));
ChangeBoundsTest.java 296 validateViewPlacement(R.id.redSquare, R.id.greenSquare, SMALL_SQUARE_SIZE_DP);
300 validateViewPlacement(R.id.greenSquare, R.id.redSquare, LARGE_SQUARE_SIZE_DP);
429 mRedSquare = mActivity.findViewById(R.id.redSquare);
461 View redView = activity.findViewById(R.id.redSquare);
463 View greenView = activity.findViewById(R.id.redSquare);
CaptureValuesTest.java 66 set.addTarget(mActivity.findViewById(R.id.redSquare));
  /cts/tests/tests/app.usage/src/android/app/usage/cts/
ActivityTransitionActivity.java 138 transition.addListener(new VisibilityCheck(R.id.redSquare, visibility));
145 transition.addListener(new VisibilityCheck(R.id.redSquare, propertyName));
  /cts/tests/fragment/src/android/fragment/cts/
FragmentTransitionTest.java     [all...]

Completed in 95 milliseconds