/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
H A D | LiveWallpaperActivity.java | 94 * when the activity is no longer associated with this dying dialog fragment. We 97 Activity activity = getActivity(); 98 if (activity != null) { 99 activity.finish(); 119 /* If this fragment is embedded in the layout of this activity, then we should
|
H A D | LiveWallpaperPreview.java | 61 static void showPreview(Activity activity, int code, Intent intent, WallpaperInfo info) { argument 66 Intent preview = new Intent(activity, LiveWallpaperPreview.class); 70 activity.startActivityForResult(preview, code);
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | RespondViaSmsSettings.java | 44 * Settings activity under "Call settings" to let you manage the 152 public static void goUpToTopLevelSetting(Activity activity) { argument 153 activity.finish();
|
/packages/services/Telephony/src/com/android/phone/ |
H A D | CallFeaturesSetting.java | 83 * Note that this activity is part of the package com.android.phone, even 109 // intent action sent by this activity to a voice mail provider 422 * They key in this map is package name + activity name. 752 if (DBG) log("Relaunching activity and ignoring " + victim); 843 // WindowManager$BadTokenException if called after the activity has 1385 // Set Button 3, tells the activity that the error is 1420 // Close button is mapped to BUTTON_POSITIVE for the errors that close the activity, 1451 // we finish the settings activity here to come back to whatever the user was doing. 1642 // check the intent that started this activity and pop up the voicemail 1777 * Note that the provider name is loaded form the found activity vi 2047 goUpToTopLevelSetting(Activity activity) argument [all...] |
H A D | PhoneGlobals.java | 153 // The currently-active PUK entry activity and progress dialog. 387 // Monitors call activity from the telephony layer 556 * Sets the activity responsible for un-PUK-blocking the device 563 * @param activity is the activity to close when PUK has 567 void setPukEntryActivity(Activity activity) { argument 568 mPUKEntryActivity = activity; 640 * manager to wake up the screen for the user activity timeout duration. 701 * we need to do this for touch events that really do count as user activity
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
H A D | DictionarySettingsFragment.java | 97 final Activity activity = getActivity(); 98 mClientId = activity.getIntent().getStringExtra(DICT_SETTINGS_FRAGMENT_CLIENT_ID_ARGUMENT); 100 (ConnectivityManager)activity.getSystemService(Context.CONNECTIVITY_SERVICE); 125 final Activity activity = getActivity(); 126 if (!MetadataDbHelper.isClientKnown(activity, mClientId)) { 132 activity.sendBroadcast(unknownClientBroadcast); 143 final Activity activity = getActivity(); 145 activity.unregisterReceiver(mConnectivityChangedReceiver); 149 activity.sendBroadcast(newDictBroadcast); 171 final Activity activity 242 createErrorMessage(final Activity activity, final int messageResource) argument [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
H A D | CorrectionSettingsFragment.java | 101 final Activity activity = getActivity(); 102 final TreeSet<String> localeList = UserDictionaryList.getUserDictionaryLocalesSet(activity);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
H A D | UserDictionaryAddWordContents.java | 253 public ArrayList<LocaleRenderer> getLocalesList(final Activity activity) { argument 254 final TreeSet<String> locales = UserDictionaryList.getUserDictionaryLocalesSet(activity); 264 addLocaleDisplayNameToList(activity, localesList, mLocale); 266 addLocaleDisplayNameToList(activity, localesList, systemLocale); 270 addLocaleDisplayNameToList(activity, localesList, l); 274 addLocaleDisplayNameToList(activity, localesList, ""); // meaning: all languages 276 localesList.add(new LocaleRenderer(activity, null)); // meaning: select another locale
|
H A D | UserDictionaryList.java | 55 public static TreeSet<String> getUserDictionaryLocalesSet(Activity activity) { argument 56 final Cursor cursor = activity.getContentResolver().query(UserDictionary.Words.CONTENT_URI, 82 (InputMethodManager)activity.getSystemService(Context.INPUT_METHOD_SERVICE); 112 final Activity activity = getActivity(); 115 UserDictionaryList.getUserDictionaryLocalesSet(activity); 124 userDictGroup.addPreference(createUserDictionaryPreference(null, activity)); 127 userDictGroup.addPreference(createUserDictionaryPreference(locale, activity)); 137 protected Preference createUserDictionaryPreference(String locale, Activity activity) { argument
|
/packages/apps/UnifiedEmail/src/com/android/mail/adapter/ |
H A D | DrawerItem.java | 74 /** The parent activity */ 126 * @param activity the underlying activity 137 private DrawerItem(int type, ControllableActivity activity, Folder folder, int folderType, argument 140 mActivity = activity; 146 mInflater = LayoutInflater.from(activity.getActivityContext()); 156 * @param activity the underlying activity 162 public static DrawerItem ofFolder(ControllableActivity activity, Folder folder, argument 164 return new DrawerItem(VIEW_FOLDER, activity, folde 187 ofAccount(ControllableActivity activity, Account account, int unreadCount, boolean isCurrentAccount, BitmapCache cache, ContactResolver contactResolver) argument 210 ofHeader(ControllableActivity activity, int resource) argument 224 ofBlankHeader(ControllableActivity activity) argument 239 ofWaitView(ControllableActivity activity) argument [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | ConversationCursor.java | 190 public ConversationCursor(Activity activity, Uri uri, boolean useInitialConversationLimit, argument 193 mResolver = activity.getApplicationContext().getContentResolver(); 200 mCachingEnabled = !Utils.isLowRamDevice(activity); 462 // Later, when the idler signals that the activity is idle, start a task to cache
|
H A D | ConversationItemView.java | 553 public void bind(final Conversation conversation, final ControllableActivity activity, argument 559 bind(ConversationItemViewModel.forConversation(mAccount, conversation), activity, 568 final ControllableActivity activity, 573 bind(conversationItemViewModel, activity, conversationItemAreaClickListener, null /* set */, 580 private void bind(final ConversationItemViewModel header, final ControllableActivity activity, argument 611 mActivity = activity; 567 bindAd(final ConversationItemViewModel conversationItemViewModel, final ControllableActivity activity, final ConversationItemAreaClickListener conversationItemAreaClickListener, final Folder folder, final int checkboxOrSenderImage, final AnimatedAdapter adapter, final int backgroundOverrideResId, final Bitmap photoBitmap) argument
|
H A D | ConversationPagerController.java | 44 * ViewPager in the activity's view hierarchy at all times and have this controller manage it. 51 * cons: the activity's Controller has to specially handle show/hide conversation view, 87 public ConversationPagerController(RestrictedActivity activity, argument 89 mFragmentManager = activity.getFragmentManager(); 90 mPager = (ViewPager) activity.findViewById(R.id.conversation_pager); 92 setupPageMargin(activity.getActivityContext()); 170 // need to release resources before a configuration change kills the activity and controller
|
H A D | EmlMessageViewFragment.java | 117 // Ignore unsafe calls made after a fragment is detached from an activity. 154 * Constructor needs to be public to handle orientation changes and activity 209 final Activity activity = getActivity(); 210 Toast.makeText(activity, R.string.eml_loader_error_toast, Toast.LENGTH_LONG).show(); 211 activity.finish(); 303 final Activity activity = getActivity(); 304 if (activity != null) {
|
H A D | SelectedConversationsActionMenu.java | 76 * Context of the activity. A dialog requires the context of an activity rather than the global 98 ControllableActivity activity, ConversationSelectionSet selectionSet, Folder folder) { 99 mActivity = activity; 100 mListController = activity.getListHandler(); 108 mAccount = mAccountObserver.initialize(activity.getAccountController()); 111 mUpdater = activity.getConversationUpdater(); 247 // the action mode is not refreshed when activity's options menu is invalidated. 97 SelectedConversationsActionMenu( ControllableActivity activity, ConversationSelectionSet selectionSet, Folder folder) argument
|
H A D | SwipeableConversationItemView.java | 55 public void bind(final Conversation conversation, final ControllableActivity activity, argument 68 mConversationItemView.bind(conversation, activity, set, folder, checkboxOrSenderImage,
|
/packages/apps/UnifiedEmail/src/com/android/mail/photo/ |
H A D | MailPhotoViewController.java | 87 public MailPhotoViewController(ActivityInterface activity) { argument 88 super(activity); 89 mMailActivity = activity; 229 * Adjusts the activity title and subtitle to reflect the image name and size.
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
H A D | FolderWatcher.java | 67 * @param activity Upstream activity 71 RestrictedActivity activity, @NonNull UnreadCountChangedListener listener) { 72 mActivity = activity; 70 FolderWatcher( RestrictedActivity activity, @NonNull UnreadCountChangedListener listener) argument
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | AbstractActivityController.java | 215 * the activity controller. View mode changes are propagated to classes that 407 * a new activity is created with {@link Intent#ACTION_SEARCH}. For this new activity, 410 * a new activity. 428 * Guaranteed to be the last loader ID used by the activity. Loaders are owned by Activity or 429 * fragments, and within an activity, loader IDs need to be unique. A hack to ensure that the 432 * other class that uses this activity's LoaderManager. If another class needs activity-level 440 * fragments, and within an activity, loader IDs need to be unique. Currently, 450 /** Code returned when the previous activity need 521 AbstractActivityController(MailActivity activity, ViewMode viewMode) argument 1340 findActionableToastBar(MailActivity activity) argument [all...] |
H A D | AbstractConversationViewFragment.java | 149 * Constructor needs to be public to handle orientation changes and activity 249 final Activity activity = getActivity(); 250 if (!(activity instanceof ControllableActivity)) { 254 if (activity == null || activity.isFinishing()) { 258 mActivity = (ControllableActivity) activity; 259 mContext = activity.getApplicationContext(); 260 mWebViewClient.setActivity(activity); 267 final ControllableActivity activity = (ControllableActivity) getActivity(); 268 return activity ! [all...] |
H A D | AbstractConversationWebViewClient.java | 68 public void setActivity(Activity activity) { argument 69 mActivity = activity; 191 // Try and resolve the intent, to find an activity from this package
|
H A D | ActionBarController.java | 184 public void initialize(ControllableActivity activity, ActivityController callback, argument 188 mActivity = activity; 199 updateAccount(mAccountObserver.initialize(activity.getAccountController())); 456 // Very little can be done if the actionbar or activity is null.
|
H A D | AnimatedAdapter.java | 249 ConversationSelectionSet batch, ControllableActivity activity, 254 setAccount(mAccountListener.initialize(activity.getAccountController())); 255 mActivity = activity; 248 AnimatedAdapter(Context context, ConversationCursor cursor, ConversationSelectionSet batch, ControllableActivity activity, SwipeableListView listView, final List<ConversationSpecialItemView> specialViews) argument
|
H A D | ControllerFactory.java | 31 public static ActivityController forActivity(MailActivity activity, ViewMode viewMode, argument 33 return isTabletDevice ? new TwoPaneController(activity, viewMode) 34 : new OnePaneController(activity, viewMode);
|
H A D | ConversationCursorLoader.java | 46 public ConversationCursorLoader(Activity activity, Account account, argument 48 super(activity); 55 activity, mUri, useInitialConversationLimit, name);
|