/cts/tests/camera/src/android/hardware/cts/ |
D | GLSurfaceViewCtsActivity.java | 48 private GLSurfaceView mView; field in GLSurfaceViewCtsActivity 89 mView = new GLSurfaceView(this); in onCreate() 92 mView.setEGLContextClientVersion(mGlVersion); in onCreate() 96 mView.setRenderer(new Renderer()); in onCreate() 98 mView.setRenderer(mRenderer); in onCreate() 102 mView.setRenderMode(mRenderMode); in onCreate() 105 setContentView(mView); in onCreate() 109 return mView; in getView() 115 mView.onResume(); in onResume() 121 mView.onPause(); in onPause()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | LinkMovementMethodTest.java | 73 private TextView mView; field in LinkMovementMethodTest 87 mActivityRule.runOnUiThread(() -> mView = new TextViewNoIme(mActivity)); in setup() 88 mView.setTextSize(TypedValue.COMPLEX_UNIT_SP, 10); in setup() 89 mView.setText(CONTENT, BufferType.SPANNABLE); in setup() 91 mActivityRule.runOnUiThread(() -> mActivity.setContentView(mView)); in setup() 94 mSpannable = (Spannable) mView.getText(); in setup() 168 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_ENTER, in testOnKeyDown() 178 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown() 188 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_ENTER, in testOnKeyDown() 197 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown() [all …]
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | GLSurfaceViewCtsActivity.java | 48 private GLSurfaceView mView; field in GLSurfaceViewCtsActivity 53 mView = new GLSurfaceView(this); in onCreate() 54 mView.setRenderer(new Renderer()); in onCreate() 56 setContentView(mView); in onCreate() 60 return mView; in getView() 66 mView.onResume(); in onResume() 72 mView.onPause(); in onPause()
|
D | EglConfigCtsActivity.java | 37 private EglConfigGLSurfaceView mView; field in EglConfigCtsActivity 54 mView = new EglConfigGLSurfaceView(this, configId, contextClientVersion, new Runnable() { in onCreate() 60 setContentView(mView); in onCreate() 84 mView.onResume(); in onResume() 90 mView.onPause(); in onPause()
|
D | OpenGlEsVersionCtsActivity.java | 57 private GLSurfaceView mView; field in OpenGlEsVersionCtsActivity 69 mView = new GLSurfaceView(this); in onCreate() 74 mView.setEGLContextClientVersion(eglContextClientVersion); in onCreate() 77 mView.setRenderer(new Renderer()); in onCreate() 78 setContentView(mView); in onCreate() 83 mView.onPause(); in onPause()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | GLSurfaceViewCtsActivity.java | 29 protected GLSurfaceView mView; field in GLSurfaceViewCtsActivity 34 mView = new GLSurfaceView(this); in onCreate() 38 setContentView(mView); in onCreate() 44 return mView; in getView() 50 mView.onResume(); in onResume() 56 mView.onPause(); in onPause()
|
D | GestureDetectorCtsActivity.java | 39 private View mView; field in GestureDetectorCtsActivity 61 mView = new View(this); in onCreate() 64 mView.setOnTouchListener(new MockOnTouchListener()); in onCreate() 71 mViewGroup.addView(mView); in onCreate() 80 return mView; in getView()
|
D | PixelCopyGLProducerCtsActivity.java | 100 mView.setEGLContextClientVersion(2); in configureGLSurfaceView() 103 mView.setRenderer(mRenderer); in configureGLSurfaceView() 104 mView.setRenderMode(GLSurfaceView.RENDERMODE_WHEN_DIRTY); in configureGLSurfaceView() 105 mView.getHolder().setFixedSize(100, 100); in configureGLSurfaceView()
|
D | ViewAnimationMatrixActivity.java | 26 View mView; field in ViewAnimationMatrixActivity 33 mView = findViewById(R.id.view); in onCreate()
|
D | DisplayRefreshRateCtsActivity.java | 137 mView.setRenderer(new Renderer(mResult)); in configureGLSurfaceView() 138 mView.setRenderMode(GLSurfaceView.RENDERMODE_CONTINUOUSLY); in configureGLSurfaceView()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | CameraGpuCtsActivity.java | 42 protected GLSurfaceView mView; field in CameraGpuCtsActivity 68 mView = new GLSurfaceView(this); in onCreate() 69 mView.setEGLContextClientVersion(2); in onCreate() 70 mView.setRenderer(new Renderer()); in onCreate() 71 mView.setRenderMode(GLSurfaceView.RENDERMODE_CONTINUOUSLY); in onCreate() 77 setContentView(mView); in onCreate() 83 mView.onResume(); in onResume() 89 mView.onPause(); in onPause()
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | GenerateBitmapTask.java | 37 private final View mView; field in GenerateBitmapTask 45 mView = view; in GenerateBitmapTask() 52 if (mView.getWidth() == 0 || mView.getHeight() == 0) { in onPreExecute() 57 mBitmap = Bitmap.createBitmap(mView.getWidth(), mView.getHeight(), in onPreExecute() 61 mView.draw(canvas); in onPreExecute()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AntiTrimmerTextWatcher.java | 34 private final EditText mView; field in AntiTrimmerTextWatcher 37 mView = view; in AntiTrimmerTextWatcher() 38 mView.addTextChangedListener(this); in AntiTrimmerTextWatcher() 43 mView.removeTextChangedListener(this); in onTextChanged() 44 mView.setText("#" + s + "#"); in onTextChanged()
|
/cts/hostsidetests/sustainedperf/shadertoy_android/src/ |
D | GPUStressTestActivity.java | 28 GLtestView mView; field in GPUStressTestActivity 40 mView = new GLtestView(getApplication()); in onCreate() 41 setContentView(mView); in onCreate() 46 mView.onPause(); in onPause() 51 mView.onResume(); in onResume()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | AdapterViewCtsActivity.java | 33 private ListView mView; field in AdapterViewCtsActivity 41 mView = new ListView(this); in onCreate() 42 mView.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in onCreate() 44 setContentView(mView); in onCreate() 48 return mView; in getListView()
|
D | MagnifierTest.java | 83 private View mView; field in MagnifierTest 102 mView = mActivity.findViewById(R.id.magnifier_centered_view); in setup() 105 mMagnifier = new Magnifier.Builder(mView) in setup() 106 .setSize(mView.getWidth() / 2, mView.getHeight() / 2) in setup() 150 final Magnifier.Builder builder = new Magnifier.Builder(mView) in testBuilder_setsPropertiesCorrectly_whenTheyAreValid() 184 new Magnifier.Builder(mView).setSize(0, 10); in testBuilder_throwsException_whenWidthIsInvalid() 189 new Magnifier.Builder(mView).setSize(10, 0); in testBuilder_throwsException_whenHeightIsInvalid() 194 new Magnifier.Builder(mView).setInitialZoom(0f); in testBuilder_throwsException_whenZoomIsZero() 199 new Magnifier.Builder(mView).setInitialZoom(-1f); in testBuilder_throwsException_whenZoomIsNegative() 204 new Magnifier.Builder(mView).setElevation(-1f); in testBuilder_throwsException_whenElevationIsInvalid() [all …]
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | GlPlanetsActivity.java | 48 private PlanetsSurfaceView mView; field in GlPlanetsActivity 92 mView = new PlanetsSurfaceView(this, param, this); in onCreate() 93 setContentView(mView); in onCreate() 109 mView.onResume(); in onResume() 115 mView.onPause(); in onPause()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowInputTests.java | 58 private View mView; field in WindowInputTests 86 mView = new View(mActivity); in testMoveWindowAndTap() 90 mView.setOnClickListener((v) -> { in testMoveWindowAndTap() 93 wm.addView(mView, p); in testMoveWindowAndTap() 111 wm.updateViewLayout(mView, p); in testMoveWindowAndTap() 114 CtsTouchUtils.emulateTapOnViewCenter(mInstrumentation, mActivityRule, mView); in testMoveWindowAndTap()
|
D | LocationInWindowTests.java | 115 assertThatViewGetLocationInWindowIsCorrect(activity.mView); in runTest() 172 private View mView; field in LocationInWindowTests.TestActivity 185 mView = new View(this); in onCreate() 189 frame.addView(mView, lp); in onCreate() 190 mView.setTranslationX(8); in onCreate() 191 mView.setTranslationY(9); in onCreate() 192 mView.setScrollX(10); in onCreate() 193 mView.setScrollY(11); in onCreate()
|
D | LayoutTests.java | 111 activity.mView = view; in doTestLayoutAfterRemovingFocus() 119 activity.getWindowManager().removeViewImmediate(activity.mView)); in doTestLayoutAfterRemovingFocus() 192 activity.mView = view; in testChangingFocusableFlag() 199 activity.getWindowManager().updateViewLayout(activity.mView, attrs); in testChangingFocusableFlag() 222 View mView = null; field in LayoutTests.TestActivity
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/testinfrastructure/ |
D | DrawActivity.kt | 65 private var mView: View? = null in hashCode() variable in android.uirendering.cts.testinfrastructure.DrawActivity 164 mView = null in hashCode() 181 mView = LayoutInflater.from(this@DrawActivity).inflate( in hashCode() 192 mView = canvasClientView in hashCode() 196 if (mView == null) { in hashCode() 201 mView, ViewGroup.LayoutParams.MATCH_PARENT, in hashCode() 206 mViewInitializer!!.initializeView(mView) in hashCode()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/ |
D | DrawActivity.kt | 66 private var mView: View? = null in hashCode() variable in android.uirendering.cts.testinfrastructure.DrawActivity 164 mView = null in hashCode() 181 mView = LayoutInflater.from(this@DrawActivity).inflate( in hashCode() 192 mView = canvasClientView in hashCode() 196 if (mView == null) { in hashCode() 201 mView, ViewGroup.LayoutParams.MATCH_PARENT, in hashCode() 206 mViewInitializer!!.initializeView(mView) in hashCode()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | LayoutAnimationTest.java | 55 private LinearLayout mView; field in LayoutAnimationTest 66 mView = (LinearLayout) mActivity.findViewById(R.id.container); in setup() 94 mView.setLayoutTransition(mLayoutTransition); in testIsChangingLayout() 150 mView.setLayoutTransition(mLayoutTransition); in testAnimationWithAnimator() 198 mView.setLayoutTransition(mLayoutTransition); in setDefaultTransition() 211 View mView; field in LayoutAnimationTest.MyTransitionListener 217 this.mView = view; in endTransition() 225 this.mView = view; in startTransition()
|
/cts/tests/vr/src/android/vr/cts/ |
D | OpenGLESActivity.java | 61 OpenGLES20View mView; field in OpenGLESActivity 78 mView = new OpenGLES20View(this, viewIndex, protectedAttribute, priorityAttribute, in onCreate() 81 setContentView(mView); in onCreate() 105 mView.queueEvent(wrapper); in runOnGlThread() 153 if (mView != null) { in onPause() 154 mView.onPause(); in onPause() 161 if (mView != null) { in onResume() 162 mView.onResume(); in onResume()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | NotificationListenerVerifierActivity.java | 279 private View mView; field in NotificationListenerVerifierActivity.ReceiveChannelBlockNoticeTest 282 mView = createNlsSettingsItem(parent, R.string.nls_block_channel); in inflate() 283 Button button = mView.findViewById(R.id.nls_action_button); in inflate() 285 return mView; in inflate() 295 Button button = mView.findViewById(R.id.nls_action_button); in setUp() 354 private View mView; field in NotificationListenerVerifierActivity.ReceiveGroupBlockNoticeTest 357 mView = createNlsSettingsItem(parent, R.string.nls_block_group); in inflate() 358 Button button = mView.findViewById(R.id.nls_action_button); in inflate() 360 return mView; in inflate() 374 Button button = mView.findViewById(R.id.nls_action_button); in setUp() [all …]
|