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

<<11121314151617181920>>

  /frameworks/base/core/java/android/accounts/
AccountManager.java 19 import android.app.Activity;
120 * the current foreground {@link Activity} context.
172 * be used to start the corresponding user interface activity.
    [all...]
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
ScreenshotTest.java 43 * A simple test for screenshots that launches an Activity, injects the key event combo
48 // launch the activity.
49 ScreenshotStubActivity activity = getActivity(); local
50 assertNotNull(activity);
111 // 'volume adjustment' UI, instead of this test's activity
  /frameworks/base/services/java/com/android/server/am/
PendingIntentRecord.java 47 final ActivityRecord activity; field in class:PendingIntentRecord.Key
64 activity = _a;
108 if (activity != other.activity) {
252 key.activity.stack.sendActivityResultLocked(-1, key.activity,
323 if (key.activity != null || key.who != null) {
324 pw.print(prefix); pw.print("activity="); pw.print(key.activity);
ActivityRecord.java 23 import android.app.Activity;
54 * An entry in the history stack, representing an activity.
61 final int launchedFromUid; // always the uid who started the activity.
72 final boolean noDisplay; // activity is not displayed?
74 final boolean isHomeActivity; // do we consider this to be a home activity?
75 final String baseDir; // where activity source (resources etc) located
76 final String resDir; // where public activity source (public resources etc) located
77 final String dataDir; // where activity data should go
80 int icon; // resource identifier of activity's icon.
81 int theme; // resource identifier of activity's theme
258 ActivityRecord activity = weakActivity.get(); local
265 ActivityRecord activity = weakActivity.get(); local
272 ActivityRecord activity = weakActivity.get(); local
279 ActivityRecord activity = weakActivity.get(); local
287 ActivityRecord activity = weakActivity.get(); 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/
InsertQuickResponseDialog.java 17 package com.android.email.activity;
20 import com.android.email.activity.setup.
63 * the parent activity must implement {@link Callback}.
89 // If target not set, the parent activity MUST implement Callback. Fail-fast if not.
ShortcutPickerFragment.java 17 package com.android.email.activity;
26 import android.app.Activity;
50 * NOTE: In order to receive callbacks, the activity containing this fragment must implement
81 public void onAttach(Activity activity) {
82 super.onAttach(activity);
84 if (activity instanceof PickerCallback) {
85 mCallback = (PickerCallback) activity;
88 mAdapter = new SimpleCursorAdapter(activity,
350 public void onAttach(Activity activity)
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
GeneralPreferences.java 17 package com.android.email.activity.setup;
30 import com.android.email.activity.UiUtilities;
  /packages/apps/Gallery/src/com/android/camera/
Util.java 21 import android.app.Activity;
377 public BackgroundJob(MonitoredActivity activity, Runnable job,
379 mActivity = activity;
396 public void onActivityDestroyed(MonitoredActivity activity) {
404 public void onActivityStopped(MonitoredActivity activity) {
409 public void onActivityStarted(MonitoredActivity activity) {
414 public static void startBackgroundJob(MonitoredActivity activity,
417 // the thread will be done before the activity getting destroyed.
419 activity, title, message, true, false);
420 new Thread(new BackgroundJob(activity, job, dialog, handler)).start()
    [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
MessageUtils.java 45 import android.app.Activity;
447 public static void selectAudio(Activity activity, int requestCode) {
453 activity.getString(R.string.select_audio));
454 activity.startActivityForResult(intent, requestCode);
457 public static void recordSound(Activity activity, int requestCode, long sizeLimit) {
463 activity.startActivityForResult(intent, requestCode);
466 public static void recordVideo(Activity activity, int requestCode, long sizeLimit)
    [all...]
  /packages/apps/Settings/src/com/android/settings/accounts/
ManageAccountsSettings.java 23 import android.app.Activity;
96 Activity activity = getActivity(); local
97 AccountManager.get(activity).addOnAccountsUpdatedListener(this, null, true);
111 final Activity activity = getActivity(); local
117 mAuthorities = activity.getIntent().getStringArrayExtra(AUTHORITIES_FILTER_KEY);
129 final Activity activity = getActivity(); local
130 AccountManager.get(activity).removeOnAccountsUpdatedListener(this)
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
Utils.java 93 Context activity = manager.getForegroundActivity(); local
95 new AlertDialog.Builder(activity)
  /cts/tests/tests/widget/src/android/widget/cts/
TabWidgetTest.java 20 import android.app.Activity;
36 private Activity mActivity;
82 TabHostStubActivity activity = getActivity(); local
83 TabWidget tabWidget = activity.getTabWidget();
100 TabHostStubActivity activity = getActivity(); local
101 TabWidget tabWidget = activity.getTabWidget();
  /development/ndk/platforms/android-9/samples/native-activity/
Android.mk 49 LOCAL_MODULE := libnative-activity
66 LOCAL_JNI_SHARED_LIBRARIES := libnative-activity
  /development/ndk/sources/android/native_app_glue/
android_native_app_glue.h 34 * The native activity interface provided by <android/native_activity.h>
36 * by the Activity's main thread when certain events occur.
47 * will be called when the activity is created, in a new thread that is
48 * distinct from the activity's main thread.
57 * - activity lifecycle events (e.g. "pause", "resume"). See APP_CMD_XXX
60 * - input events coming from the AInputQueue attached to the activity.
80 * See the sample named "native-activity" that comes with the NDK with a
126 ANativeActivity* activity; member in struct:android_app
156 // Current state of the app's activity. May be either APP_CMD_START,
256 * Command from main thread: the app's activity window has gaine
    [all...]
  /development/samples/HoneycombGallery/src/com/example/android/hcgallery/
TitlesFragment.java 20 import android.app.Activity;
53 /** Container Activity must implement this interface and we ensure
61 public void onAttach(Activity activity) {
62 super.onAttach(activity);
63 // Check that the container activity has implemented the callback interface
65 mListener = (OnItemSelectedListener) activity;
67 throw new ClassCastException(activity.toString()
160 // Send the event to the host activity via OnItemSelectedListener callback
172 // Calls the parent activity's implementation of the OnItemSelectedListene
    [all...]
  /external/bluetooth/bluez/tools/
ubcsp.h 136 /** ubcsp_poll sets activity from an OR of these flags **/
154 uint8 ubcsp_poll (uint8 *activity);
  /external/svox/pico/
Android.mk 2 # This makefile builds both an activity and a shared library.
6 # Build Pico activity
  /frameworks/base/core/tests/coretests/src/android/app/activity/
LaunchTest.java 17 package android.app.activity;
LifecycleTest.java 17 package android.app.activity;
  /frameworks/base/keystore/java/android/security/
KeyChain.java 18 import android.app.Activity;
200 * <p>When used with {@link Activity#startActivityForResult},
201 * {@link Activity#RESULT_OK} will be returned if a credential was
203 * Activity#RESULT_CANCELED} will be returned.
213 * Launches an {@code Activity} for the user to select the alias
229 * @param activity The {@link Activity} context to use for
230 * launching the new sub-Activity to prompt the user to select
246 public static void choosePrivateKeyAlias(Activity activity, KeyChainAliasCallback response
    [all...]
  /packages/apps/Browser/src/com/android/browser/
ComboViewActivity.java 19 import android.app.Activity;
35 public class ComboViewActivity extends Activity implements CombinedBookmarksCallbacks {
181 public TabsAdapter(Activity activity, ViewPager pager) {
182 super(activity.getFragmentManager());
183 mContext = activity;
184 mActionBar = activity.getActionBar();
NavScreen.java 19 import android.app.Activity;
53 Activity mActivity;
72 public NavScreen(Activity activity, UiController ctl, PhoneUi ui) {
73 super(activity);
74 mActivity = activity;
77 mOrientation = activity.getResources().getConfiguration().orientation;
  /packages/apps/Calendar/src/com/android/calendar/selectcalendars/
SelectVisibleCalendarsFragment.java 26 import android.app.Activity;
66 private Activity mContext;
78 public void onAttach(Activity activity) {
79 super.onAttach(activity);
80 mContext = activity;
81 mService = new AsyncQueryService(activity) {
  /packages/apps/Camera/tests/src/com/android/camera/activity/
CameraActivityTest.java 17 package com.android.camera.activity;
85 // Force the activity to finish.

Completed in 897 milliseconds

<<11121314151617181920>>