/cts/tests/tests/widget/src/android/widget/cts/ |
FrameLayoutTest.java | 53 private Activity mActivity; 65 mActivity = getActivity(); 67 mFrameLayout = (FrameLayout) mActivity.findViewById(R.id.framelayout); 68 assertNotNull(mActivity); 94 new FrameLayout(mActivity); 95 new FrameLayout(mActivity, attrs); 96 new FrameLayout(mActivity, attrs, 0); 123 = (BitmapDrawable) mActivity.getResources().getDrawable(R.drawable.size_48x48); 130 mActivity.runOnUiThread(new Runnable() { 146 = (BitmapDrawable) mActivity.getResources().getDrawable(R.drawable.size_48x48) [all...] |
AbsSeekBarTest.java | 48 private Activity mActivity; 54 mActivity = getActivity(); 55 mResources = mActivity.getResources(); 76 new MyAbsSeekBar(mActivity); 78 new MyAbsSeekBar(mActivity, null); 80 new MyAbsSeekBar(mActivity, null, com.android.internal.R.attr.progressBarStyle); 96 AbsSeekBar myAbsSeekBar = new MyAbsSeekBar(mActivity); 117 MyAbsSeekBar myAbsSeekBar = new MyAbsSeekBar(mActivity); 139 MyAbsSeekBar myAbsSeekBar = new MyAbsSeekBar(mActivity); 165 MyAbsSeekBar myAbsSeekBar = new MyAbsSeekBar(mActivity); [all...] |
AbsoluteLayoutTest.java | 49 private Activity mActivity; 60 mActivity = getActivity(); 61 mMyAbsoluteLayout = new MyAbsoluteLayout(mActivity); 67 XmlPullParser parser = mActivity.getResources().getLayout(R.layout.absolute_layout); 93 new AbsoluteLayout(mActivity); 94 new AbsoluteLayout(mActivity, attrs); 95 new AbsoluteLayout(mActivity, attrs, 0); 96 new AbsoluteLayout(mActivity, null, 1); 97 new AbsoluteLayout(mActivity, attrs, -1); 139 mActivity.setContentView(R.layout.absolute_layout) [all...] |
MultiAutoCompleteTextViewTest.java | 50 private Activity mActivity; 60 mActivity = getActivity(); 62 mMultiAutoCompleteTextView_country = (MultiAutoCompleteTextView)mActivity 64 mMultiAutoCompleteTextView_name = (MultiAutoCompleteTextView)mActivity 87 XmlPullParser parser = mActivity.getResources() 91 new MultiAutoCompleteTextView(mActivity); 92 new MultiAutoCompleteTextView(mActivity, attr); 93 new MultiAutoCompleteTextView(mActivity, attr, 0); 218 new MyMultiAutoCompleteTextView(mActivity); 222 ArrayAdapter<String> adapter = new ArrayAdapter<String>(mActivity, [all...] |
RatingBarTest.java | 38 private RatingBarStubActivity mActivity; 47 mActivity = getActivity(); 48 assertNotNull(mActivity); 79 RatingBar ratingBar = (RatingBar) mActivity.findViewById(R.id.ratingbar_constructor); 103 RatingBar ratingBar = (RatingBar)mActivity.findViewById(R.id.ratingbar_constructor);
|
TabWidgetTest.java | 42 private Activity mActivity; 51 mActivity = getActivity(); 72 new TabWidget(mActivity); 74 new TabWidget(mActivity, null); 76 new TabWidget(mActivity, null, 0); 85 MockTabWidget mockTabWidget = new MockTabWidget(mActivity); 86 TextView tv0 = new TextView(mActivity); 87 TextView tv1 = new TextView(mActivity); 122 tabWidget.addView(new TextView(mActivity)); 147 tabWidget.addView(new TextView(mActivity)); [all...] |
TimePickerTest.java | 41 private Activity mActivity; 56 mActivity = getActivity();
|
ViewAnimatorTest.java | 46 private Activity mActivity; 58 mActivity = getActivity(); 61 XmlPullParser parser = mActivity.getResources().getXml(R.layout.viewanimator_layout); 63 mViewAnimator = new ViewAnimator(mActivity, mAttributeSet); 65 assertNotNull(mActivity); 83 new ViewAnimator(mActivity); 84 new ViewAnimator(mActivity, mAttributeSet); 105 AnimationSet expected = new AnimationSet(mActivity, mAttributeSet); 115 mViewAnimator.setInAnimation(mActivity, R.anim.anim_alpha); 128 final View v1 = mActivity.findViewById(R.id.ok) [all...] |
/development/apps/Development/src/com/android/development/ |
AccountsTester.java | 412 private final AccountsTester mActivity; 416 mActivity = activity; 421 mActivity.getAndLogResult(future, mLabel);
|
/packages/apps/Gallery/src/com/android/camera/ |
Util.java | 366 private final MonitoredActivity mActivity; 372 mActivity.removeLifeCycleListener(BackgroundJob.this); 379 mActivity = activity; 382 mActivity.addLifeCycleListener(this);
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
Util.java | 203 private final MonitoredActivity mActivity; 209 mActivity.removeLifeCycleListener(BackgroundJob.this); 216 mActivity = activity; 219 mActivity.addLifeCycleListener(this);
|
/cts/tests/tests/app/src/android/app/cts/ |
ProgressDialogTest.java | 55 private MockActivity mActivity; 68 mActivity = getActivity(); 69 mContext = mActivity;
|
TimePickerDialogTest.java | 50 private DialogStubActivity mActivity; 62 mActivity = getActivity(); 135 final TimePickerDialog d = (TimePickerDialog) mActivity.getDialog();
|
/cts/tests/tests/media/src/android/media/cts/ |
RingtoneManagerTest.java | 42 private RingtonePickerActivity mActivity; 57 mActivity = getActivity(); 60 mRingtoneManager = new RingtoneManager(mActivity); 97 new RingtoneManager(mActivity);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
BrowserTest.java | 52 private BrowserStubActivity mActivity; 112 mActivity = getActivity(); 562 // Browser.saveBookmark(mActivity, "bookmark title", "www.bookmark.com"); 584 // Browser.sendString(mActivity, "string to be sent"); 591 ActivityManager activityManager = (ActivityManager) mActivity [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
CharacterPickerDialogTest.java | 39 private Activity mActivity; 48 mActivity = getActivity(); 61 final View view = new TextView(mActivity); 88 final Gallery parent = new Gallery(mActivity); 91 final View view = new TextView(mActivity); 136 final View view = new TextView(mActivity);
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
DecelerateInterpolatorTest.java | 46 private Activity mActivity; 59 mActivity = getActivity(); 87 XmlResourceParser parser = mActivity.getResources().getAnimation(R.anim.decelerate_alpha); 89 new DecelerateInterpolator(mActivity, attrs); 100 final View animWindow = mActivity.findViewById(R.id.anim_window); 108 final Animation anim = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha);
|
GridLayoutAnimationControllerTest.java | 45 private GridLayoutAnimStubActivity mActivity; 72 mActivity = getActivity(); 73 mDefaultAnimation = AnimationUtils.loadAnimation(mActivity, 77 mGridView = mActivity.getGridView(); 98 XmlResourceParser parser = mActivity.getResources().getAnimation( 101 new GridLayoutAnimationController(mActivity, attrs); 331 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha);
|
LayoutAnimationControllerTest.java | 51 private ListActivity mActivity; 73 mActivity = getActivity(); 74 mListView = mActivity.getListView(); 75 mDefaultAnimation = AnimationUtils.loadAnimation(mActivity, 280 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha); 297 mController.setAnimation(mActivity, R.anim.layout_anim_controller_animation); 382 mController.setInterpolator(mActivity, android.R.anim.accelerate_interpolator); 414 XmlResourceParser parser = mActivity.getResources().getAnimation( 417 new LayoutAnimationController(mActivity, attrs); 429 Animation animation = AnimationUtils.loadAnimation(mActivity, R.anim.decelerate_alpha) [all...] |
RotateAnimationTest.java | 42 private Activity mActivity; 56 mActivity = getActivity(); 89 new RotateAnimation(mActivity, null); 91 final XmlResourceParser parser = mActivity.getResources().getAnimation( 96 new RotateAnimation(mActivity, attr); 127 final View animWindowParent = mActivity.findViewById(R.id.anim_window_parent); 128 final View animWindow = mActivity.findViewById(R.id.anim_window); 190 final View animWindowParent = mActivity.findViewById(R.id.anim_window_parent); 191 final View animWindow = mActivity.findViewById(R.id.anim_window);
|
TranslateAnimationTest.java | 42 private Activity mActivity; 62 mActivity = getActivity(); 91 new TranslateAnimation(mActivity, null); 93 final XmlResourceParser parser = mActivity.getResources().getAnimation( 98 new TranslateAnimation(mActivity, attr); 128 final View animWindow = mActivity.findViewById(R.id.anim_window); 191 final View parent = mActivity.findViewById(R.id.anim_window_parent); 192 final View animWindow = mActivity.findViewById(R.id.anim_window);
|
/cts/tests/tests/view/src/android/view/cts/ |
ViewStubTest.java | 48 private Activity mActivity; 58 mActivity = getActivity(); 88 XmlPullParser parser = mActivity.getResources().getXml(R.layout.viewstub_layout); 122 final ViewStub viewStub1 = (ViewStub) mActivity.findViewById(R.id.viewstub); 205 final ViewStub viewStub = (ViewStub) mActivity.findViewById(R.id.viewstub); 221 final ViewStub viewStub = (ViewStub) mActivity.findViewById(R.id.viewstub); 264 final ViewStub viewStub = (ViewStub) mActivity.findViewById(R.id.viewstub); 293 final ViewStub viewStub = (ViewStub) mActivity.findViewById(R.id.viewstub);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
ListOfItemsTallerThanScreenTest.java | 31 private ListOfItemsTallerThanScreen mActivity; 36 mActivity = getActivity();
|
/packages/apps/Browser/tests/src/com/android/browser/ |
JNIBindingsTestApp.java | 42 private BrowserActivity mActivity = null; 101 mActivity = getActivity(); 112 Tab tab = mActivity.getTabControl().getCurrentTab(); 194 Tab tab = mActivity.getTabControl().getCurrentTab();
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
RecentCallsListActivityTests.java | 70 private RecentCallsListActivity mActivity; 100 mActivity = getActivity(); 101 mVoicemail = mActivity.mVoiceMailNumber; 102 mAdapter = mActivity.mAdapter; 103 mParentView = new FrameLayout(mActivity); 195 Resources r = mActivity.getResources(); 227 mList[i] = mAdapter.newStandAloneView(mActivity, mParentView); 229 mAdapter.bindStandAloneView(mList[i], mActivity, mCursor);
|