HomeSort by relevance Sort by last modified time
    Searched defs:activity (Results 176 - 200 of 366) sorted by null

1 2 3 4 5 6 78 91011>>

  /packages/apps/Email/tests/src/com/android/email/activity/
MailboxFragmentAdapterTest.java 17 package com.android.email.activity;
UIControllerTwoPaneRefreshTaskTest.java 17 package com.android.email.activity;
  /packages/apps/Email/tests/src/com/android/email/activity/setup/
AccountSettingsTests.java 17 package com.android.email.activity.setup;
40 * To execute: runtest -c com.android.email.activity.setup.AccountSettingsTests email
124 * Get the activity (which causes it to be started, using our intent) and get the UI fields
AccountSetupExchangeTests.java 17 package com.android.email.activity.setup;
38 * runtest -c com.android.email.activity.setup.AccountSetupExchangeTests email
215 * Get the activity (which causes it to be started, using our intent) and get the UI fields
AccountSetupIncomingTests.java 17 package com.android.email.activity.setup;
35 * runtest -c com.android.email.activity.setup.AccountSetupIncomingTests email
175 * Get the activity (which causes it to be started, using our intent) and get the UI fields
AccountSetupOptionsTests.java 17 package com.android.email.activity.setup;
37 * runtest -c com.android.email.activity.setup.AccountSetupOptionsTests email
138 * Get the activity (which causes it to be started, using our intent) and get the UI fields
AccountSetupOutgoingTests.java 17 package com.android.email.activity.setup;
35 * runtest -c com.android.email.activity.setup.AccountSetupOutgoingTests email
171 * Get the activity (which causes it to be started, using our intent) and get the UI fields
  /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))
  /packages/apps/Settings/src/com/android/settings/
