/packages/apps/Email/src/com/android/email/activity/ |
MessageFileViewFragment.java | 17 package com.android.email.activity; 19 import android.app.Activity; 90 * Called by the host activity to set the URL to the EML file to open. 113 protected Message openMessageSync(Activity activity) { 118 Utility.showToast(activity, R.string.message_view_parse_message_toast); 122 Utility.showToast(activity, R.string.message_view_display_attachment_toast); 129 protected Message reloadMessageSync(Activity activity) {
|
/packages/apps/Mms/src/com/android/mms/ |
LogTag.java | 23 import android.app.Activity; 109 public static void warnPossibleRecipientMismatch(final String msg, final Activity activity) { 113 dumpInternalTables(activity); 114 activity.runOnUiThread(new Runnable() { 116 new AlertDialog.Builder(activity) 119 .setMessage(msg + "\n\n" + activity.getString(R.string.error_state_text))
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ |
FixLaunchConfig.java | 95 // get the attributes for the activity 96 String activity = config.getAttribute(LaunchConfigDelegate.ATTR_ACTIVITY, local 100 // so we need to make sure the activity is inside the old package. 101 if (activity.startsWith(mOldPackage)) { 102 // create the new activity 103 activity = mNewPackage + activity.substring(mOldPackage.length()); 106 copy.setAttribute(LaunchConfigDelegate.ATTR_ACTIVITY, activity);
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSecurity.java | 17 package com.android.email.activity.setup; 19 import android.app.Activity; 35 import com.android.email.activity.ActivityHelper; 41 * Psuedo-activity (no UI) to bootstrap the user up to a higher desired security level. This 51 public class AccountSecurity extends Activity { 69 * Used for generating intent for this activity (which is intended to be launched 88 * Used for generating intent for this activity (which is intended to be launched 89 * from a notification.) This is a special mode of this activity which exists only 199 // try to become active - must happen here in activity, to get result 244 // launch the activity to have the user set a new password 335 AccountSecurity activity = (AccountSecurity) getActivity(); local 409 AccountSecurity activity = (AccountSecurity) getActivity(); local [all...] |
AccountSetupIncoming.java | 17 package com.android.email.activity.setup; 20 import com.android.email.activity.ActivityHelper; 21 import com.android.email.activity.UiUtilities; 24 import android.app.Activity; 45 public static void actionIncomingSettings(Activity fromActivity, int mode, Account account) {
|
AccountSetupOutgoing.java | 17 package com.android.email.activity.setup; 20 import com.android.email.activity.ActivityHelper; 21 import com.android.email.activity.UiUtilities; 24 import android.app.Activity; 38 public class AccountSetupOutgoing extends Activity 45 public static void actionOutgoingSettings(Activity fromActivity, int mode, Account account) {
|
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/xml/ |
AndroidManifestParserTest.java | 92 ManifestData.Activity activity = mManifestTestApp.getActivities()[0]; local 93 assertEquals(ACTIVITY_NAME, activity.getName()); 94 assertTrue(activity.hasAction()); 95 assertTrue(activity.isHomeActivity()); 96 assertTrue(activity.hasAction()); 97 assertEquals(activity, mManifestTestApp.getActivities()[0]); 101 ManifestData.Activity activity = mManifestTestApp.getLauncherActivity(); local 102 assertEquals(ACTIVITY_NAME, activity.getName()) [all...] |
/external/bluetooth/bluez/tools/ |
ubcsp.c | 173 /** This can only be called when the activity indication from ubcsp_poll **/
196 /** This can only be called when the activity indication from ubcsp_poll **/
367 activity;
local 380 /* Keep track of what activity this received packet will cause */
382 activity = 0;
405 return activity;
458 return activity;
503 return activity;
523 return activity;
553 activity |= UBCSP_PACKET_SENT; [all...] |
/packages/apps/Contacts/src/com/android/contacts/voicemail/ |
VoicemailPlaybackFragment.java | 30 import android.app.Activity; 61 * When the Activity containing this Fragment is created, voicemail playback 62 * will begin immediately. The Activity is expected to be started via an intent 157 * An object that can provide us with an Activity. 159 * Fragments suffer the drawback that the Activity they belong to may sometimes be null. This 167 * things like accessing strings, accessing system services. It only uses the Activity when it 172 /** Gets this Fragment's Activity: <b>may be null</b>. */ 173 public final Activity get() { 212 Activity activity = mActivityReference.get() local 220 Activity activity = mActivityReference.get(); local 275 Activity activity = mActivityReference.get(); local 284 Activity activity = mActivityReference.get(); local 408 Activity activity = mActivityReference.get(); local [all...] |
/frameworks/base/core/java/android/widget/ |
ShareActionProvider.java | 45 * // In Activity#onCreateOptionsMenu 151 * not rely on the default behavior which is to launch the activity. 213 ResolveInfo activity = dataModel.getActivity(i); local 214 subMenu.add(0, i, i, activity.loadLabel(packageManager)) 215 .setIcon(activity.loadIcon(packageManager)) 225 ResolveInfo activity = dataModel.getActivity(i); local 226 expandedSubMenu.add(0, i, i, activity.loadLabel(packageManager)) 227 .setIcon(activity.loadIcon(packageManager)) 245 * call {@link android.app.Activity#invalidateOptionsMenu()} to recreate the 247 * {@link android.app.Activity#invalidateOptionsMenu()} fro [all...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
AccountFilterUtil.java | 24 import android.app.Activity; 113 * Launches account filter setting Activity using 114 * {@link Activity#startActivityForResult(Intent, int)}. 116 * @param activity 117 * @param requestCode requestCode for {@link Activity#startActivityForResult(Intent, int)} 121 Activity activity, int requestCode, ContactListFilter currentFilter) { 122 final Intent intent = new Intent(activity, AccountFilterActivity.class); 124 activity.startActivityForResult(intent, requestCode); 129 * {@link #startAccountFilterActivityForResult(Activity, int, ContactListFilter) 134 final Activity activity = fragment.getActivity(); local [all...] |
DialogManager.java | 21 import android.app.Activity; 33 * <li>The owning Activity creates on instance of this class, passing itself and two Ids that are 34 * not used by other Dialogs of the Activity.</li> 38 * <li>In the implementation of {@link Activity#onCreateDialog}, calls for the 45 private final Activity mActivity; 54 * Creates a new instance of this class for the given Activity. 55 * @param activity The activity this object is used for 57 public DialogManager(final Activity activity) { [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
IntegrationTestUtils.java | 25 import android.app.Activity; 58 * Find a view by a given resource id, from the given activity, and click it, iff it is 61 public void clickButton(final Activity activity, final int buttonResourceId) throws Throwable { 65 View view = activity.findViewById(buttonResourceId); 140 public List<TextView> getTextViewsWithString(final Activity activity, final String text) 146 for (TextView textView : getAllViews(TextView.class, getRootView(activity))) { 156 /** Find the root view for a given activity. */ 157 public static View getRootView(Activity activity) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
ActivityState.java | 20 import android.app.Activity; 57 public int resultCode = Activity.RESULT_CANCELED; 72 void initialize(GalleryActivity activity, Bundle data) { 73 mActivity = activity; 119 final Window win = ((Activity) mActivity).getWindow(); 132 ((Activity) mActivity).unregisterReceiver(mPowerIntentReceiver); 138 Activity activity = (Activity) mActivity; local 139 ActionBar actionBar = activity.getActionBar() [all...] |
/packages/apps/Settings/src/com/android/settings/accounts/ |
SyncSettings.java | 22 import android.app.Activity; 70 Activity activity = getActivity(); local 71 AccountManager.get(activity).addOnAccountsUpdatedListener(this, null, true); 78 final Activity activity = getActivity(); local 80 mAuthorities = activity.getIntent().getStringArrayExtra(AUTHORITIES_FILTER_KEY); 88 final Activity activity = getActivity(); local 89 AccountManager.get(activity).removeOnAccountsUpdatedListener(this) [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiConfigUiForSetupWizardXL.java | 54 * @param activity Activity which creates this object. 61 WifiSettingsForSetupWizardXL activity, ViewGroup parent, 63 mActivity = activity; 64 mConnectButton = (Button)activity.findViewById(R.id.wifi_setup_connect); 65 mCancelButton = (Button)activity.findViewById(R.id.wifi_setup_cancel); 68 mInflater = (LayoutInflater)activity.getSystemService(Context.LAYOUT_INFLATER_SERVICE); 74 activity.getSystemService(Context.INPUT_METHOD_SERVICE);
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
NativeAttachShaderTest.java | 40 OpenGLES20NativeActivity activity = getActivity(); local 41 assertTrue(activity.waitForFrameDrawn()); 42 return activity;
|
/packages/apps/Contacts/src/com/android/contacts/ |
NfcHandler.java | 21 import android.app.Activity; 40 * enabled when the activity is in the foreground and resumed. 51 public static void register(Activity activity, ContactDetailFragment contactFragment) { 52 NfcAdapter adapter = NfcAdapter.getDefaultAdapter(activity.getApplicationContext()); 56 adapter.setNdefPushMessageCallback(new NfcHandler(contactFragment), activity);
|
/packages/apps/Email/tests/src/com/android/email/activity/setup/ |
AccountSetupAccountTypeTests.java | 17 package com.android.email.activity.setup; 37 * runtest -c com.android.email.activity.setup.AccountSetupAccountTypeTests email 75 AccountSetupAccountType activity = startActivity(getTestIntent(), null, null); local 76 View exchangeButton = activity.findViewById(R.id.exchange);
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
ConfigurationScreenLayoutTest.java | 19 import android.app.Activity; 50 Activity activity = startOrientationActivity(ORIENTATIONS[i]); local 51 Configuration mConfig = activity.getResources().getConfiguration(); 70 // 2. For each orientation start an activity and compute what it's screenLayout value is 76 Activity activity = startOrientationActivity(ORIENTATIONS[i]); local 77 screenLayout = reduceScreenLayout(activity, screenLayout); 83 private Activity startOrientationActivity(int orientation) {
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
FragmentTabs.java | 23 import android.app.Activity; 33 public class FragmentTabs extends Activity { 71 private final Activity mActivity; 77 public TabListener(Activity activity, String tag, Class<T> clz) { 78 this(activity, tag, clz, null); 81 public TabListener(Activity activity, String tag, Class<T> clz, Bundle args) { 82 mActivity = activity;
|
/external/blktrace/btt/doc/ |
Makefile | 5 btt.tex: activity.eps qhist.eps dhist.eps seek.eps
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
ClearTop.java | 17 package android.app.activity; 19 import android.app.Activity; 24 public class ClearTop extends Activity {
|
LaunchpadTabActivity.java | 17 package android.app.activity;
|
LocalDeniedReceiver.java | 17 package android.app.activity;
|