/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
D | RsBench.java | 47 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/native/opengl/tests/testPauseResume/src/com/android/test/ |
D | TestActivity.java | 25 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/tests/coretests/src/android/view/ |
D | SetTagsTest.java | 29 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/ex/carousel/test/src/com/android/carouseltest/ |
D | CarouselTestActivity.java | 48 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 …]
|
D | MusicDemoActivity.java | 36 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/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZonePickerDialog.java | 40 private TimeZonePickerView mView; field in TimeZonePickerDialog 70 mView = new TimeZonePickerView(getActivity(), null, timeZone, timeMillis, this, in onCreateView() 73 mView.showFilterResults(savedInstanceState.getInt(KEY_LAST_FILTER_TYPE), in onCreateView() 77 return mView; in onCreateView() 83 outState.putBoolean(KEY_HAS_RESULTS, mView != null && mView.hasResults()); in onSaveInstanceState() 84 if (mView != null) { in onSaveInstanceState() 85 outState.putInt(KEY_LAST_FILTER_TYPE, mView.getLastFilterType()); in onSaveInstanceState() 86 outState.putString(KEY_LAST_FILTER_STRING, mView.getLastFilterString()); in onSaveInstanceState() 87 outState.putInt(KEY_LAST_FILTER_TIME, mView.getLastFilterTime()); in onSaveInstanceState() 88 outState.putBoolean(KEY_HIDE_FILTER_SEARCH, mView.getHideFilterSearchOnStart()); in onSaveInstanceState()
|
/frameworks/base/core/java/android/widget/ |
D | Toast.java | 332 View mView; field in Toast.TN 371 if (localLOGV) Log.v(TAG, "HANDLE SHOW: " + this + " mView=" + mView in handleShow() 373 if (mView != mNextView) { in handleShow() 376 mView = mNextView; in handleShow() 377 Context context = mView.getContext().getApplicationContext(); in handleShow() 379 context = mView.getContext(); in handleShow() 384 final Configuration config = mView.getContext().getResources().getConfiguration(); in handleShow() 397 if (mView.getParent() != null) { in handleShow() 398 if (localLOGV) Log.v(TAG, "REMOVE! " + mView + " in " + this); in handleShow() 399 mWM.removeView(mView); in handleShow() [all …]
|
/frameworks/base/core/java/android/app/ |
D | MediaRouteActionProvider.java | 39 private MediaRouteButton mView; field in MediaRouteActionProvider 65 if (mView != null) { in setRouteTypes() 66 mView.setRouteTypes(mRouteTypes); in setRouteTypes() 77 if (mMenuItem != null || mView != null) { in onCreateActionView() 83 mView = new MediaRouteButton(mContext); in onCreateActionView() 84 mView.setCheatSheetEnabled(true); in onCreateActionView() 85 mView.setRouteTypes(mRouteTypes); in onCreateActionView() 86 mView.setExtendedSettingsClickListener(mExtendedSettingsListener); in onCreateActionView() 87 mView.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, in onCreateActionView() 89 return mView; in onCreateActionView() [all …]
|
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/ |
D | GLJNIActivity.java | 24 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/policy/src/com/android/internal/policy/impl/keyguard/ |
D | CheckLongPressHelper.java | 24 private View mView; field in CheckLongPressHelper 33 if ((mView.getParent() != null) && mView.hasWindowFocus() in run() 35 if (mView.performLongClick()) { in run() 36 mView.setPressed(false); in run() 46 mView = v; in CheckLongPressHelper() 57 mView.postDelayed(mPendingCheckForLongPress, mLongPressTimeout); in postCheckForLongPress() 74 mView.removeCallbacks(mPendingCheckForLongPress); in cancelLongPress()
|
/frameworks/native/opengl/tests/testViewport/src/com/android/test/ |
D | TestActivity.java | 25 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/ |
D | TestFramerateActivity.java | 29 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/ |
D | TestLatencyActivity.java | 29 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/webkit/ |
D | ViewManager.java | 44 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/base/core/java/android/view/ |
D | ViewPropertyAnimator.java | 54 private final View mView; field in ViewPropertyAnimator 235 mView = view; in ViewPropertyAnimator() 354 mView.removeCallbacks(mAnimationStarter); in start() 371 mView.removeCallbacks(mAnimationStarter); in cancel() 659 mView.setLayerType(View.LAYER_TYPE_HARDWARE, null); in withLayer() 662 final int currentLayerType = mView.getLayerType(); in withLayer() 666 mView.setLayerType(currentLayerType, null); in withLayer() 733 mView.setHasTransientState(true); in startAnimation() 840 mView.removeCallbacks(mAnimationStarter); in animatePropertyBy() 841 mView.postOnAnimation(mAnimationStarter); in animatePropertyBy() [all …]
|
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/ |
D | ShadersTest.java | 25 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/ |
D | RsRenderStates.java | 24 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()
|
D | RsList.java | 24 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()
|
/frameworks/base/tests/RenderScriptTests/HelloWorld/src/com/example/android/rs/helloworld/ |
D | HelloWorld.java | 26 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/ |
D | GL2JNIActivity.java | 29 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/ |
D | GL2JavaActivity.java | 29 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/ |
D | GLPerfActivity.java | 29 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/FountainFbo/src/com/example/android/rs/fountainfbo/ |
D | FountainFbo.java | 28 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()
|
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
D | Balls.java | 53 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/ModelViewer/src/com/android/modelviewer/ |
D | SimpleModel.java | 44 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()
|