DreamSettings.java 23 import android.app.Activity;
66 final Activity activity = getActivity(); local
68 mEnableSwitch = new Switch(activity);
70 if (activity instanceof PreferenceActivity) {
71 PreferenceActivity preferenceActivity = (PreferenceActivity) activity;
75 final int padding = activity.getResources().getDimensionPixelSize(
78 activity.getActionBar().setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM,
80 activity.getActionBar().setCustomView(mEnableSwitch, new ActionBar.LayoutParams(
84 activity.getActionBar().setTitle(R.string.screensaver_settings_title)
    [all...]
  /packages/apps/Settings/src/com/android/settings/inputmethod/
UserDictionaryList.java 23 import android.app.Activity;
45 static TreeSet<String> getUserDictionaryLocalesSet(Activity activity) {
47 final Cursor cursor = activity.managedQuery(UserDictionary.Words.CONTENT_URI,
70 final Activity activity = getActivity(); local
73 UserDictionaryList.getUserDictionaryLocalesSet(activity);
76 userDictGroup.addPreference(createUserDictionaryPreference(null, activity));
79 userDictGroup.addPreference(createUserDictionaryPreference(locale, activity));
89 protected Preference createUserDictionaryPreference(String locale, Activity activity)
    [all...]
  /packages/apps/Tag/src/com/android/apps/tag/record/
RecordUtils.java 22 import android.app.Activity;
50 public Activity activity; field in class:RecordUtils.ClickInfo
53 public ClickInfo(Activity activity, Intent intent) {
54 this.activity = activity;
63 public static View getViewsForIntent(Activity activity, LayoutInflater inflater,
66 PackageManager pm = activity.getPackageManager()
    [all...]
UriRecord.java 26 import android.app.Activity;
97 public View getView(Activity activity, LayoutInflater inflater, ViewGroup parent, int offset) {
98 return RecordUtils.getViewsForIntent(activity, inflater, parent, this, getIntentForUri(),
99 getPrettyUriString(activity));
111 info.activity.startActivity(info.intent);
112 info.activity.finish();
114 // The activity wansn't found for some reason. Don't crash, but don't do anything.
115 Log.e(TAG, "Failed to launch activity for intent " + info.intent, e);
VCardRecord.java 32 import android.app.Activity;
84 public View getView(Activity activity, LayoutInflater inflater, ViewGroup parent, int offset) {
86 Uri uri = activity.getIntent().getData();
93 CharSequence template = activity.getResources().getText(R.string.import_vcard);
96 return RecordUtils.getViewsForIntent(activity, inflater, parent, this, intent, description);
168 info.activity.startActivity(info.intent);
169 info.activity.finish();
171 // The activity wansn't found for some reason. Don't crash, but don't do anything.
172 Log.e(TAG, "Failed to launch activity for intent " + info.intent, e)
    [all...]
  /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);
  /cts/tests/tests/widget/src/android/widget/cts/
TabHostTest.java 22 import android.app.Activity;
74 final Activity activity = launchActivity("com.android.cts.stub", StubActivity.class, null); local
78 activity.setContentView(R.layout.tabhost_layout);
80 TabHost tabHost = (TabHost) activity.findViewById(TAB_HOST_ID);
96 activity.finish();
105 final ActivityGroup activity = launchActivity("com.android.cts.stub", local
111 activity.setContentView(R.layout.tabhost_layout);
113 TabHost tabHost = (TabHost) activity.findViewById(TAB_HOST_ID);
116 tabHost.setup(activity.getLocalActivityManager())
    [all...]
  /cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DeviceInfoInstrument.java 19 import android.app.Activity;
96 DeviceInfoActivity activity = (DeviceInfoActivity) startActivitySync(intent); local
98 activity.waitForAcitityToFinish();
138 finish(Activity.RESULT_OK, mResults);
  /frameworks/base/core/java/android/nfc/
NfcActivityManager.java 19 import android.app.Activity;
31 * Manages NFC API's that are coupled to the life-cycle of an Activity.
34 * into activity life-cycle events such as onPause() and onResume().
103 * NFC state associated with an {@link Activity}
107 Activity activity; field in class:NfcActivityManager.NfcActivityState
113 public NfcActivityState(Activity activity) {
114 if (activity.getWindow().isDestroyed()) {
115 throw new IllegalStateException("activity is already destroyed")
    [all...]
  /packages/apps/Email/src/com/android/email/activity/
MoveMessageToDialog.java 17 package com.android.email.activity;
19 import android.app.Activity;
68 * Callback that target fragments, or the owner activity should implement.
115 final Activity activity = getActivity(); local
119 AlertDialog.Builder builder = new AlertDialog.Builder(activity)
120 .setTitle(activity.getResources().getString(R.string.move_to_folder_dialog_title));
151 public void onAttach(Activity activity) {
152 super.onAttach(activity);
    [all...]
  /frameworks/base/core/java/android/widget/
ActivityChooserView.java 39 * This class is a view for choosing an activity for handling a given {@link Intent}.
44 * The left button is an immediate action and allows one click activity choosing.
47 * activity.
147 * Popup window for showing the activity overflow list.
157 * Flag whether a default activity currently being selected.
262 * Sets the background for the button that expands the activity
266 * as a clue about the action the chosen activity will perform. For
267 * example, if a share activity is to be chosen the drawable should
277 * Sets the content description for the button that expands the activity
281 * For example, if a share activity is to be chosen the conten
502 ResolveInfo activity = mAdapter.getDefaultActivity(); local
711 ResolveInfo activity = (ResolveInfo) getItem(position); local
    [all...]
  /frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
LayoutTestsAutoTest.java 305 private void runTestAndWaitUntilDone(TestShellActivity activity, String test, int timeout, boolean ignoreResult, int testNumber) {
306 activity.setCallback(new TestShellCallback() {
340 intent.setClass(activity, TestShellActivity.class);
348 activity.startActivity(intent);
374 // A convenient method to be called by another activity.
404 TestShellActivity activity = getActivity(); local
405 activity.setDefaultDumpDataType(DumpDataType.EXT_REPR);
414 runTestAndWaitUntilDone(activity, s, runner.mTimeoutInMillis, ignoreResult,
420 activity.finish();
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSetupExchangeFragment.java 17 package com.android.email.activity.setup;
19 import android.app.Activity;
39 import com.android.email.activity.UiUtilities;
84 * {@link #onAttach(Activity)} and before {@link #onActivityCreated(Bundle)}.
239 * Activity provides callbacks here. This also triggers loading and setting up the UX
379 * Entry point from Activity after editing settings and verifying them. Must be FLOW_MODE_EDIT.
398 * Entry point from Activity after entering new settings and verifying them. For setup mode.
405 * Entry point from Activity after entering new settings and verifying them. For setup mode.
420 AccountSetupExchange activity = (AccountSetupExchange) getActivity(); local
421 activity.onAutoDiscoverComplete(result, hostAuth)
    [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...]
  /packages/apps/Launcher2/src/com/android/launcher2/
WallpaperChooserDialogFragment.java 18 import android.app.Activity;
110 * when the activity is no longer associated with this dying dialog fragment. We
113 Activity activity = getActivity(); local
114 if (activity != null) {
115 activity.finish();
134 /* If this fragment is embedded in the layout of this activity, then we should
164 Activity activity = getActivity(); local
165 activity.setResult(Activity.RESULT_OK)
    [all...]
  /packages/apps/Settings/src/com/android/settings/wifi/p2p/
WifiP2pSettings.java 20 import android.app.Activity;
151 final Activity activity = getActivity(); local
154 mChannel = mWifiP2pManager.initialize(activity, getActivity().getMainLooper(), null);
445 Activity activity = getActivity(); local
446 if (activity != null) activity.invalidateOptionsMenu();
  /cts/tests/src/android/app/cts/
LocalActivityManagerTestHelper.java 20 import android.app.Activity;
94 Activity activity = mLocalActivityManager.getActivity(id); local
95 if (activity == null) {
100 if (!activity.getClass().getName().equals("android.app.cts."
107 activity = mLocalActivityManager.getActivity(id);
108 if (activity != null) {
273 Activity activity = mLocalActivityManager.getActivity(id); local
274 if (activity == null)
    [all...]

Completed in 922 milliseconds

1 2 3 4 5 6 78 91011>>