/packages/apps/IM/src/com/android/im/app/ |
D | SimpleAlertHandler.java | 35 Activity mActivity; field in SimpleAlertHandler 39 mActivity = activity; in SimpleAlertHandler() 40 mRes = mActivity.getResources(); in SimpleAlertHandler() 45 ImApp app = ImApp.getApplication(mActivity); in promptDisconnectedEvent() 50 promptMsg = mActivity.getString(R.string.signed_out_prompt_with_error, in promptDisconnectedEvent() 53 promptMsg = mActivity.getString(R.string.signed_out_prompt, provider.mName); in promptDisconnectedEvent() 55 Toast.makeText(mActivity, promptMsg, Toast.LENGTH_SHORT).show(); in promptDisconnectedEvent() 59 ImApp.getApplication(mActivity).registerForBroadcastEvent( in registerForBroadcastEvents() 65 ImApp.getApplication(mActivity).unregisterForBroadcastEvent( in unregisterForBroadcastEvents() 84 new AlertDialog.Builder(mActivity) in showAlert() [all …]
|
D | ChatSwitcher.java | 60 private Activity mActivity; field in ChatSwitcher 173 mSwitcherAdapter.bindView(v, mActivity, c); in updateTimes() 241 mSwitcherAdapter.bindView(v, mActivity, c); in update() 273 if (0 != (mActivity.getResources().getConfiguration().keyboard & in dispatchKeyEvent() 341 mActivity = a; in SwitcherAdapter() 440 mActivity = a; in ChatSwitcher() 450 mQueryHandler = new AsyncQueryHandler(mActivity.getContentResolver()) { in ChatSwitcher() 549 mChatSwitcherDialog = new ChatSwitcherDialog(mActivity, this); in open() 563 if (mActivity.isFinishing()) { 597 if (isOpen() && !mActivity.isFinishing()) { in onResume() [all …]
|
D | ProviderListItem.java | 40 private LandingPage mActivity; field in ProviderListItem 62 mActivity = activity; in ProviderListItem() 102 ImApp app = ImApp.getApplication(mActivity); in bindView() 136 ContentResolver cr = mActivity.getContentResolver(); in bindView()
|
D | ContactListTreeAdapter.java | 62 Activity mActivity; field in ContactListTreeAdapter 144 mActivity = activity; in ContactListTreeAdapter() 298 ((TextView) view).setText(mActivity.getText(R.string.empty_conversation_group)); in getChildView() 395 ImApp app = ImApp.getApplication(mActivity); in getGroupView() 562 super(cursor, mActivity); in ListTreeAdapter() 570 ((TextView) view).setText(mActivity.getText(R.string.empty_contact_group)); in bindChildView() 603 mActivity.getText(R.string.empty_contact_group)); in getChildView() 644 ContentResolver cr = mActivity.getContentResolver(); in getOnlineChildCount()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarDebug.java | 56 private ListActivity mActivity; field in CalendarDebug 88 addItem(items, mActivity.getString(R.string.calendar_info_error), ""); in doInBackground() 121 text = mActivity.getString(R.string.calendar_info_events, in doInBackground() 124 text = mActivity.getString(R.string.calendar_info_events_dirty, in doInBackground() 134 addItem(items, mActivity.getString(R.string.calendar_info_error), e.toString()); in doInBackground() 142 addItem(items, mActivity.getString(R.string.calendar_info_no_calendars), ""); in doInBackground() 157 ListAdapter adapter = new SimpleAdapter(mActivity, items, in onPostExecute() 169 mActivity = this; in onCreate()
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | RecentCallsListActivityTests.java | 70 private RecentCallsListActivity mActivity; field in RecentCallsListActivityTests 100 mActivity = (RecentCallsListActivity) getActivity(); in setUp() 101 mVoicemail = mActivity.mVoiceMailNumber; in setUp() 102 mAdapter = mActivity.mAdapter; in setUp() 103 mParentView = new FrameLayout(mActivity); in setUp() 195 Resources r = mActivity.getResources(); in getBitmap() 227 mList[i] = mAdapter.newView(mActivity, mCursor, mParentView); in buildViewListFromDb() 229 mAdapter.bindView(mList[i], mActivity, mCursor); in buildViewListFromDb()
|
/packages/apps/Calculator/tests/src/com/android/calculator2/ |
D | CalculatorHitSomeButtons.java | 47 Calculator mActivity = null; field in CalculatorHitSomeButtons 58 mActivity = getActivity(); in setUp() 113 assertEquals(displayVal(), mActivity.getString(R.string.minus) + "600"); in testTapSomeButtons() 122 View view = mActivity.findViewById(id); in tap() 131 CalculatorDisplay display = (CalculatorDisplay) mActivity.findViewById(R.id.display); in displayVal()
|
/packages/apps/Browser/src/com/android/browser/ |
D | DownloadTouchIcon.java | 45 /* package */ BrowserActivity mActivity; field in DownloadTouchIcon 49 mActivity = activity; in DownloadTouchIcon() 59 mActivity = null; in DownloadTouchIcon() 112 if (mActivity != null) { in onPostExecute() 114 mActivity.mTouchIconLoader = null; in onPostExecute()
|
D | FetchUrlMimeType.java | 49 BrowserActivity mActivity; field in FetchUrlMimeType 53 mActivity = activity; in FetchUrlMimeType() 130 mActivity.getContentResolver().insert(Downloads.CONTENT_URI, mValues); in onPostExecute() 131 mActivity.viewDownloads(contentUri); in onPostExecute()
|
D | TabControl.java | 68 private final BrowserActivity mActivity; field in TabControl 145 mActivity.dismissSubWindow(mTab); in onCloseWindow() 154 mActivity.switchToTab(getTabIndex(t)); in onRequestFocus() 466 mActivity = activity; in TabControl() 478 return mActivity; in getBrowserActivity() 509 t.mErrorConsole = new ErrorConsoleView(mActivity); in getCurrentErrorConsole() 595 Tab t = new Tab(w, closeOnExit, appId, url, mActivity); in createNewTab() 768 Tab t = new Tab(null, false, null, null, mActivity); in restoreState() 882 new SubWindowClient(mActivity.getWebViewClient()); in createSubWindow() 885 mActivity.getWebChromeClient()); in createSubWindow() [all …]
|
/packages/apps/Email/tests/src/com/android/email/activity/setup/ |
D | AccountSetupIncomingTests.java | 39 private AccountSetupIncoming mActivity; field in AccountSetupIncomingTests 138 mActivity = getActivity(); in getActivityAndFields() 139 mServerView = (EditText) mActivity.findViewById(R.id.account_server); in getActivityAndFields() 140 mNextButton = (Button) mActivity.findViewById(R.id.next); in getActivityAndFields()
|
D | AccountSetupExchangeTests.java | 39 private AccountSetupExchange mActivity; field in AccountSetupExchangeTests 126 mActivity = getActivity(); in getActivityAndFields() 127 mServerView = (EditText) mActivity.findViewById(R.id.account_server); in getActivityAndFields() 128 mNextButton = (Button) mActivity.findViewById(R.id.next); in getActivityAndFields()
|
D | AccountSetupOutgoingTests.java | 36 private AccountSetupOutgoing mActivity; field in AccountSetupOutgoingTests 132 mActivity = getActivity(); in getActivityAndFields() 133 mServerView = (EditText) mActivity.findViewById(R.id.account_server); in getActivityAndFields() 134 mNextButton = (Button) mActivity.findViewById(R.id.next); in getActivityAndFields()
|
D | AccountSetupNamesTests.java | 43 private AccountSetupNames mActivity; field in AccountSetupNamesTests 103 mActivity = getActivity(); in getActivityAndFields() 104 mDoneButton = (Button) mActivity.findViewById(R.id.done); in getActivityAndFields()
|
D | AccountSetupOptionsTests.java | 39 private AccountSetupOptions mActivity; field in AccountSetupOptionsTests 95 mActivity = getActivity(); in getActivityAndFields() 96 mCheckFrequencyView = (Spinner) mActivity.findViewById(R.id.account_check_frequency); in getActivityAndFields()
|
D | AccountSettingsTests.java | 44 private AccountSettings mActivity; field in AccountSettingsTests 129 mActivity = getActivity(); in getActivityAndFields() 130 mCheckFrequency = (ListPreference) mActivity.findPreference(PREFERENCE_FREQUENCY); in getActivityAndFields()
|
/packages/apps/Music/src/com/android/music/ |
D | QueryBrowserActivity.java | 340 private QueryBrowserActivity mActivity = null; field in QueryBrowserActivity.QueryListAdapter 352 mActivity.init(cursor); in onQueryComplete() 359 mActivity = currentactivity; in QueryListAdapter() 364 mActivity = newactivity; in setActivity() 453 if (cursor != mActivity.mQueryCursor) { in changeCursor() 454 mActivity.mQueryCursor = cursor; in changeCursor() 466 Cursor c = mActivity.getQueryCursor(null, s); in runQueryOnBackgroundThread()
|
D | PlaylistBrowserActivity.java | 522 private PlaylistBrowserActivity mActivity = null; field in PlaylistBrowserActivity.PlaylistListAdapter 536 cursor = mActivity.mergedCursor(cursor); in onQueryComplete() 538 mActivity.init(cursor); in onQueryComplete() 545 mActivity = currentactivity; in PlaylistListAdapter() 557 mActivity = newactivity; in setActivity() 592 if (cursor != mActivity.mPlaylistCursor) { in changeCursor() 593 mActivity.mPlaylistCursor = cursor; in changeCursor() 607 Cursor c = mActivity.getPlaylistCursor(null, s); in runQueryOnBackgroundThread()
|
D | AlbumBrowserActivity.java | 497 private AlbumBrowserActivity mActivity; field in AlbumBrowserActivity.AlbumListAdapter 517 mActivity.init(cursor); in onQueryComplete() 525 mActivity = currentactivity; in AlbumListAdapter() 560 mActivity = newactivity; in setActivity() 624 if (cursor != mActivity.mAlbumCursor) { in changeCursor() 625 mActivity.mAlbumCursor = cursor; in changeCursor() 639 Cursor c = mActivity.getAlbumCursor(null, s); in runQueryOnBackgroundThread()
|
D | ArtistAlbumBrowserActivity.java | 554 private ArtistAlbumBrowserActivity mActivity; field in ArtistAlbumBrowserActivity.ArtistAlbumListAdapter 574 mActivity.init(cursor); in onQueryComplete() 582 mActivity = currentactivity; in ArtistAlbumListAdapter() 616 mActivity = newactivity; in setActivity() 761 Cursor c = MusicUtils.query(mActivity, in getChildrenCursor() 811 if (cursor != mActivity.mArtistCursor) { in changeCursor() 812 mActivity.mArtistCursor = cursor; in changeCursor() 826 Cursor c = mActivity.getArtistCursor(null, s); in runQueryOnBackgroundThread()
|
D | TrackBrowserActivity.java | 1276 private TrackBrowserActivity mActivity = null; 1321 return MusicUtils.query(mActivity, 1328 mActivity.init(cursor); 1341 mActivity = currentactivity; 1352 mActivity = newactivity; 1373 } else if (!mActivity.mEditMode) { 1374 String alpha = mActivity.getString( 1386 if (mActivity.mEditMode) { 1471 if (cursor != mActivity.mTrackCursor) { 1472 mActivity.mTrackCursor = cursor; [all …]
|
/packages/apps/Camera/src/com/android/camera/ |
D | Util.java | 388 private final MonitoredActivity mActivity; field in Util.BackgroundJob 394 mActivity.removeLifeCycleListener(BackgroundJob.this); 401 mActivity = activity; in BackgroundJob() 404 mActivity.addLifeCycleListener(this); in BackgroundJob()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | Util.java | 390 private final MonitoredActivity mActivity; field in Util.BackgroundJob 396 mActivity.removeLifeCycleListener(BackgroundJob.this); 403 mActivity = activity; in BackgroundJob() 406 mActivity.addLifeCycleListener(this); in BackgroundJob()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | RecentCallsListActivity.java | 529 private final WeakReference<RecentCallsListActivity> mActivity; field in RecentCallsListActivity.QueryHandler 563 mActivity = new WeakReference<RecentCallsListActivity>( in QueryHandler() 569 final RecentCallsListActivity activity = mActivity.get(); in onQueryComplete()
|
D | ContactsListActivity.java | 1969 protected final WeakReference<ContactsListActivity> mActivity; field in ContactsListActivity.QueryHandler 1974 mActivity = new WeakReference<ContactsListActivity>((ContactsListActivity) context); in QueryHandler() 1983 final ContactsListActivity activity = mActivity.get(); in onQueryComplete()
|