Home
last modified time | relevance | path

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

/cts/tests/tests/hardware/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/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/tests/view/src/android/view/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()
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/text/src/android/text/method/cts/
DLinkMovementMethodTest.java50 private TextView mView; field in LinkMovementMethodTest
68 mView = new TextView(getActivity()); in setUp()
69 mView.setText(CONTENT, BufferType.SPANNABLE); in setUp()
72 getActivity().setContentView(mView); in setUp()
77 mSpannable = (Spannable) mView.getText(); in setUp()
145 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_ENTER, in testOnKeyDown()
155 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown()
165 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_ENTER, in testOnKeyDown()
174 assertFalse(mMethod.onKeyDown(mView, mSpannable, KeyEvent.KEYCODE_DPAD_CENTER, in testOnKeyDown()
184 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
101 mView = stub.inflate(); in handleMessage()
106 mView = stub.inflate(); in handleMessage()
107 ((CanvasClientView) mView).setCanvasClient((CanvasClient) (message.obj)); in handleMessage()
112 mView = stub.inflate(); in handleMessage()
113 ((WebView) mView).loadUrl((String) message.obj); in handleMessage()
114 ((WebView) mView).setInitialScale(100); in handleMessage()
119 if (mView == null) { in handleMessage()
124 mViewInitializer.initializeView(mView); in handleMessage()
133 mView.getViewTreeObserver().addOnPreDrawListener(onDrawListener); in handleMessage()
[all …]
/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.java668 private AbsListView mView; field in AbsListViewTest.MockOnScrollListener
678 mView = null; in MockOnScrollListener()
690 mView = view; in onScroll()
703 return mView; in getView()
737 private View mView; field in AbsListViewTest.MockRecyclerListener
740 mView = null; in MockRecyclerListener()
744 mView = view; in onMovedToScrapHeap()
748 return mView; in getView()
DListViewTest.java699 private View mView; field in ListViewTest.MockOnItemClickListener
704 mView = view; in onItemClick()
710 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
85 mView = new PlanetsSurfaceView(this, param, this); in onCreate()
86 setContentView(mView); in onCreate()
100 mView.onResume(); in onResume()
106 mView.onPause(); in onPause()
/cts/tests/tests/animation/src/android/animation/cts/
DLayoutAnimationTest.java42 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()
182 View mView; field in LayoutAnimationTest.MyTransitionListener
188 this.mView = view; in endTransition()
196 this.mView = view; in startTransition()
/cts/tests/tests/hardware/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.java67 private View mView; field in AssistTestBase
232 mView = mTestActivity.findViewById(android.R.id.content).getRootView(); in verifyAssistStructure()
264 mView, in verifyHierarchy()
/cts/tests/tests/app/src/android/app/cts/
DAlertDialog_BuilderTest.java65 private View mView; field in AlertDialog_BuilderTest
121 mView = null; in setUp()
573 mView = mDialog.getWindow().findViewById(100); in testSetView()
577 assertEquals(view, mView); in testSetView()