/cts/tests/tests/widget/src/android/widget/cts/ |
AutoCompleteTextViewTest.java | 62 private Activity mActivity; 92 mActivity = getActivity(); 94 mAutoCompleteTextView = (AutoCompleteTextView) mActivity 96 mAdapter = new ArrayAdapter<String>(mActivity, 122 new AutoCompleteTextView(mActivity); 125 parser = mActivity.getResources().getXml(R.layout.simple_dropdown_item_1line); 127 new AutoCompleteTextView(mActivity, attributeSet); 128 new AutoCompleteTextView(mActivity, null); 131 parser = mActivity.getResources().getXml(R.layout.framelayout_layout); 133 new AutoCompleteTextView(mActivity, attributeSet, 0) [all...] |
GalleryTest.java | 66 private Activity mActivity; 78 mActivity = getActivity(); 81 mGallery = (Gallery) mActivity.findViewById(R.id.gallery_test); 250 final MyGallery gallery = (MyGallery) mActivity.findViewById(R.id.gallery_test); 448 gallery.setAdapter(new ImageAdapter(mActivity)); 461 ImageAdapter adapter = new ImageAdapter(mActivity);
|
ImageViewTest.java | 61 private Activity mActivity; 74 return (ImageView) mActivity.findViewById(id); 82 source = mActivity.getResources().openRawResource(resid); 109 mActivity = getActivity(); 136 new ImageView(mActivity); 138 new ImageView(mActivity, null); 140 new ImageView(mActivity, null, 0); 142 XmlPullParser parser = mActivity.getResources().getXml(R.layout.imageview_layout); 144 new ImageView(mActivity, attrs); 145 new ImageView(mActivity, attrs, 0) [all...] |
ListViewTest.java | 66 private Activity mActivity; 79 mActivity = getActivity(); 81 XmlPullParser parser = mActivity.getResources().getXml(R.layout.listview_layout); 84 mAdapter_countries = new ArrayAdapter<String>(mActivity, 86 mAdapter_names = new ArrayAdapter<String>(mActivity, android.R.layout.simple_list_item_1, 89 mListView = (ListView) mActivity.findViewById(R.id.listview_default); 111 new ListView(mActivity); 112 new ListView(mActivity, mAttributeSet); 113 new ListView(mActivity, mAttributeSet, 0); 415 final TextView footerView1 = new TextView(mActivity); [all...] |
PopupWindowTest.java | 52 private Activity mActivity; 72 mActivity = getActivity(); 125 new PopupWindow(mActivity); 127 new PopupWindow(mActivity, null); 129 new PopupWindow(mActivity, null, com.android.internal.R.attr.popupWindowStyle); 155 TextView contentView = new TextView(mActivity); 206 mPopupWindow = new PopupWindow(mActivity); 229 mPopupWindow = new PopupWindow(mActivity); 259 mPopupWindow = new PopupWindow(mActivity); 262 View view = new TextView(mActivity); [all...] |
RemoteViewsTest.java | 76 private Activity mActivity; 85 mActivity = getActivity(); 87 mResult = mRemoteViews.apply(mActivity, null); 148 mRemoteViews.reapply(mActivity, mResult); 152 mRemoteViews.reapply(mActivity, mResult); 156 mRemoteViews.reapply(mActivity, mResult); 174 mRemoteViews.reapply(mActivity, mResult); 178 mRemoteViews.reapply(mActivity, mResult); 183 mRemoteViews.reapply(mActivity, mResult); 200 mRemoteViews.reapply(mActivity, mResult) [all...] |
ScrollViewTest.java | 67 private Activity mActivity; 76 mActivity = getActivity(); 77 mScrollView = (MyScrollView) mActivity.findViewById(R.id.scroll_view); 108 XmlPullParser parser = mActivity.getResources().getLayout(R.layout.scrollview_layout); 110 new ScrollView(mActivity); 112 new ScrollView(mActivity, attrs); 114 new ScrollView(mActivity, attrs, 0); 124 ScrollView scrollView = new ScrollView(mActivity); 141 ScrollView scrollView = new ScrollView(mActivity); 142 TextView child0 = new TextView(mActivity); [all...] |
AbsListViewTest.java | 66 private Activity mActivity; 86 mActivity = getActivity(); 89 XmlPullParser parser = mActivity.getResources().getXml(R.layout.listview_layout); 93 mAdapter_countries = new ArrayAdapter<String>(mActivity, 96 mListView = (ListView)mActivity.findViewById(R.id.listview_default); 242 TouchUtils.scrollToBottom(this, mActivity, mListView); 412 final Drawable d = mActivity.getResources().getDrawable(R.drawable.pass); 459 TextView tv1 = (TextView) mActivity.findViewById(R.id.headerview1); 460 TextView tv2 = (TextView) mActivity.findViewById(R.id.footerview1); 532 MyListView listView = new MyListView(mActivity); [all...] |
TextViewTest.java | 106 private Activity mActivity; 120 mActivity = getActivity(); 142 new TextView(mActivity); 144 new TextView(mActivity, null); 146 new TextView(mActivity, null, 0); 165 String expected = mActivity.getResources().getString(R.string.text_view_hello); 179 mTextView = new TextView(mActivity); 192 mActivity.runOnUiThread(new Runnable() { 208 mActivity.runOnUiThread(runnable); 227 mActivity.runOnUiThread(new Runnable() [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
SelectCalendarsAdapter.java | 63 private final SelectCalendarsActivity mActivity; 155 mActivity.startManagingCursor(newCursor); 162 mActivity.stopManagingCursor(currentCursor); 223 mActivity = act; 238 mView = mActivity.getExpandableListView(); 296 Context authContext = mActivity.createPackageContext(desc.packageName, 0);
|
/packages/apps/Music/src/com/android/music/ |
PlaylistBrowserActivity.java | 538 private PlaylistBrowserActivity mActivity = null; 550 //Log.i("@@@", "query complete: " + cursor.getCount() + " " + mActivity); 552 cursor = mActivity.mergedCursor(cursor); 554 mActivity.init(cursor); 561 mActivity = currentactivity; 573 mActivity = newactivity; 608 if (mActivity.isFinishing() && cursor != null) { 612 if (cursor != mActivity.mPlaylistCursor) { 613 mActivity.mPlaylistCursor = cursor; 627 Cursor c = mActivity.getPlaylistCursor(null, s) [all...] |
AlbumBrowserActivity.java | 518 private AlbumBrowserActivity mActivity; 538 mActivity.init(cursor); 546 mActivity = currentactivity; 581 mActivity = newactivity; 645 if (mActivity.isFinishing() && cursor != null) { 649 if (cursor != mActivity.mAlbumCursor) { 650 mActivity.mAlbumCursor = cursor; 664 Cursor c = mActivity.getAlbumCursor(null, s);
|
ArtistAlbumBrowserActivity.java | 571 private ArtistAlbumBrowserActivity mActivity; 591 mActivity.init(cursor); 599 mActivity = currentactivity; 633 mActivity = newactivity; 778 Cursor c = MusicUtils.query(mActivity, [all...] |
/frameworks/base/services/java/com/android/server/ |
Watchdog.java | 95 ActivityManagerService mActivity; 404 mActivity = activity; 468 mActivity.requestPss(mGlobalPssCollected); 562 mActivity.collectPss(stats); [all...] |
PackageManagerService.java | [all...] |
/packages/apps/Browser/src/com/android/browser/ |
Tab.java | 131 private final BrowserActivity mActivity; 251 mActivity.sendBroadcast(logIntent); 264 mActivity.showVoiceTitleBar(mVoiceSearchData.mLastVoiceSearchTitle); 291 mVoiceSearchData.mLastVoiceSearchUrl = mActivity.smartUrlFilter( 432 AlertDialog d = new AlertDialog.Builder(mActivity) 458 mActivity.sendBroadcast(i); 462 mActivity.revertVoiceTitleBar(); 470 mActivity.removeMessages(BrowserActivity.UPDATE_BOOKMARK_THUMBNAIL, 484 if (mActivity.shouldShowErrorConsole()) { 491 BrowserBookmarksAdapter.updateBookmarkFavicon(mActivity [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
RecentCallsListActivity.java | 660 private final WeakReference<RecentCallsListActivity> mActivity; 694 mActivity = new WeakReference<RecentCallsListActivity>( 700 final RecentCallsListActivity activity = mActivity.get(); [all...] |
ContactsListActivity.java | [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
ViewTest.java | 97 private Activity mActivity; 107 mActivity = getActivity(); 108 mResources = mActivity.getResources(); 109 mMockParent = new MockViewParent(mActivity); 130 new View(mActivity); 134 new View(mActivity, attrs); 136 new View(mActivity, null); 144 new View(mActivity, attrs, 0); 146 new View(mActivity, null, 1); 161 View view = new View(mActivity); [all...] |