HomeSort by relevance Sort by last modified time
    Searched refs:activity (Results 276 - 300 of 566) sorted by null

<<11121314151617181920>>

  /packages/apps/Camera/tests/src/com/android/camera/functional/
VideoCaptureIntentTest.java 22 import android.app.Activity;
131 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode());
143 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode());
221 private int verify(VideoCamera activity, Uri uri) throws Exception {
222 assertTrue(activity.isFinishing());
223 assertEquals(Activity.RESULT_OK, activity.getResultCode());
227 retriever.setDataSource(activity, uri);
  /packages/apps/Contacts/src/com/android/contacts/list/
ContactTileListFragment.java 24 import android.app.Activity;
67 public void onAttach(Activity activity) {
68 super.onAttach(activity);
73 mAdapter = new ContactTileAdapter(activity, mAdapterListener,
75 mAdapter.setPhotoLoader(ContactPhotoManager.getInstance(activity));
116 * by the activity that is about to prepare the options menu with the clear frequents
PhoneFavoriteFragment.java 26 import android.app.Activity;
267 public void onAttach(Activity activity) {
269 super.onAttach(activity);
271 mContactsPrefs = new ContactsPreferences(activity);
277 mContactTileAdapter = new ContactTileAdapter(activity, mContactTileAdapterListener,
280 mContactTileAdapter.setPhotoLoader(ContactPhotoManager.getInstance(activity));
283 mAllContactsAdapter = new PhoneNumberListAdapter(activity);
290 mAllContactsAdapter.setPhotoLoader(ContactPhotoManager.getInstance(activity));
  /packages/apps/Contacts/tests/src/com/android/contacts/activities/
PeopleActivityTest.java 138 PeopleActivity activity = getActivity(); local
142 ContactBrowseListFragment listFragment = activity.getListFragment();
143 ContactDetailFragment detailFragment = activity.getDetailFragment();
146 activity.getLoaderManager().getLoader(R.id.contact_list_filter_loader);
  /packages/apps/Email/src/com/android/email/activity/
BannerController.java 17 package com.android.email.activity;
UIControllerOnePane.java 17 package com.android.email.activity;
19 import android.app.Activity;
258 public UIControllerOnePane(EmailActivity activity) {
259 super(activity);
263 protected ActionBarController createActionBarController(Activity activity) {
268 return new ActionBarController(activity, activity.getLoaderManager(),
269 activity.getActionBar(), new ActionBarControllerCallback());
557 * Handles the {@link android.app.Activity#onCreateOptionsMenu} callback
    [all...]
UIControllerTwoPane.java 17 package com.android.email.activity;
19 import android.app.Activity;
63 public UIControllerTwoPane(EmailActivity activity) {
64 super(activity);
100 * Handles the {@link android.app.Activity#onCreateOptionsMenu} callback.
273 * Must be called just after the activity sets up the content view.
290 protected ActionBarController createActionBarController(Activity activity) {
291 return new ActionBarController(activity, activity.getLoaderManager()
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSettingsEditQuickResponsesFragment.java 17 package com.android.email.activity.setup;
21 import com.android.email.activity.UiUtilities;
28 import android.app.Activity;
48 * edit, and delete quick responses. Owning activity must:
107 * @param context - context of owning activity
159 * @param context - context of the owning activity
207 public void onAttach(Activity activity) {
208 super.onAttach(activity);
AccountSetupNames.java 17 package com.android.email.activity.setup;
19 import android.app.Activity;
38 import com.android.email.activity.ActivityHelper;
39 import com.android.email.activity.UiUtilities;
40 import com.android.email.activity.Welcome;
61 public static void actionSetNames(Activity fromActivity) {
236 * If security hold, dispatch to AccountSecurity activity
283 * Handle the eventual result from the security update activity
DuplicateAccountDialogFragment.java 17 package com.android.email.activity.setup;
AccountServerBaseFragment.java 17 package com.android.email.activity.setup;
19 import android.app.Activity;
35 import com.android.email.activity.UiUtilities;
47 * Activity-provided callbacks
48 * Activity callback during onAttach
97 * own edited data; This is primarily for the activity to do post-check navigation.
175 public void onAttach(Activity activity) {
176 super.onAttach(activity);
177 mContext = activity;
    [all...]
  /packages/apps/Email/tests/src/com/android/email/activity/
MessageListTests.java 17 package com.android.email.activity;
WelcomeTests.java 17 package com.android.email.activity;
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
AlbumSetSlotRenderer.java 56 public AlbumSetSlotRenderer(GalleryActivity activity, SelectionManager selectionManager,
58 super ((Context) activity);
59 mActivity = activity;
67 Context context = activity.getAndroidContext();
MenuExecutor.java 19 import android.app.Activity;
89 GalleryActivity activity, SelectionManager selectionManager) {
90 mActivity = Utils.checkNotNull(activity);
114 ((Activity) mActivity).startActivity((Intent) message.obj);
205 ((Activity) mActivity).startActivity(intent);
211 ((Activity) mActivity).startActivity(Intent.createChooser(intent, null));
218 Activity activity = (Activity) mActivity; local
219 activity.startActivity(Intent.createChooser
302 Activity activity = (Activity) mActivity; local
    [all...]
  /packages/apps/LegacyCamera/tests/src/com/android/camera/functional/
VideoCaptureIntentTest.java 22 import android.app.Activity;
138 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode());
150 assertEquals(Activity.RESULT_CANCELED, getActivity().getResultCode());
228 private int verify(VideoCamera activity, Uri uri) throws Exception {
229 assertTrue(activity.isFinishing());
230 assertEquals(Activity.RESULT_OK, activity.getResultCode());
234 retriever.setDataSource(activity, uri);
  /packages/apps/Settings/src/com/android/settings/
ConfirmLockPassword.java 23 import android.app.Activity;
110 final Activity activity = getActivity(); local
111 mKeyboardHelper = new PasswordEntryKeyboardHelper(activity,
123 if (activity instanceof PreferenceActivity) {
124 final PreferenceActivity preferenceActivity = (PreferenceActivity) activity;
CryptKeeperSettings.java 21 import android.app.Activity;
139 Activity activity = getActivity(); local
140 Intent intent = activity.getIntent();
143 activity.getSystemService(Context.DEVICE_POLICY_SERVICE);
148 activity.finish();
191 if (resultCode == Activity.RESULT_OK && data != null) {
DeviceAdminSettings.java 22 import android.app.Activity;
178 final Activity activity = getActivity(); local
181 vh.icon.setImageDrawable(item.loadIcon(activity.getPackageManager()));
182 vh.name.setText(item.loadLabel(activity.getPackageManager()));
185 vh.description.setText(item.loadDescription(activity.getPackageManager()));
  /packages/apps/VoiceDialer/src/com/android/voicedialer/
VoiceContact.java 19 import android.app.Activity;
107 * @param activity The VoiceDialerActivity instance.
111 public static List<VoiceContact> getVoiceContacts(Activity activity) {
128 Cursor cursor = activity.getContentResolver().query(
299 * @param activity The VoiceDialerActivity instance.
302 public static String redialNumber(Activity activity) {
303 Cursor cursor = activity.getContentResolver().query(
  /frameworks/support/v4/java/android/support/v4/app/
ShareCompat.java 19 import android.app.Activity;
42 * about the activity that invoked a social sharing action.
45 * intent that always includes data about the calling activity and app.
46 * This lets the called activity provide attribution for the app that shared
48 * To obtain an IntentBuilder with info about your calling activity, use the static
49 * method {@link IntentBuilder#from(Activity)}.
53 * used to launch an activity. You can also obtain a Drawable for the caller's
61 * When an activity is started using startActivityForResult this is redundant info.
62 * (It is also provided by {@link Activity#getCallingPackage()}.)
64 * Instead of using this constant directly, consider using {@link #getCallingPackage(Activity)}
    [all...]
  /sdk/eventanalyzer/src/com/android/eventanalyzer/
EventAnalyzer.java 334 // write the list of launch start. One column per activity.
338 for (String activity : activities) {
339 builder.append(activity).append(DATA_SEPARATOR);
350 for (String activity : activities) {
351 // get the activity list.
352 ArrayList<Long> list = mLaunchMap.get(activity);
369 // write per-activity stats.
370 for (String activity : activities) {
372 builder.append(activity).append(DATA_SEPARATOR);
374 // get the activity list
    [all...]
  /frameworks/base/core/java/android/server/search/
Searchables.java 77 * Look up, or construct, based on the activity.
82 * <li>The activity itself implements search. This is indicated by the
85 * <li>A related activity implements search. This is indicated by the
87 * The value is a string naming the activity implementing search. In this
95 * and every activity.
100 * @param activity The name of the current activity, or null if the
101 * activity does not define any explicit searchable metadata.
103 public SearchableInfo getSearchableInfo(ComponentName activity) {
107 result = mSearchablesMap.get(activity);
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
GeneralPreferences.java 19 import android.app.Activity;
130 final Activity activity = getActivity(); local
135 final SharedPreferences sharedPreferences = getSharedPreferences(activity);
144 Vibrator vibrator = (Vibrator) activity.getSystemService(Context.VIBRATOR_SERVICE);
166 mTimezones = (new TimezoneAdapter(activity, tz, System.currentTimeMillis()))
173 tzName = Utils.getTimeZone(activity, null);
215 Activity a = getActivity();
250 Activity act = getActivity();
  /packages/apps/LegacyCamera/src/com/android/camera/ui/
SharePopup.java 22 import android.app.Activity;
103 public SharePopup(Activity activity, Uri uri, Bitmap bitmap, int orientation,
105 super(activity);
107 mActivityOrientation = activity.getRequestedOrientation();
110 mContext = activity;
114 LayoutInflater inflater = activity.getLayoutInflater();

Completed in 772 milliseconds

<<11121314151617181920>>