Home
last modified time | relevance | path

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

123

/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DRsBench.java47 public RsBenchView mView; field in RsBench
64 mView = new RsBenchView(this); in onCreate()
65 setContentView(mView); in onCreate()
66 mView.setLoops(iterations); in onCreate()
74 mView.resume(); in onResume()
82 mView.pause(); in onPause()
97 mView.setBenchmarkMode(-1); in onOptionsItemSelected()
98 mView.suspendRendering(false); in onOptionsItemSelected()
101 mView.suspendRendering(true); in onOptionsItemSelected()
104 builder.setItems(mView.getTestNames(), in onOptionsItemSelected()
[all …]
/frameworks/ex/carousel/test/src/com/android/carouseltest/
DCarouselTestActivity.java48 private CarouselView mView; field in CarouselTestActivity
121 if (mView.getCardCount() < TOTAL_CARDS) {
122 mView.createCards(mView.getCardCount() + 1);
123 mView.postDelayed(mAddCardRunnable, 2000);
146 mView = (CarouselView) findViewById(R.id.carousel); in onCreate()
147 mView.getHolder().setFormat(PixelFormat.RGBA_8888); in onCreate()
152 mHelper.setCarouselView(mView); in onCreate()
153 mView.setSlotCount(CARD_SLOTS); in onCreate()
154 mView.createCards(INCREMENTAL_ADD ? 1: TOTAL_CARDS); in onCreate()
155 mView.setVisibleSlots(SLOTS_VISIBLE); in onCreate()
[all …]
DMusicDemoActivity.java36 private CarouselView mView; field in MusicDemoActivity
86 mView = (CarouselView) findViewById(R.id.carousel); in onCreate()
88 mHelper.setCarouselView(mView); in onCreate()
89 mView.setSlotCount(CARD_SLOTS); in onCreate()
90 mView.createCards(TOTAL_CARDS); in onCreate()
91 mView.setVisibleSlots(VISIBLE_SLOTS); in onCreate()
92 mView.setStartAngle((float) -(2.0f*Math.PI * 5 / CARD_SLOTS)); in onCreate()
93 mView.setDefaultBitmap(BitmapFactory.decodeResource(res, R.drawable.wait)); in onCreate()
94 mView.setLoadingBitmap(BitmapFactory.decodeResource(res, R.drawable.blank_album)); in onCreate()
95 mView.setBackgroundBitmap(BitmapFactory.decodeResource(res, R.drawable.background)); in onCreate()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DSetTagsTest.java29 private Button mView; field in SetTagsTest
39 mView = (Button) getActivity().findViewById(R.id.disabledButton); in setUp()
44 assertNotNull(mView); in testSetUpConditions()
49 mView.setTag("1"); in testSetTag()
55 mView.setTag(o); in testGetTag()
57 final Object stored = mView.getTag(); in testGetTag()
64 mView.setTag(R.id.a, "2"); in testSetTagWithKey()
70 mView.setTag(R.id.a, o); in testGetTagWithKey()
72 final Object stored = mView.getTag(R.id.a); in testGetTagWithKey()
81 mView.setTag(android.R.id.list, "2"); in testSetTagWithFrameworkId()
[all …]
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/
DTestActivity.java25 TestView mView; field in TestActivity
34 mView.onResume();
37 mView.onPause();
40 mView.postDelayed(mRunnable, PAUSE_DELAY);
47 mView = new TestView(getApplication()); in onCreate()
48 mView.setFocusableInTouchMode(true); in onCreate()
49 setContentView(mView); in onCreate()
50 mView.postDelayed(mRunnable, PAUSE_DELAY); in onCreate()
56 mView.onPause(); in onPause()
62 mView.onResume(); in onResume()
/frameworks/base/core/java/android/widget/
DToast.java330 View mView; field in Toast.TN
367 if (localLOGV) Log.v(TAG, "HANDLE SHOW: " + this + " mView=" + mView in handleShow()
369 if (mView != mNextView) { in handleShow()
372 mView = mNextView; in handleShow()
386 if (mView.getParent() != null) { in handleShow()
387 if (localLOGV) Log.v(TAG, "REMOVE! " + mView + " in " + this); in handleShow()
388 mWM.removeView(mView); in handleShow()
390 if (localLOGV) Log.v(TAG, "ADD! " + mView + " in " + this); in handleShow()
391 mWM.addView(mView, mParams); in handleShow()
398 AccessibilityManager.getInstance(mView.getContext()); in trySendAccessibilityEvent()
[all …]
/frameworks/base/core/java/android/view/
DViewPropertyAnimator.java54 private final View mView; field in ViewPropertyAnimator
235 mView = view; in ViewPropertyAnimator()
345 mView.removeCallbacks(mAnimationStarter); in start()
362 mView.removeCallbacks(mAnimationStarter); in cancel()
650 mView.setLayerType(View.LAYER_TYPE_HARDWARE, null); in withLayer()
653 final int currentLayerType = mView.getLayerType(); in withLayer()
657 mView.setLayerType(currentLayerType, null); in withLayer()
724 mView.setHasTransientState(true); in startAnimation()
831 mView.removeCallbacks(mAnimationStarter); in animatePropertyBy()
832 mView.post(mAnimationStarter); in animatePropertyBy()
[all …]
/frameworks/base/core/java/android/webkit/
DViewManager.java44 View mView; // generic view to show field in ViewManager.ChildView
57 if (mView == null) { in attachView()
70 if (mView.getParent() == null) { in attachView()
78 mWebView.getWebView().addView(mView); in attachViewOnUIThread()
81 mView.setVisibility(View.GONE); in attachViewOnUIThread()
86 if (mView == null) { in removeView()
97 mWebView.getWebView().removeView(mView); in removeViewOnUIThread()
128 ViewGroup.LayoutParams layoutParams = v.mView.getLayoutParams(); in requestLayout()
141 v.mView.setLayoutParams(lp); in requestLayout()
143 if(v.mView instanceof SurfaceView) { in requestLayout()
[all …]
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/
DGLJNIActivity.java24 GLJNIView mView; field in GLJNIActivity
29 mView = new GLJNIView(getApplication()); in onCreate()
30 mView.setFocusableInTouchMode(true); in onCreate()
31 setContentView(mView); in onCreate()
37 mView.onPause(); in onPause()
43 mView.onResume(); in onResume()
/frameworks/base/tests/RenderScriptTests/SurfaceTexture/src/com/example/android/rs/sto/
DSurfaceTextureOpaque.java29 private SurfaceTextureOpaqueView mView; field in SurfaceTextureOpaque
36 mView = new SurfaceTextureOpaqueView(this); in onCreate()
37 setContentView(mView); in onCreate()
43 mView.resume(); in onResume()
50 mView.pause(); in onPause()
61 mCC.beginCapture(1, 640, 480, mView.getST()); in startCamera()
66 mView.mRender.newFrame(); in onNewCameraFrame()
/frameworks/native/opengl/tests/testViewport/src/com/android/test/
DTestActivity.java25 TestView mView; field in TestActivity
30 mView = new TestView(getApplication()); in onCreate()
31 mView.setFocusableInTouchMode(true); in onCreate()
32 setContentView(mView); in onCreate()
38 mView.onPause(); in onPause()
44 mView.onResume(); in onResume()
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/
DTestFramerateActivity.java29 TestFramerateView mView; field in TestFramerateActivity
33 mView = new TestFramerateView(getApplication()); in onCreate()
34 setContentView(mView); in onCreate()
35 mView.setFocusableInTouchMode(true); in onCreate()
40 mView.onPause(); in onPause()
45 mView.onResume(); in onResume()
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
DTestLatencyActivity.java29 TestLatencyView mView; field in TestLatencyActivity
33 mView = new TestLatencyView(getApplication()); in onCreate()
34 setContentView(mView); in onCreate()
35 mView.setFocusableInTouchMode(true); in onCreate()
40 mView.onPause(); in onPause()
45 mView.onResume(); in onResume()
/frameworks/base/core/java/android/app/
DMediaRouteActionProvider.java38 private MediaRouteButton mView; field in MediaRouteActionProvider
64 if (mView != null) { in setRouteTypes()
65 mView.setRouteTypes(mRouteTypes); in setRouteTypes()
76 if (mMenuItem != null || mView != null) { in onCreateActionView()
82 mView = new MediaRouteButton(mContext); in onCreateActionView()
83 mView.setRouteTypes(mRouteTypes); in onCreateActionView()
84 mView.setExtendedSettingsClickListener(mExtendedSettingsListener); in onCreateActionView()
85 return mView; in onCreateActionView()
123 if (mView != null) { in setExtendedSettingsClickListener()
124 mView.setExtendedSettingsClickListener(listener); in setExtendedSettingsClickListener()
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
DShadersTest.java25 private ShadersTestView mView; field in ShadersTest
31 mView = new ShadersTestView(this); in onCreate()
32 setContentView(mView); in onCreate()
38 mView.resume(); in onResume()
44 mView.pause(); in onPause()
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
DRsList.java24 private RsListView mView; field in RsList
32 mView = new RsListView(this); in onCreate()
33 setContentView(mView); in onCreate()
41 mView.resume(); in onResume()
49 mView.pause(); in onPause()
DRsRenderStates.java24 private RsRenderStatesView mView; field in RsRenderStates
32 mView = new RsRenderStatesView(this); in onCreate()
33 setContentView(mView); in onCreate()
41 mView.resume(); in onResume()
49 mView.pause(); in onPause()
/frameworks/base/tests/RenderScriptTests/HelloWorld/src/com/example/android/rs/helloworld/
DHelloWorld.java26 private HelloWorldView mView; field in HelloWorld
33 mView = new HelloWorldView(this); in onCreate()
34 setContentView(mView); in onCreate()
42 mView.resume(); in onResume()
50 mView.pause(); in onPause()
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
DGL2JNIActivity.java29 GL2JNIView mView; field in GL2JNIActivity
33 mView = new GL2JNIView(getApplication()); in onCreate()
34 setContentView(mView); in onCreate()
39 mView.onPause(); in onPause()
44 mView.onResume(); in onResume()
/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/
DGL2JavaActivity.java29 GL2JavaView mView; field in GL2JavaActivity
33 mView = new GL2JavaView(getApplication()); in onCreate()
34 setContentView(mView); in onCreate()
39 mView.onPause(); in onPause()
44 mView.onResume(); in onResume()
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
DGLPerfActivity.java29 GLPerfView mView; field in GLPerfActivity
34 mView = new GLPerfView(getApplication()); in onCreate()
35 setContentView(mView); in onCreate()
40 mView.onPause(); in onPause()
45 mView.onResume(); in onResume()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DTestApp.java45 private TestAppView mView; field in TestApp
53 mView = new TestAppView(this); in onCreate()
54 setContentView(mView); in onCreate()
62 mView.resume(); in onResume()
70 mView.pause(); in onPause()
88 mView.mRender.toggleBlur(); in onOptionsItemSelected()
101 mView.mRender.loadModel(selectedImageUri.getPath()); in onActivityResult()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DSimpleModel.java44 private SimpleModelView mView; field in SimpleModel
52 mView = new SimpleModelView(this); in onCreate()
53 setContentView(mView); in onCreate()
61 mView.resume(); in onResume()
69 mView.pause(); in onPause()
89 mView.toggleSensor(); in onOptionsItemSelected()
102 mView.loadA3DFile(selectedImageUri.getPath()); in onActivityResult()
/frameworks/base/tests/RenderScriptTests/Balls/src/com/example/android/rs/balls/
DBalls.java53 private BallsView mView; field in Balls
63 if(mView != null) { in onSensorChanged()
64 mView.setAccel(event.values[0], event.values[1], event.values[2]); in onSensorChanged()
81 mView = new BallsView(this); in onCreate()
82 setContentView(mView); in onCreate()
94 mView.resume(); in onResume()
100 mView.pause(); in onPause()
/frameworks/base/tests/RenderScriptTests/FountainFbo/src/com/example/android/rs/fountainfbo/
DFountainFbo.java28 private FountainFboView mView; field in FountainFbo
35 mView = new FountainFboView(this); in onCreate()
36 setContentView(mView); in onCreate()
46 mView.resume(); in onResume()
56 mView.pause(); in onPause()

123