Searched refs:activity (Results 176 - 200 of 338) sorted by relevance

1234567891011>>

/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSetupNames.java17 package com.android.email.activity.setup;
38 import com.android.email.activity.ActivityHelper;
39 import com.android.email.activity.UiUtilities;
234 * If security hold, dispatch to AccountSecurity activity
281 * Handle the eventual result from the security update activity
H A DAccountSetupType.java17 package com.android.email.activity.setup;
32 import com.android.email.activity.ActivityHelper;
33 import com.android.email.activity.UiUtilities;
44 * AccountSetupIncoming activity.
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DSinglePhotoDataAdapter.java57 AbstractGalleryActivity activity, PhotoView view, MediaItem item) {
62 mHandler = new SynchronizedHandler(activity.getGLRoot()) {
74 mThreadPool = activity.getThreadPool();
56 SinglePhotoDataAdapter( AbstractGalleryActivity activity, PhotoView view, MediaItem item) argument
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DCategoryAdapter.java185 FilterShowActivity activity = (FilterShowActivity) getContext();
187 activity.removeLook(action);
189 activity.removeVersion(action);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DAlbumSlotRenderer.java53 public AlbumSlotRenderer(AbstractGalleryActivity activity, SlotView slotView, argument
55 super(activity);
56 mActivity = activity;
H A DAlbumSetSlidingWindow.java94 public AlbumSetSlidingWindow(AbstractGalleryActivity activity, argument
100 mThreadPool = activity.getThreadPool();
102 mLabelMaker = new AlbumLabelMaker(activity.getAndroidContext(), labelSpec);
103 mLoadingText = activity.getAndroidContext().getString(R.string.loading);
104 mContentUploader = new TiledTexture.Uploader(activity.getGLRoot());
105 mLabelUploader = new TextureUploader(activity.getGLRoot());
107 mHandler = new SynchronizedHandler(activity.getGLRoot()) {
H A DMenuExecutor.java92 AbstractGalleryActivity activity, SelectionManager selectionManager) {
93 mActivity = Utils.checkNotNull(activity);
257 Activity activity = mActivity;
258 activity.startActivity(Intent.createChooser(
259 intent, activity.getString(R.string.set_as)));
338 Activity activity = mActivity;
340 mDialog = createProgressDialog(activity, title, ids.size());
91 MenuExecutor( AbstractGalleryActivity activity, SelectionManager selectionManager) argument
/packages/apps/Gallery2/src/com/android/photos/
H A DMultiSelectGridFragment.java74 public void onAttach(Activity activity) { argument
75 super.onAttach(activity);
76 mHost = (MultiChoiceManager.Provider) activity;
168 * Get the activity's grid view widget.
266 * Get the ListAdapter associated with this activity's GridView.
H A DMultiChoiceManager.java71 public MultiChoiceManager(Activity activity) { argument
72 mContext = activity;
73 mSelectionManager = new SelectionManager(activity);
/packages/apps/Settings/src/com/android/settings/print/
H A DPrintServiceSettingsFragment.java328 PreferenceActivity activity = (PreferenceActivity) getActivity();
329 if (!activity.onIsMultiPane() || activity.onIsHidingHeaders()) {
347 // The activity is a component name, therefore it is one or none.
367 // The activity is a component name, therefore it is one or none.
436 Activity activity = getActivity();
437 if (activity != null && !activity.isFinishing()
438 && AccessibilityManager.getInstance(activity).isEnabled()) {
449 private ToggleSwitch createAndAddActionBarToggleSwitch(Activity activity) { argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DSecureConversationViewFragment.java61 // Ignore unsafe calls made after a fragment is detached from an activity.
105 * Constructor needs to be public to handle orientation changes and activity
196 // Ignore unsafe calls made after a fragment is detached from an activity
197 final ControllableActivity activity = (ControllableActivity) getActivity();
199 if (activity == null || mConversation == null || message == null) {
206 activity.getConversationUpdater().markConversationMessagesUnread(mConversation, uris,
/packages/apps/Browser/src/com/android/browser/
H A DIntentHandler.java243 * Launches the default web search activity with the query parameters if the given intent's data
245 * @return true if the intent was handled and web search activity was launched, false if not.
247 static boolean handleWebSearchIntent(Activity activity, argument
261 return handleWebSearchRequest(activity, controller, url,
267 * Launches the default web search activity with the query parameters if the given url string
269 * @return true if the request was handled and web search activity was launched, false if not.
271 private static boolean handleWebSearchRequest(Activity activity, argument
288 final ContentResolver cr = activity.getContentResolver();
305 searchEngine.startSearch(activity, url, appData, extraData);
H A DNavigationBarPhone.java173 Activity activity = mUiController.getActivity();
178 if (!activity.onCreateOptionsMenu(mPopupMenu.getMenu())) {
184 if (activity.onPrepareOptionsMenu(menu)) {
/packages/apps/Settings/src/com/android/settings/
H A DNotificationStation.java102 public void onAttach(Activity activity) { argument
103 logd("onAttach(%s)", activity.getClass().getSimpleName());
104 super.onAttach(activity);
105 mContext = activity;
123 Activity activity = getActivity();
H A DProxySelector.java162 final Activity activity = getActivity();
188 final Intent intent = activity.getIntent();
197 activity.setTitle(title);
/packages/apps/DeskClock/src/com/android/deskclock/
H A DDeskClock.java300 // No activity found to match the intent - ignore
372 public TabsAdapter(Activity activity, ViewPager pager) { argument
373 super(activity.getFragmentManager());
374 mContext = activity;
375 mMainActionBar = activity.getActionBar();
511 public OnTapListener(Activity activity, TextView makePressedView) { argument
513 mPressedColor = activity.getResources().getColor(Utils.getPressedColorId());
514 mGrayColor = activity.getResources().getColor(Utils.getGrayColorId());
/packages/apps/LegacyCamera/src/com/android/camera/
H A DUtil.java257 public static android.hardware.Camera openCamera(Activity activity, int cameraId) argument
260 DevicePolicyManager dpm = (DevicePolicyManager) activity.getSystemService(
279 public static void showErrorAndFinish(final Activity activity, int msgId) { argument
283 activity.finish();
286 new AlertDialog.Builder(activity)
326 public static int getDisplayRotation(Activity activity) { argument
327 int rotation = activity.getWindowManager().getDefaultDisplay()
/packages/apps/Dialer/src/com/android/dialer/dialpad/
H A DDialpadFragment.java80 import com.android.contacts.common.activity.TransactionSafeActivity;
317 final Activity activity = getActivity();
318 if (activity != null) {
319 activity.invalidateOptionsMenu();
465 final Activity activity = getActivity();
468 ((OnDialpadFragmentStartedListener) activity).onDialpadFragmentStarted();
470 throw new ClassCastException(activity.toString()
680 final DialtactsActivity activity = (DialtactsActivity) getActivity();
681 mDialpadQueryListener = activity;
691 final ContentResolver contentResolver = activity
[all...]
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DContactEditorFragment.java166 * Navigate to Contacts Home activity after saving.
197 * Prevents saving while running a child activity.
215 * the only "active" one should get the activity result. This member represents the active
274 public AggregationSuggestionAdapter(Activity activity, boolean setNewContact, argument
276 mActivity = activity;
342 final Activity activity = getActivity();
343 if (activity != null) activity.invalidateOptionsMenu();
348 public void onAttach(Activity activity) { argument
349 super.onAttach(activity);
[all...]
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEditEventFragment.java169 final Activity activity = EditEventFragment.this.getActivity();
170 if (activity == null || activity.isFinishing()) {
546 public void onAttach(Activity activity) { argument
547 super.onAttach(activity);
548 mActivity = activity;
550 mHelper = new EditEventHelper(activity, null);
551 mHandler = new QueryHandler(activity.getContentResolver());
552 mModel = new CalendarEventModel(activity, mIntent);
554 activity
[all...]
/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupEditorFragment.java215 public void onAttach(Activity activity) { argument
216 super.onAttach(activity);
217 mContext = activity;
473 Log.i(TAG, "Group not found with URI: " + mGroupUri + " Closing activity now.");
568 * finishes the activity. This actually only handles saving the group name.
591 Activity activity = getActivity();
592 // If the activity is not there anymore, then we can't continue with the save process.
593 if (activity == null) {
602 saveIntent = ContactSaveService.createNewGroupIntent(activity,
605 membersToAddArray, activity
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
H A DNotificationImportExportListener.java51 public NotificationImportExportListener(Activity activity) { argument
52 mContext = activity;
53 mNotificationManager = (NotificationManager) activity.getSystemService(
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DCallLogFragment.java210 Activity activity = getActivity();
211 if (activity != null) {
213 activity.invalidateOptionsMenu();
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
H A DIngestService.java141 protected void setClientActivity(IngestActivity activity) { argument
142 if (mClientActivity == activity) return;
143 mClientActivity = activity;
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
H A DLiveWallpaperPreview.java60 static void showPreview(Activity activity, int code, Intent intent, WallpaperInfo info) { argument
65 Intent preview = new Intent(activity, LiveWallpaperPreview.class);
69 activity.startActivityForResult(preview, code);

Completed in 1815 milliseconds

1234567891011>>