Home
last modified time | relevance | path

Searched refs:mActivity (Results 1 – 25 of 31) sorted by relevance

12

/packages/apps/Browser/src/com/android/browser/
DTab.java132 private final BrowserActivity mActivity; field in Tab
174 mActivity.revertVoiceTitleBar(); in revertVoiceSearchMode()
262 mActivity.sendBroadcast(logIntent); in activateVoiceSearchMode()
275 mActivity.showVoiceTitleBar(mVoiceSearchData.mLastVoiceSearchTitle); in activateVoiceSearchMode()
302 mVoiceSearchData.mLastVoiceSearchUrl = mActivity.smartUrlFilter( in activateVoiceSearchMode()
443 AlertDialog d = new AlertDialog.Builder(mActivity) in showError()
469 mActivity.sendBroadcast(i);
478 mActivity.removeMessages(BrowserActivity.UPDATE_BOOKMARK_THUMBNAIL,
492 if (mActivity.shouldShowErrorConsole()) {
499 BrowserBookmarksAdapter.updateBookmarkFavicon(mActivity
[all …]
DFetchUrlMimeType.java49 BrowserActivity mActivity; field in FetchUrlMimeType
53 mActivity = activity; in FetchUrlMimeType()
130 mActivity.getContentResolver().insert(Downloads.Impl.CONTENT_URI, mValues); in onPostExecute()
DTabControl.java47 private final BrowserActivity mActivity; field in TabControl
58 mActivity = activity; in TabControl()
67 return mActivity; in getBrowserActivity()
166 Tab t = new Tab(mActivity, w, closeOnExit, appId, url); in createNewTab()
301 Tab t = new Tab(mActivity, null, false, null, null); in restoreState()
533 WebView w = new WebView(mActivity); in createNewWebView()
548 Bitmap bm = BitmapFactory.decodeResource(mActivity.getResources(), in createNewWebView()
/packages/apps/Email/tests/src/com/android/email/activity/setup/
DAccountSetupExchangeTests.java44 private AccountSetupExchange mActivity; field in AccountSetupExchangeTests
148 ProviderTestUtils.setupAccount("account", false, mActivity.getBaseContext()); in testLoadFields()
150 "eas", "hostauth", 1, false, mActivity.getBaseContext()); in testLoadFields()
153 mActivity.loadFields(account); in testLoadFields()
161 mActivity.loadFields(account); in testLoadFields()
195 URI uri = mActivity.getUri(); in checkPassword()
212 mActivity = getActivity(); in getActivityAndFields()
213 mServerView = (EditText) mActivity.findViewById(R.id.account_server); in getActivityAndFields()
214 mPasswordView = (EditText) mActivity.findViewById(R.id.account_password); in getActivityAndFields()
215 mNextButton = (Button) mActivity.findViewById(R.id.next); in getActivityAndFields()
[all …]
DAccountSetupOutgoingTests.java39 private AccountSetupOutgoing mActivity; field in AccountSetupOutgoingTests
156 URI uri = mActivity.getUri(); in checkPassword()
173 mActivity = getActivity(); in getActivityAndFields()
174 mServerView = (EditText) mActivity.findViewById(R.id.account_server); in getActivityAndFields()
175 mPasswordView = (EditText) mActivity.findViewById(R.id.account_password); in getActivityAndFields()
176 mNextButton = (Button) mActivity.findViewById(R.id.next); in getActivityAndFields()
DAccountSetupIncomingTests.java42 private AccountSetupIncoming mActivity; field in AccountSetupIncomingTests
161 URI uri = mActivity.getUri(); in checkPassword()
179 mActivity = getActivity(); in getActivityAndFields()
180 mServerView = (EditText) mActivity.findViewById(R.id.account_server); in getActivityAndFields()
181 mPasswordView = (EditText) mActivity.findViewById(R.id.account_password); in getActivityAndFields()
182 mNextButton = (Button) mActivity.findViewById(R.id.next); in getActivityAndFields()
DAccountSetupNamesTests.java44 private AccountSetupNames mActivity; field in AccountSetupNamesTests
116 mActivity = getActivity(); in getActivityAndFields()
117 mDoneButton = (Button) mActivity.findViewById(R.id.done); in getActivityAndFields()
DAccountSetupOptionsTests.java39 private AccountSetupOptions mActivity; field in AccountSetupOptionsTests
95 mActivity = getActivity(); in getActivityAndFields()
96 mCheckFrequencyView = (Spinner) mActivity.findViewById(R.id.account_check_frequency); in getActivityAndFields()
DAccountSettingsTests.java44 private AccountSettings mActivity; field in AccountSettingsTests
129 mActivity = getActivity(); in getActivityAndFields()
130 mCheckFrequency = (ListPreference) mActivity.findPreference(PREFERENCE_FREQUENCY); in getActivityAndFields()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDebug.java56 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/Mms/src/com/android/mms/data/
DWorkingMessage.java83 private final Activity mActivity; field in WorkingMessage
188 mActivity = activity; in WorkingMessage()
189 mContentResolver = mActivity.getContentResolver(); in WorkingMessage()
262 mSlideshow = SlideshowModel.createFromMessageUri(mActivity, uri); in loadFromUri()
307 Uri uri = readDraftMmsMessage(mActivity, threadId, sb); in loadFromConversation()
387 SlideshowEditor slideShowEditor = new SlideshowEditor(mActivity, mSlideshow); in setAttachment()
455 SlideshowModel slideshow = SlideshowModel.createNew(mActivity); in ensureSlideshow()
487 media = new ImageModel(mActivity, uri, mSlideshow.getLayout().getImageRegion()); in changeMedia()
489 media = new VideoModel(mActivity, uri, mSlideshow.getLayout().getImageRegion()); in changeMedia()
491 media = new AudioModel(mActivity, uri); in changeMedia()
[all …]
/packages/apps/Settings/src/com/android/settings/
DChooseLockSettingsHelper.java27 private Activity mActivity; field in ChooseLockSettingsHelper
30 mActivity = activity; in ChooseLockSettingsHelper()
78 mActivity.startActivityForResult(intent, request); in confirmPattern()
91 mActivity.startActivityForResult(intent, request); in confirmPassword()
/packages/apps/Contacts/tests/src/com/android/contacts/
DRecentCallsListActivityTests.java70 private RecentCallsListActivity mActivity; field in RecentCallsListActivityTests
100 mActivity = 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.newStandAloneView(mActivity, mParentView); in buildViewListFromDb()
229 mAdapter.bindStandAloneView(mList[i], mActivity, mCursor); in buildViewListFromDb()
/packages/apps/Calculator/tests/src/com/android/calculator2/
DCalculatorHitSomeButtons.java47 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/VoiceDialer/src/com/android/voicedialer/
DRecognizerEngine.java75 protected Activity mActivity; field in RecognizerEngine
118 mActivity = activity; in recognize()
121 if (RecognizerLogger.isEnabled(mActivity)) { in recognize()
122 mLogger = new RecognizerLogger(mActivity); in recognize()
DCommandRecognizerEngine.java128 VoiceContact.getVoiceContacts(mActivity); in setupGrammar()
133 File g2g = mActivity.getFileStreamPath("voicedialer." + in setupGrammar()
139 deleteAllG2GFiles(mActivity); in setupGrammar()
228 File oe = mActivity.getFileStreamPath(OPEN_ENTRIES); in loadOpenEntriesTable()
235 PackageManager pm = mActivity.getPackageManager(); in loadOpenEntriesTable()
245 String voiceDialerClassName = mActivity.getComponentName().getClassName(); in loadOpenEntriesTable()
293 deleteCachedGrammarFiles(mActivity); in loadOpenEntriesTable()
311 deleteCachedGrammarFiles(mActivity); in loadOpenEntriesTable()
988 Resources res = mActivity.getResources(); in onRecognitionSuccess()
1120 String number = VoiceContact.redialNumber(mActivity); in onRecognitionSuccess()
[all …]
/packages/apps/Browser/tests/src/com/android/browser/
DJNIBindingsTestApp.java49 private BrowserActivity mActivity = null; field in JNIBindingsTestApp
110 mActivity = getActivity(); in setUp()
147 Tab tab = mActivity.getTabControl().getCurrentTab(); in setUpBrowser()
229 Tab tab = mActivity.getTabControl().getCurrentTab(); in testJNIBindings()
DPopularUrlsTest.java63 private BrowserActivity mActivity = null; field in PopularUrlsTest
79 mActivity = getActivity(); in setUp()
124 Tab tab = mActivity.getTabControl().getCurrentTab(); in setUpBrowser()
283 mActivity.getTabControl().getCurrentTab().getWebView().stopLoading(); in waitForLoad()
411 Tab tab = mActivity.getTabControl().getCurrentTab(); in loopUrls()
448 mActivity.onNewIntent(intent); in loopUrls()
/packages/apps/Music/src/com/android/music/
DQueryBrowserActivity.java343 private QueryBrowserActivity mActivity = null; field in QueryBrowserActivity.QueryListAdapter
355 mActivity.init(cursor); in onQueryComplete()
362 mActivity = currentactivity; in QueryListAdapter()
367 mActivity = newactivity; in setActivity()
456 if (mActivity.isFinishing() && cursor != null) { in changeCursor()
460 if (cursor != mActivity.mQueryCursor) { in changeCursor()
461 mActivity.mQueryCursor = cursor; in changeCursor()
473 Cursor c = mActivity.getQueryCursor(null, s); in runQueryOnBackgroundThread()
DAudioPreview.java416 AudioPreview mActivity; field in AudioPreview.PreviewPlayer
420 mActivity = activity; in setActivity()
422 setOnErrorListener(mActivity); in setActivity()
423 setOnCompletionListener(mActivity); in setActivity()
428 setDataSource(mActivity,uri); in setDataSourceAndPrepare()
438 mActivity.onPrepared(mp); in onPrepared()
DPlaylistBrowserActivity.java538 private PlaylistBrowserActivity mActivity = null; field in PlaylistBrowserActivity.PlaylistListAdapter
552 cursor = mActivity.mergedCursor(cursor); in onQueryComplete()
554 mActivity.init(cursor); in onQueryComplete()
561 mActivity = currentactivity; in PlaylistListAdapter()
573 mActivity = newactivity; in setActivity()
608 if (mActivity.isFinishing() && cursor != null) { in changeCursor()
612 if (cursor != mActivity.mPlaylistCursor) { in changeCursor()
613 mActivity.mPlaylistCursor = cursor; in changeCursor()
627 Cursor c = mActivity.getPlaylistCursor(null, s); in runQueryOnBackgroundThread()
DAlbumBrowserActivity.java505 private AlbumBrowserActivity mActivity; field in AlbumBrowserActivity.AlbumListAdapter
525 mActivity.init(cursor); in onQueryComplete()
533 mActivity = currentactivity; in AlbumListAdapter()
568 mActivity = newactivity; in setActivity()
632 if (mActivity.isFinishing() && cursor != null) { in changeCursor()
636 if (cursor != mActivity.mAlbumCursor) { in changeCursor()
637 mActivity.mAlbumCursor = cursor; in changeCursor()
651 Cursor c = mActivity.getAlbumCursor(null, s); in runQueryOnBackgroundThread()
/packages/apps/Email/src/com/android/exchange/provider/
DGalEmailAddressAdapter.java47 private Activity mActivity; field in GalEmailAddressAdapter
59 mActivity = activity; in GalEmailAddressAdapter()
82 HostAuth ha = HostAuth.restoreHostAuthWithId(mActivity, account.mHostAuthKeyRecv); in checkGalAccount()
154 mActivity.runOnUiThread(new Runnable() { in runQueryOnBackgroundThread()
/packages/apps/Calendar/src/com/android/calendar/
DSelectCalendarsAdapter.java63 private final SelectCalendarsActivity mActivity; field in SelectCalendarsAdapter
155 mActivity.startManagingCursor(newCursor); in onQueryComplete()
162 mActivity.stopManagingCursor(currentCursor); in onQueryComplete()
223 mActivity = act; in SelectCalendarsAdapter()
238 mView = mActivity.getExpandableListView(); in SelectCalendarsAdapter()
296 Context authContext = mActivity.createPackageContext(desc.packageName, 0); in getLabelForType()
/packages/apps/Gallery3D/src/com/cooliris/media/
DUtil.java203 private final MonitoredActivity mActivity; field in Util.BackgroundJob
209 mActivity.removeLifeCycleListener(BackgroundJob.this);
216 mActivity = activity; in BackgroundJob()
219 mActivity.addLifeCycleListener(this); in BackgroundJob()

12