Home
last modified time | relevance | path

Searched refs:mView (Results 1 – 23 of 23) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DGLSurfaceViewCtsActivity.java48 private GLSurfaceView mView; field in GLSurfaceViewCtsActivity
100 mView = new GLSurfaceView(this); in onCreate()
103 mView.setEGLContextClientVersion(mGlVersion); in onCreate()
107 mView.setRenderer(new Renderer()); in onCreate()
109 mView.setRenderer(mRenderer); in onCreate()
113 mView.setRenderMode(mRenderMode); in onCreate()
116 mView.getHolder().setFixedSize(mFixedWidth, mFixedHeight); in onCreate()
119 setContentView(mView); in onCreate()
123 return mView; in getView()
129 mView.onResume(); in onResume()
[all …]
DGestureDetectorCtsActivity.java47 private View mView; field in GestureDetectorCtsActivity
62 mView = new View(this); in onCreate()
65 mView.setOnTouchListener(new MockOnTouchListener()); in onCreate()
72 mViewGroup.addView(mView); in onCreate()
81 return mView; in getView()
DView_UsingViewsTest.java518 private View mView; field in View_UsingViewsTest.MockOnLongClickListener
522 mView = v; in onLongClick()
531 return mView; in getView()
/cts/tests/tests/graphics/src/android/opengl/cts/
DGLSurfaceViewCtsActivity.java48 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()
DEglConfigCtsActivity.java37 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()
/cts/tests/camera/src/android/hardware/cts/
DGLSurfaceViewCtsActivity.java48 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/
DLinkMovementMethodTest.java51 private TextView mView; field in LinkMovementMethodTest
69 mView = new TextViewNoIme(getActivity()); in setUp()
70 mView.setTextSize(TypedValue.COMPLEX_UNIT_SP, 10); in setUp()
71 mView.setText(CONTENT, BufferType.SPANNABLE); in setUp()
74 getActivity().setContentView(mView); in setUp()
79 mSpannable = (Spannable) mView.getText(); in setUp()
147 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_ENTER, in testOnKeyDown()
157 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown()
167 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_ENTER, in testOnKeyDown()
176 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown()
[all …]
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DDrawActivity.java41 private View mView; field in DrawActivity
102 mView = stub.inflate(); in handleMessage()
107 mView = stub.inflate(); in handleMessage()
108 ((CanvasClientView) mView).setCanvasClient((CanvasClient) (message.obj)); in handleMessage()
113 mView = stub.inflate(); in handleMessage()
114 ((WebView) mView).loadUrl((String) message.obj); in handleMessage()
115 ((WebView) mView).setInitialScale(100); in handleMessage()
120 if (mView == null) { in handleMessage()
125 mViewInitializer.initializeView(mView); in handleMessage()
134 mView.getViewTreeObserver().addOnPreDrawListener(onDrawListener); in handleMessage()
[all …]
/cts/hostsidetests/sustainedperf/shadertoy_android/src/
DGPUStressTestActivity.java28 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/hostsidetests/theme/app/src/android/theme/app/
DGenerateBitmapTask.java37 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/tests/widget/src/android/widget/cts/
DAdapterViewCtsActivity.java34 private ListView mView; field in AdapterViewCtsActivity
42 mView = new ListView(this); in onCreate()
43 mView.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, in onCreate()
45 setContentView(mView); in onCreate()
49 return mView; in getListView()
DAbsListViewTest.java761 private AbsListView mView; field in AbsListViewTest.MockOnScrollListener
771 mView = null; in MockOnScrollListener()
783 mView = view; in onScroll()
796 return mView; in getView()
830 private View mView; field in AbsListViewTest.MockRecyclerListener
833 mView = null; in MockRecyclerListener()
837 mView = view; in onMovedToScrapHeap()
841 return mView; in getView()
DHeaderViewListAdapterTest.java437 private final View mView = new View(mContext); field in HeaderViewListAdapterTest.HeaderViewFullAdapter
481 return mView; in getView()
/cts/tests/tests/view/src/android/view/inputmethod/cts/
DBaseInputConnectionTest.java46 private EditText mView; field in BaseInputConnectionTest
66 mView = (EditText) mWindow.findViewById(R.id.entry); in setUp()
67 mConnection = new BaseInputConnection(mView, true); in setUp()
150 assertTrue(mView.requestFocus()); in testOpTextMethods()
151 assertTrue(mView.isFocused()); in testOpTextMethods()
156 BaseInputConnection dummyConnection = new BaseInputConnection(mView, false); in testOpTextMethods()
161 return text2.toString().equals(mView.getText().toString()); in testOpTextMethods()
200 assertTrue(mView.requestFocus()); in testFinishComposingText()
201 assertTrue(mView.isFocused()); in testFinishComposingText()
206 BaseInputConnection dummyConnection = new BaseInputConnection(mView, false); in testFinishComposingText()
[all …]
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGlPlanetsActivity.java47 private PlanetsSurfaceView mView; field in GlPlanetsActivity
87 mView = new PlanetsSurfaceView(this, param, this); in onCreate()
88 setContentView(mView); in onCreate()
102 mView.onResume(); in onResume()
108 mView.onPause(); in onPause()
/cts/tests/tests/animation/src/android/animation/cts/
DLayoutAnimationTest.java41 private LinearLayout mView; field in LayoutAnimationTest
52 mView = (LinearLayout) mActivity.findViewById(R.id.container); in setUp()
77 mView.setLayoutTransition(mLayoutTransition); in testIsChangingLayout()
128 mView.setLayoutTransition(mLayoutTransition); in testAnimationWithAnimator()
174 mView.setLayoutTransition(mLayoutTransition); in setDefaultTransition()
191 View mView; field in LayoutAnimationTest.MyTransitionListener
197 this.mView = view; in endTransition()
205 this.mView = view; in startTransition()
/cts/tests/vr/src/android/vr/cts/
DOpenGLESActivity.java57 OpenGLES20View mView; field in OpenGLESActivity
74 mView = new OpenGLES20View(this, viewIndex, protectedAttribute, priorityAttribute, in onCreate()
77 setContentView(mView); in onCreate()
101 mView.queueEvent(wrapper); in runOnGlThread()
149 if (mView != null) { in onPause()
150 mView.onPause(); in onPause()
157 if (mView != null) { in onResume()
158 mView.onResume(); in onResume()
/cts/tests/app/src/android/app/cts/
DAlertDialog_BuilderTest.java59 private View mView; field in AlertDialog_BuilderTest
85 mView = null; in setUp()
548 mView = mDialog.getWindow().findViewById(100); in testSetView()
552 assertEquals(view, mView); in testSetView()
562 mView = mDialog.getWindow().findViewById(R.id.username_form); in testSetViewFromInflater()
566 assertNotNull(mView); in testSetViewFromInflater()
567 assertNotNull(mView.findViewById(R.id.username_view)); in testSetViewFromInflater()
568 assertNotNull(mView.findViewById(R.id.username_edit)); in testSetViewFromInflater()
577 mView = mDialog.getWindow().findViewById(R.id.username_form); in testSetViewById()
581 assertNotNull(mView); in testSetViewById()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/
DBaseGnssTestActivity.java409 protected final View mView; field in BaseGnssTestActivity.ViewAppender
412 mView = view; in ViewAppender()
419 mLogLayout.addView(mView); in append()
436 mTextView = (TextView) mView; in TextAppender()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DBaseSensorTestActivity.java655 protected final View mView; field in BaseSensorTestActivity.ViewAppender
658 mView = view; in ViewAppender()
665 mLogLayout.addView(mView); in append()
682 mTextView = (TextView) mView; in TextAppender()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2MultiViewTestCase.java206 TextureView mView; in updatePreviewDisplayRotation() field in Camera2MultiViewTestCase.TransformUpdater
209 mView = view; in updatePreviewDisplayRotation()
215 mView.setTransform(mTransformMatrix); in updatePreviewDisplayRotation()
/cts/tests/tests/assist/src/android/assist/cts/
DAssistTestBase.java74 private View mView; field in AssistTestBase
257 mView = mTestActivity.findViewById(android.R.id.content).getRootView(); in verifyAssistStructure()
289 mView, in verifyHierarchy()
/cts/tools/dex-tools/dex/
Dclasses.out.dex78587 private android.view.View mView
88450 private android.view.View mView
88905 private android.view.View mView
107432 private final android.view.View mView
108117 private java.lang.ref.WeakReference mView
108719 android.view.View mView
116573 public android.view.View mView
116663 private android.view.View mView