/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/ |
AnswerMethodFactory.java | 19 import android.app.Activity; 30 public static AnswerMethod createAnswerMethod(@NonNull Activity activity) { 31 if (needTwoButton(activity)) { 48 private static boolean needTwoButton(@NonNull Activity activity) { 49 return AccessibilityUtil.isTouchExplorationEnabled(activity) 50 || ActivityCompat.isInMultiWindowMode(activity);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
SetLastAccessedStackTask.java | 19 import android.app.Activity; 24 class SetLastAccessedStackTask extends PairedTask<Activity, Void, Void> { 31 Activity activity, 36 super(activity);
|
/packages/experimental/PrintService/src/foo/bar/printservice/ |
InfoActivity.java | 19 import android.app.Activity; 28 * Dummy activity showing more information about a printer 30 public class InfoActivity extends Activity { 50 setResult(Activity.RESULT_OK,
|
/frameworks/base/core/java/android/speech/ |
RecognizerIntent.java | 21 import android.app.Activity; 49 * Starts an activity that will prompt the user for speech and send it through a 50 * speech recognizer. The results will be returned via activity results (in 51 * {@link Activity#onActivityResult}, if you start the intent using 52 * {@link Activity#startActivityForResult(Intent, int)}), or forwarded via a PendingIntent 55 * <p>Starting this intent with just {@link Activity#startActivity(Intent)} is not supported. 56 * You must either use {@link Activity#startActivityForResult(Intent, int)}, or provide a 87 * Starts an activity that will prompt the user for speech, send it through a 121 * Starts an activity that will prompt the user for speech without requiring the user's 126 * This activity may be launched while device is locked in a secure mode [all...] |
/packages/apps/Camera2/tests/src/com/android/camera/functional/ |
CameraTest.java | 21 import android.app.Activity; 62 ArrayList<WeakReference<Activity>> refs = 63 new ArrayList<WeakReference<Activity>>(); 65 Activity activity = getInstrumentation().startActivitySync(intent); local 66 refs.add(new WeakReference<Activity>(activity)); 67 activity.finish(); 69 activity = null; 75 for (WeakReference<Activity> c: refs) [all...] |
/packages/apps/TV/src/com/android/tv/ |
LauncherActivity.java | 19 import android.app.Activity; 27 * An activity to launch a new activity. 29 * <p>In the case when {@link MainActivity} starts a new activity using 30 * {@link Activity#startActivity} or {@link Activity#startActivityForResult}, Live TV app is 31 * terminated if the new activity crashes. That's because the {@link android.app.ActivityManager} 32 * terminates the activity which is just below the crashed activity in the activity stack. To avoi [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
ReportViewerActivity.java | 19 import android.app.Activity; 24 public class ReportViewerActivity extends Activity {
|
TestResult.java | 21 import android.app.Activity; 25 * Object representing the result of a test activity like whether it succeeded or failed. 26 * Use {@link #setPassedResult(Activity, String, String)} or 27 * {@link #setFailedResult(Activity, String, String)} from a test activity like you would 28 * {@link Activity#setResult(int)} so that {@link TestListActivity} 47 /** Sets the test activity's result to pass. */ 48 public static void setPassedResult(Activity activity, String testId, String testDetails) { 49 setPassedResult(activity, testId, testDetails, null /*reportLog*/) [all...] |
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/ |
AwareActivity.java | 21 import android.app.Activity; 26 public class AwareActivity extends Activity { 30 Log.v(AWARE, "Activity.onCreate()");
|
UnawareActivity.java | 21 import android.app.Activity; 26 public class UnawareActivity extends Activity { 30 Log.v(UNAWARE, "Activity.onCreate()");
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
EphemeralActivity.java | 19 import android.app.Activity; 32 public class EphemeralActivity extends Activity {
|
EphemeralActivity2.java | 19 import android.app.Activity; 30 public class EphemeralActivity2 extends Activity {
|
EphemeralActivity3.java | 19 import android.app.Activity; 30 public class EphemeralActivity3 extends Activity {
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/UserApp/src/com/android/cts/userapp/ |
UserActivity.java | 19 import android.app.Activity; 29 public class UserActivity extends Activity {
|
/cts/hostsidetests/appsecurity/test-apps/NoRestartApp/src/com/android/cts/norestart/ |
NoRestartActivity.java | 21 import android.app.Activity; 25 public class NoRestartActivity extends Activity {
|
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/ |
SimpleActivityImmediateExit.java | 19 import android.app.Activity; 25 * A simple activity which quits itself immediately after starting. 27 public class SimpleActivityImmediateExit extends Activity { 47 // Notify any listener that this activity is about to end now.
|
/cts/hostsidetests/incident/apps/storagedapp/src/com/android/server/cts/storaged/ |
SimpleIOActivity.java | 19 import android.app.Activity; 26 public class SimpleIOActivity extends Activity {
|
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/ |
FreeformActivity.java | 22 import android.app.Activity; 27 public class FreeformActivity extends Activity {
|
TranslucentAssistantActivity.java | 22 import android.app.Activity; 33 static void launchActivityIntoAssistantStack(Activity caller, Bundle extras) {
|
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/ |
WebViewStartupCtsActivity.java | 19 import android.app.Activity; 24 public class WebViewStartupCtsActivity extends Activity {
|
/cts/tests/app/app/src/android/app/stubs/ |
ActionBarActivity.java | 19 import android.app.Activity; 23 public class ActionBarActivity extends Activity {
|
/cts/tests/fragment/src/android/fragment/cts/ |
NewIntentActivity.java | 18 import android.app.Activity; 25 public class NewIntentActivity extends Activity {
|
RecreatedActivity.java | 18 import android.app.Activity; 23 public class RecreatedActivity extends Activity {
|
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/ |
TestAuthenticatorActivity.java | 20 import android.app.Activity; 24 public class TestAuthenticatorActivity extends Activity {
|
/cts/tests/tests/accounts/src/android/accounts/cts/ |
AccountAuthenticatorDummyActivity.java | 5 import android.app.Activity; 10 * Activity used by {@link android.accounts.cts.MockAccountAuthenticator} to test the 13 public class AccountAuthenticatorDummyActivity extends Activity {
|