Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DDisplayHashManagerTest.java83 private View mTestView; field in DisplayHashManagerTest
169 mTestView.generateDisplayHash(mPhashAlgorithm, new Rect(), mExecutor, in testGenerateAndVerifyDisplayHash_EmptyBounds()
198 mTestView.generateDisplayHash(mPhashAlgorithm, new Rect(bounds), in testGenerateDisplayHash_BoundsOutOfView()
210 mTestView = new View(mActivity); in testGenerateDisplayHash_ViewOffscreen()
211 mTestView.setBackgroundColor(Color.BLUE); in testGenerateDisplayHash_ViewOffscreen()
212 mTestView.setX(-mTestViewSize.x); in testGenerateDisplayHash_ViewOffscreen()
214 ViewTreeObserver viewTreeObserver = mTestView.getViewTreeObserver(); in testGenerateDisplayHash_ViewOffscreen()
218 mMainView.addView(mTestView, p); in testGenerateDisplayHash_ViewOffscreen()
228 mTestView.generateDisplayHash(mPhashAlgorithm, null, mExecutor, in testGenerateDisplayHash_ViewOffscreen()
251 mTestView = new View(mActivity); in testGenerateDisplayHash_WindowOffscreen()
[all …]
DWindowInsetsAnimationSynchronicityTests.java148 private TestView mTestView; field in WindowInsetsAnimationSynchronicityTests.TestActivity
159 mTestView = new TestView(this); in onCreate()
162 mTestView.addView(mEditText); in onCreate()
163 mTestView.mEvaluator = () -> { in onCreate()
169 setContentView(mTestView); in onCreate()
193 requestControlThenTransitionToVisibility(mTestView.getWindowInsetsController(), in showIme()
196 mTestView.getWindowInsetsController().show(ime()); in showIme()
202 requestControlThenTransitionToVisibility(mTestView.getWindowInsetsController(), in hideIme()
205 mTestView.getWindowInsetsController().hide(ime()); in hideIme()
/cts/tests/tests/view/src/android/view/animation/cts/
DAnimatorInflaterTest.java63 private View mTestView; field in AnimatorInflaterTest
76 mTestView = mActivity.findViewById(R.id.anim_window); in setup()
232 mTestView.setStateListAnimator(sla); in loadStateListAnimatorWithChangingResetStateTest()
233 mTestView.jumpDrawablesToCurrentState(); in loadStateListAnimatorWithChangingResetStateTest()
237 assertEquals(resetValue, mTestView.getX(), 0.0f); in loadStateListAnimatorWithChangingResetStateTest()
238 assertEquals(resetValue, mTestView.getY(), 0.0f); in loadStateListAnimatorWithChangingResetStateTest()
239 assertEquals(resetValue, mTestView.getZ(), 0.0f); in loadStateListAnimatorWithChangingResetStateTest()
258 mTestView.setStateListAnimator(sla); in loadChangingStateListAnimatorTest()
259 mTestView.jumpDrawablesToCurrentState(); in loadChangingStateListAnimatorTest()
264 assertEquals(targetValue, mTestView.getX(), 0.0f); in loadChangingStateListAnimatorTest()
[all …]