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

1 2 3 4 5 6 7 891011>>

  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
AbstractSource.java 83 public static Intent createSourceSearchIntent(ComponentName activity, String query,
85 if (activity == null) {
86 Log.w(TAG, "Tried to create search intent with no target activity");
90 intent.setComponent(activity);
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
GlVboPerfTest.java 100 final GlPlanetsActivity activity = getActivity(); local
101 boolean waitResult = activity
105 mFps = activity.getFps();
106 mNumTriangles = activity.getNumTriangles();
112 // finish the current activity and do clean-up so that a new activity
  /cts/tools/cts-reference-app-lib/src/android/cts/refapp/
ReferenceAppTestCase.java 19 import android.app.Activity;
29 public class ReferenceAppTestCase<T extends Activity> extends ActivityInstrumentationTestCase2<T> {
38 * Create a ReferenceAppTestCase for the specified activity.
41 * @param activityClass the class of the activity to instrument.
42 * @param maxStartupTimeMs the startup time the activity should start in.
50 * Create a ReferenceAppTestCase for the specified activity.
53 * @param activityClass the class of the activity to instrument.
60 // Test activity startup time.
63 Activity activity = getActivity() local
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
ColorFilters.java 21 import android.app.Activity;
38 private Activity mActivity;
58 public SampleView(Activity activity) {
59 super(activity);
60 mActivity = activity;
61 Context context = activity;
  /development/samples/Support13Demos/src/com/example/android/supportv13/app/
ActionBarTabsPager.java 24 import android.app.Activity;
37 public class ActionBarTabsPager extends Activity {
100 public TabsAdapter(Activity activity, ViewPager pager) {
101 super(activity.getFragmentManager());
102 mContext = activity;
103 mActionBar = activity.getActionBar();
  /frameworks/base/core/tests/coretests/src/android/app/activity/
AbortReceiver.java 17 package android.app.activity;
RemoteReceiver.java 17 package android.app.activity;
SetTimeZonePermissionsTest.java 17 package android.app.activity;
TestedActivity.java 17 package android.app.activity;
19 import android.app.Activity;
26 public class TestedActivity extends Activity
  /packages/apps/Email/src/com/android/email/activity/
AddressTextView.java 17 package com.android.email.activity;
ChipsAddressTextView.java 17 package com.android.email.activity;
ShortcutPicker.java 17 package com.android.email.activity;
19 import android.app.Activity;
28 import com.android.email.activity.ShortcutPickerFragment.AccountShortcutPickerFragment;
29 import com.android.email.activity.ShortcutPickerFragment.MailboxShortcutPickerFragment;
30 import com.android.email.activity.ShortcutPickerFragment.PickerCallback;
39 public class ShortcutPicker extends Activity implements OnClickListener, PickerCallback {
51 // TODO Relax this test slightly in order to re-use this activity for widget creation
133 * triggers the desired action within your Activity.
136 Activity myActivity = this;
162 myActivity.setResult(Activity.RESULT_OK, intent)
    [all...]
  /packages/apps/Email/src/com/android/email/mail/store/
ExchangeStore.java 47 public Class<? extends android.app.Activity> getSettingActivityClass() {
48 return com.android.email.activity.setup.AccountSetupExchange.class;
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
DetailsHelper.java 48 public DetailsHelper(GalleryActivity activity, GLView rootPane, DetailsSource source) {
49 mContainer = new DialogDetailsView(activity, source);
69 public static String resolveAddress(GalleryActivity activity, double[] latlng,
72 sAddressResolver = new DetailsAddressResolver(activity);
  /packages/apps/Settings/src/com/android/settings/
TetherSettings.java 22 import android.app.Activity;
114 final Activity activity = getActivity(); local
117 adapter.getProfileProxy(activity.getApplicationContext(), mProfileServiceListener,
143 mWifiApEnabler = new WifiApEnabler(activity, mEnableWifiAp);
163 mView = new WebView(activity);
167 final Activity activity = getActivity(); local
175 final String s = activity.getString(
177 mCreateNetwork.setSummary(String.format(activity.getString(CONFIG_SUBTEXT)
200 final Activity activity = getActivity(); local
259 final Activity activity = getActivity(); local
    [all...]
  /cts/tests/tests/app/src/android/app/cts/
ActivityManagerMemoryClassTest.java 18 import android.app.Activity;
108 ActivityManagerMemoryClassLaunchActivity activity = getActivity(); local
110 + " specified by the memory class.", Activity.RESULT_OK, activity.getResult());
  /cts/tests/tests/dpi/src/android/dpi/cts/
AspectRatioTest.java 19 import android.app.Activity;
60 Activity activity = startOrientationActivity(ORIENTATIONS[i]); local
61 aspectRatios.add(getAspectRatio(activity));
79 private Activity startOrientationActivity(int orientation) {
  /cts/tests/tests/holo/src/android/holo/cts/
HoloTest.java 141 ThemeTestActivity activity = getActivity(); local
142 Result result = activity.getResultFuture().get();
  /frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/
EffectsVideoCapture.java 20 import android.app.Activity;
66 Activity act = inst.startActivitySync(intent);
78 private void verify(CameraEffectsRecordingSample activity, Uri uri) throws Exception {
82 retriever.setDataSource(activity, uri);
  /frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
LoadTestsAutoTest.java 22 import android.app.Activity;
104 final TestShellActivity activity = (TestShellActivity) getActivity(); local
110 runTestAndWaitUntilDone(activity, runner.mTestPath, runner.mTimeoutInMillis);
116 activity.clearCache();
129 // Kill activity
130 activity.finish();
217 // A convenient method to be called by another activity.
218 private void runTestAndWaitUntilDone(TestShellActivity activity, String url, int timeout) {
219 activity.setCallback(new TestShellCallback() {
246 getInstrumentation().sendStatus(Activity.RESULT_FIRST_USER, b)
    [all...]
  /packages/apps/Browser/src/com/android/browser/
NetworkStateHandler.java 19 import android.app.Activity;
36 Activity mActivity;
44 public NetworkStateHandler(Activity activity, Controller controller) {
45 mActivity = activity;
  /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/Mms/src/com/android/mms/ui/
AsyncDialog.java 22 import android.app.Activity;
37 private final Activity mActivity;
40 public AsyncDialog(Activity activity) {
41 mActivity = activity;
61 // Shows the activity's progress spinner. Should be canceled if exiting the activity.
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothSettings.java 20 import android.app.Activity;
113 Activity activity = getActivity(); local
115 Switch actionBarSwitch = new Switch(activity);
117 if (activity instanceof PreferenceActivity) {
118 PreferenceActivity preferenceActivity = (PreferenceActivity) activity;
120 final int padding = activity.getResources().getDimensionPixelSize(
123 activity.getActionBar().setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM,
125 activity.getActionBar().setCustomView(actionBarSwitch, new ActionBar.LayoutParams(
132 mBluetoothEnabler = new BluetoothEnabler(activity, actionBarSwitch)
    [all...]
  /packages/apps/Tag/src/com/android/apps/tag/record/
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...]

Completed in 306 milliseconds

1 2 3 4 5 6 7 891011>>