HomeSort by relevance Sort by last modified time
    Searched refs:Activity (Results 651 - 675 of 4096) sorted by null

<<21222324252627282930>>

  /platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/
ManyConfigResourceActivity.java 19 import android.app.Activity;
23 public class ManyConfigResourceActivity extends Activity {
SimpleActivity.java 21 import android.app.Activity;
25 public class SimpleActivity extends Activity {
  /sdk/testapps/libsAndJarTest/lib1/src/com/android/tests/javaprojecttest/lib1/
Main.java 3 import android.app.Activity;
8 public class Main extends Activity
10 /** Called when the activity is first created. */
  /sdk/testapps/libsTest/app/src/com/android/tests/libstest/app/
MainActivity.java 3 import android.app.Activity;
9 public class MainActivity extends Activity {
10 /** Called when the activity is first created. */
  /sdk/testapps/libsTest/lib1/src/com/android/tests/libstest/lib1/
MainActivity.java 3 import android.app.Activity;
8 public class MainActivity extends Activity {
9 /** Called when the activity is first created. */
  /sdk/testapps/userLibTest/src/com/android/tests/userlibtest/
Main.java 3 import android.app.Activity;
9 public class Main extends Activity {
10 /** Called when the activity is first created. */
  /external/libmojo/base/android/java/src/org/chromium/base/
ApplicationStatus.java 7 import android.app.Activity;
23 * Provides information about the current activity's status, and a way
35 * @return The current {@link ActivityState} of the activity.
42 * @param status The new {@link ActivityState} of the activity.
49 * @return A list of {@link ActivityStateListener}s listening to this activity.
59 /** Last activity that was shown (or null if none or it was destroyed). */
60 private static Activity sActivity;
66 * A map of which observers listen to state changes from which {@link Activity}.
68 private static final Map<Activity, ActivityInfo> sActivityInfo =
69 new ConcurrentHashMap<Activity, ActivityInfo>()
    [all...]
  /packages/apps/DocumentsUI/src/com/android/documentsui/ui/
Snackbars.java 20 import android.app.Activity;
32 public static final void showDocumentsClipped(Activity activity, int docCount) {
34 activity, R.plurals.clipboard_files_clipped, docCount);
35 Snackbars.makeSnackbar(activity, msg, Snackbar.LENGTH_SHORT).show();
38 public static final void showMove(Activity activity, int docCount) {
39 CharSequence message = Shared.getQuantityString(activity, R.plurals.move_begin, docCount);
40 makeSnackbar(activity, message, Snackbar.LENGTH_SHORT).show();
43 public static final void showCopy(Activity activity, int docCount)
    [all...]
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
KeyguardManagerTest.java 3 import android.app.Activity;
21 Activity activity = new Activity(); local
22 KeyguardManager mgr = ( KeyguardManager ) activity.getSystemService( KEYGUARD_SERVICE );
31 Activity activity = new Activity(); local
32 KeyguardManager mgr = ( KeyguardManager ) activity.getSystemService( KEYGUARD_SERVICE );
AnimationUtilsTest.java 4 import android.app.Activity;
22 assertThat(AnimationUtils.loadAnimation(new Activity(), 1), notNullValue());
27 Animation anim = AnimationUtils.loadAnimation(new Activity(), R.anim.fade_in);
NotificationTest.java 3 import android.app.Activity;
18 PendingIntent pendingIntent = PendingIntent.getActivity(new Activity(), 0, new Intent(), 0);
20 notification.setLatestEventInfo(new Activity(), "title", "content", pendingIntent);
ToastTest.java 5 import android.app.Activity;
18 Toast toast = Toast.makeText(new Activity(), "short toast",
26 Toast toast = Toast.makeText(new Activity(), "long toast",
  /frameworks/support/v13/java/android/support/v13/view/
DragAndDropPermissionsCompat.java 21 import android.app.Activity;
35 Object request(Activity activity, DragEvent dragEvent);
41 public Object request(Activity activity, DragEvent dragEvent) {
55 public Object request(Activity activity, DragEvent dragEvent) {
56 return activity.requestDragAndDropPermissions(dragEvent);
82 public static DragAndDropPermissionsCompat request(Activity activity, DragEvent dragEvent)
    [all...]
  /cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/
SimpleIntentReceiverActivity.java 20 import android.app.Activity;
28 * An activity that receives an intent and returns immediately, indicating its own name and if it is
31 public class SimpleIntentReceiverActivity extends Activity {
44 Log.i(TAG, "activity " + className + " started, is in managed profile: "
49 setResult(Activity.RESULT_OK, result);
  /cts/tests/tests/print/src/android/print/cts/services/
CustomPrintOptionsActivity.java 19 import android.app.Activity;
27 * Custom print options activity for both print services
29 public class CustomPrintOptionsActivity extends Activity {
37 * Set a new callback called when the custom options activity is launched.
48 * Callback executed for this activity. Set via {@link #setCallBack}.
73 setResult(Activity.RESULT_OK, result);
  /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...]
  /developers/build/prebuilts/gradle/RuntimePermissionsWear/Application/src/main/java/com/example/android/wearable/runtimepermissions/
WearPermissionRequestActivity.java 19 import android.app.Activity;
27 * This is a simple splash screen (activity) for giving more details on why the user should approve
32 * If this activity is started by our service (IncomingRequestPhoneService) it is marked via an
34 * this activity if the phone permission hasn't been approved for the data wear is trying to access.
35 * When the user decides within this Activity what to do with the permission request, it closes and
53 setResult(Activity.RESULT_OK);
59 setResult(Activity.RESULT_CANCELED);
  /developers/samples/android/wearable/wear/RuntimePermissionsWear/Application/src/main/java/com/example/android/wearable/runtimepermissions/
WearPermissionRequestActivity.java 19 import android.app.Activity;
27 * This is a simple splash screen (activity) for giving more details on why the user should approve
32 * If this activity is started by our service (IncomingRequestPhoneService) it is marked via an
34 * this activity if the phone permission hasn't been approved for the data wear is trying to access.
35 * When the user decides within this Activity what to do with the permission request, it closes and
53 setResult(Activity.RESULT_OK);
59 setResult(Activity.RESULT_CANCELED);
  /development/samples/browseable/RuntimePermissionsWear/Application/src/com.example.android.wearable.runtimepermissions/
WearPermissionRequestActivity.java 19 import android.app.Activity;
27 * This is a simple splash screen (activity) for giving more details on why the user should approve
32 * If this activity is started by our service (IncomingRequestPhoneService) it is marked via an
34 * this activity if the phone permission hasn't been approved for the data wear is trying to access.
35 * When the user decides within this Activity what to do with the permission request, it closes and
53 setResult(Activity.RESULT_OK);
59 setResult(Activity.RESULT_CANCELED);
  /external/droiddriver/manualtest/src/io/appium/droiddriver/manualtest/
ManualTest.java 3 import android.app.Activity;
25 public class ManualTest extends BaseDroidDriverTest<Activity> {
27 super(Activity.class);
  /frameworks/base/core/tests/coretests/src/android/util/
OrientationUtil.java 19 import android.app.Activity;
32 private final Activity mActivity;
55 private OrientationUtil(Activity activity, Instrumentation instrumentation) {
56 mActivity = activity;
  /frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DeviceDisconnectedReceiver.java 19 import android.app.Activity;
32 private final Activity mActivity;
35 public DeviceDisconnectedReceiver(Activity activity, String deviceName) {
36 mActivity = activity;
40 activity.registerReceiver(this, filter);
49 // close our activity if the device it is displaying is disconnected
  /frameworks/base/test-runner/src/android/test/
SingleLaunchActivityTestCase.java 19 import android.app.Activity;
22 * If you would like to test a single activity with an
24 * launch and finish the activity in {@link #setUp} and {@link #tearDown}.
26 * This launches the activity only once for the entire class instead of doing it
35 public abstract class SingleLaunchActivityTestCase<T extends Activity>
45 * package hosting the activity to be launched, which is specified in the AndroidManifest.xml
48 * @param pkg The package hosting the activity to be launched.
49 * @param activityClass The activity to test.
58 * The activity that will be set up for use in each test method.
60 private static Activity sActivity
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/actionbarmenu/
SettingsMenuItemController.java 19 import android.app.Activity;
38 private final Activity mActivity;
40 public SettingsMenuItemController(Activity activity) {
41 mActivity = activity;
  /packages/apps/DeskClock/src/com/android/deskclock/controller/
VoiceController.java 20 import android.app.Activity;
32 * If the {@code activity} is currently hosting a voice interaction session, indicate the voice
35 * @param activity an Activity that may be hosting a voice interaction session
38 void notifyVoiceSuccess(Activity activity, String message) {
43 final VoiceInteractor voiceInteractor = activity.getVoiceInteractor();
51 * If the {@code activity} is currently hosting a voice interaction session, indicate the voice
54 * @param activity an Activity that may be hosting a voice interaction sessio
    [all...]

Completed in 1033 milliseconds

<<21222324252627282930>>