Home
last modified time | relevance | path

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

1234

/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/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/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/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarTransitions.java36 private final NavigationBarView mView; field in NavigationBarTransitions
45 mView = view; in NavigationBarTransitions()
80 setKeyButtonViewQuiescentAlpha(mView.getHomeButton(), alpha, animate); in applyMode()
81 setKeyButtonViewQuiescentAlpha(mView.getRecentsButton(), alpha, animate); in applyMode()
82 setKeyButtonViewQuiescentAlpha(mView.getMenuButton(), alpha, animate); in applyMode()
84 setKeyButtonViewQuiescentAlpha(mView.getSearchLight(), KEYGUARD_QUIESCENT_ALPHA, animate); in applyMode()
85 setKeyButtonViewQuiescentAlpha(mView.getCameraButton(), KEYGUARD_QUIESCENT_ALPHA, animate); in applyMode()
100 backAlpha = maxVisibleQuiescentAlpha(backAlpha, mView.getSearchLight()); in applyBackButtonQuiescentAlpha()
101 backAlpha = maxVisibleQuiescentAlpha(backAlpha, mView.getCameraButton()); in applyBackButtonQuiescentAlpha()
102 backAlpha = maxVisibleQuiescentAlpha(backAlpha, mView.getHomeButton()); in applyBackButtonQuiescentAlpha()
[all …]
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZonePickerDialog.java40 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/
DToast.java335 View mView; field in Toast.TN
374 if (localLOGV) Log.v(TAG, "HANDLE SHOW: " + this + " mView=" + mView in handleShow()
376 if (mView != mNextView) { in handleShow()
379 mView = mNextView; in handleShow()
380 Context context = mView.getContext().getApplicationContext(); in handleShow()
382 context = mView.getContext(); in handleShow()
387 final Configuration config = mView.getContext().getResources().getConfiguration(); in handleShow()
400 if (mView.getParent() != null) { in handleShow()
401 if (localLOGV) Log.v(TAG, "REMOVE! " + mView + " in " + this); in handleShow()
402 mWM.removeView(mView); in handleShow()
[all …]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DCheckLongPressHelper.java24 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/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/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/base/packages/SystemUI/src/com/android/systemui/
DDessertCaseDream.java22 private DessertCaseView mView; field in DessertCaseDream
30 mView = new DessertCaseView(this); in onAttachedToWindow()
34 mContainer.setView(mView); in onAttachedToWindow()
42 mView.postDelayed(new Runnable() { in onDreamingStarted()
44 mView.start(); in onDreamingStarted()
52 mView.stop(); in onDreamingStopped()
DDessertCase.java28 DessertCaseView mView; field in DessertCase
43 mView = new DessertCaseView(this); in onStart()
47 container.setView(mView); in onStart()
55 mView.postDelayed(new Runnable() { in onResume()
57 mView.start(); in onResume()
65 mView.stop(); in onPause()
/frameworks/support/v4/java/android/support/v4/widget/
DExploreByTouchHelper.java73 private final View mView; field in ExploreByTouchHelper
94 mView = forView; in ExploreByTouchHelper()
177 final ViewParent parent = mView.getParent(); in sendEventForVirtualView()
183 return ViewParentCompat.requestSendAccessibilityEvent(parent, mView, event); in sendEventForVirtualView()
272 ViewCompat.onInitializeAccessibilityEvent(mView, event); in createEventForHost()
301 event.setPackageName(mView.getContext().getPackageName()); in createEventForChild()
304 record.setSource(mView, virtualViewId); in createEventForChild()
335 final AccessibilityNodeInfoCompat node = AccessibilityNodeInfoCompat.obtain(mView); in createNodeForHost()
336 ViewCompat.onInitializeAccessibilityNodeInfo(mView, node); in createNodeForHost()
343 node.addChild(mView, childVirtualViewId); in createNodeForHost()
[all …]
/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/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/base/core/java/android/view/
DViewPropertyAnimator.java54 private final View mView; field in ViewPropertyAnimator
246 mView = view; in ViewPropertyAnimator()
399 mView.removeCallbacks(mAnimationStarter); in start()
416 mView.removeCallbacks(mAnimationStarter); in cancel()
704 mView.setLayerType(View.LAYER_TYPE_HARDWARE, null); in withLayer()
705 if (mView.isAttachedToWindow()) { in withLayer()
706 mView.buildLayer(); in withLayer()
710 final int currentLayerType = mView.getLayerType(); in withLayer()
714 mView.setLayerType(currentLayerType, null); in withLayer()
781 mView.setHasTransientState(true); in startAnimation()
[all …]
/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/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/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/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/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()

1234