/sdk/files/ |
android.el | 14 (defvar android-jdb-activity-class-history () 15 "history of activity classes supplied to `start-android-activity'") 36 (defcustom android-activity-class nil 37 "This is where your Android Activity class is stored." 65 (read-from-minibuffer "Activity's JDWP DDMS port: " 106 (defun android-start-activity (package class) 107 "Start the activity PACKAGE/CLASS in the Android emulator. This expects the SDK tools directory to be in the current path." 111 (read-from-minibuffer "Activity Java class: " 112 (car android-jdb-activity-class-history [all...] |
/sdk/testapps/basicProjectWithLib/ |
AndroidManifest.xml | 7 <activity android:name="com.android.tests.basiclib.Main" android:label="@string/basicLib_name"> 12 </activity> 13 <activity android:name="com.android.tests.basiclibwithjar.Main" android:label="@string/basicLibWithJar_name"> 18 </activity>
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
SendResult.java | 23 import android.app.Activity; 32 * Example of receiving a result from another activity. 34 public class SendResult extends Activity 37 * Initialization of the Activity after it is first created. Must at least 38 * call {@link android.app.Activity#setContentView setContentView()} to 64 // activity is finished. 75 // activity is finished.
|
SoftInputModes.java | 5 import android.app.Activity; 21 public class SoftInputModes extends Activity { 34 * Initialization of the Activity after it is first created. Here we use 35 * {@link android.app.Activity#setContentView setContentView()} to set up 36 * the Activity's content, and retrieve the EditText widget whose state we
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
SendResult.java | 23 import android.app.Activity; 32 * Example of receiving a result from another activity. 34 public class SendResult extends Activity 37 * Initialization of the Activity after it is first created. Must at least 38 * call {@link android.app.Activity#setContentView setContentView()} to 64 // activity is finished. 75 // activity is finished.
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/ |
CellSpanTest.java | 46 final CellSpan activity = getActivity(); local 47 mA = activity.findViewById(R.id.a); 48 mB = activity.findViewById(R.id.b); 49 mC = activity.findViewById(R.id.c); 50 mSpanThenCell = activity.findViewById(R.id.spanThenCell); 51 mCellThenSpan = activity.findViewById(R.id.cellThenSpan); 52 mSpan = activity.findViewById(R.id.span);
|
VerticalGravityTest.java | 48 final VerticalGravity activity = getActivity(); local 49 mReference1 = activity.findViewById(R.id.reference1); 50 mReference2 = activity.findViewById(R.id.reference2); 51 mReference3 = activity.findViewById(R.id.reference3); 52 mTop = activity.findViewById(R.id.cell_top); 53 mCenter = activity.findViewById(R.id.cell_center); 54 mBottom = activity.findViewById(R.id.cell_bottom);
|
HorizontalGravityTest.java | 45 final HorizontalGravity activity = getActivity(); local 46 mReference = activity.findViewById(R.id.reference); 47 mCenter = activity.findViewById(R.id.center); 48 mBottomRight = activity.findViewById(R.id.bottomRight); 49 mLeft = activity.findViewById(R.id.left);
|
WeightTest.java | 44 final Weight activity = getActivity(); local 45 mCell1 = activity.findViewById(R.id.cell1); 46 mCell3 = activity.findViewById(R.id.cell2); 47 mCell2 = activity.findViewById(R.id.cell3); 48 mRow = activity.findViewById(R.id.row);
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/ui/ |
DialogHelperImpl.java | 19 import android.app.Activity; 25 * Uses an {@link Activity} to show Dialogs. 27 * Instantiate this class inside your Activity. 33 * Override your Activity's onCreateDialog(int, Bundle) method, as follows: 50 * should do something like this in your Activity: 75 private final Activity mActivity; 77 public DialogHelperImpl(Activity activity) { 78 mActivity = activity; 95 * You should call this method from your Activity's onCreateDialog(int, Bundle) method [all...] |
/cts/tests/src/android/theme/cts/ |
BitmapSaver.java | 19 import android.app.Activity; 35 private Activity mActivity; 37 public BitmapSaver(Activity activity, String filename, boolean splitMode) { 38 mActivity = activity;
|
OrientationSelectorActivity.java | 21 import android.app.Activity; 31 * This activity exists solely for debugging purposes. It is 32 * the first activity seen when launching the manual viewer of tests. 36 public class OrientationSelectorActivity extends Activity { 39 * Called with the activity is first created.
|
/cts/tests/tests/app/src/android/app/cts/ |
Instrumentation_ActivityResultTest.java | 19 import android.app.Activity; 51 ActivityResult result = new ActivityResult(Activity.RESULT_OK, intent); 52 assertEquals(Activity.RESULT_OK, result.getResultCode()); 55 result = new ActivityResult(Activity.RESULT_CANCELED, intent); 56 assertEquals(Activity.RESULT_CANCELED, result.getResultCode());
|
/cts/tests/tests/permission/src/android/permission/cts/ |
NoActivityRelatedPermissionTest.java | 21 import android.app.Activity; 32 * Verify the Activity related operations require specific permissions. 34 @TestTargetClass(Activity.class) 61 fail("Activity.getRunningTasks did not throw SecurityException as expected"); 68 fail("Activity.getRunningTasks did not throw SecurityException as expected");
|
/cts/tests/tests/theme/src/android/theme/cts/ |
ThemeGenerator.java | 31 * for the {@link ThemeTestGeneratorActivity} activity. 62 final ThemeTestGeneratorActivity activity = getActivity(); local 64 activity.runOnUiThread(new Runnable() { 66 activity.generateTests(); 76 fail("Failed at tearing down the activity so we can start a new one.");
|
ThemeTest.java | 31 * for the {@link ThemeTestRunnerActivity} activity. 62 final ThemeTestRunnerActivity activity = getActivity(); local 64 activity.runOnUiThread(new Runnable() { 66 activity.runTests(); 76 fail("Failed at tearing down the activity so we can start a new one.");
|
/frameworks/base/core/java/android/app/ |
IActivityController.aidl | 23 * Testing interface to monitor what is happening in the activity manager 30 * The system is trying to start an activity. Return true to allow 31 * it to be started as normal, or false to cancel/reject this activity. 36 * The system is trying to return to an activity. Return true to allow 37 * it to be resumed as normal, or false to cancel/reject this activity.
|
/frameworks/base/docs/html/resources/faq/ |
framework.jd | 12 from one Activity/Service to another?</a></li> 13 <li><a href="#4">How can I check if an Activity is already 15 <li><a href="#5">If an Activity starts a remote service, is 16 there any way for the Service to pass a message back to the Activity?</a></li> 31 in your manifest file, to explicitly place a component (Activity/Service) in 79 example activity A may retrieve the instance and call setValue(3); 80 later activity B may retrieve the instance and call getValue() to 86 class in your application. To share an object, the activity which creates your object sets a 87 static field to point to this object and any other activity that wants to use 92 keys. When an activity wants to pass an object to another activity, i [all...] |
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/ |
FBOSync.java | 22 import android.app.Activity; 42 public class FBOSync extends Activity { 51 // Activity 59 // to take appropriate action when the activity looses focus 67 // to take appropriate action when the activity looses focus
|
FBOTest.java | 22 import android.app.Activity; 42 public class FBOTest extends Activity { 51 // Activity 59 // to take appropriate action when the activity looses focus 67 // to take appropriate action when the activity looses focus
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
SceneGraph.java | 22 import android.app.Activity; 39 public class SceneGraph extends Activity { 48 // Activity 56 // to take appropriate action when the activity looses focus 64 // to take appropriate action when the activity looses focus
|
/packages/apps/KeyChain/tests/ |
AndroidManifest.xml | 28 To run activity: 37 <activity android:name="com.android.keychain.tests.KeyChainTestActivity"> 41 </activity> 42 <activity android:name="com.android.keychain.tests.KeyChainSocketTestActivity"> 46 </activity>
|
/frameworks/base/docs/html/guide/topics/search/ |
search-dialog.jd | 11 <li>The Android system sends search queries from the search dialog or widget to an activity you 22 <li><a href="#SearchableActivity">Creating a Searchable Activity</a> 24 <li><a href="#DeclaringSearchableActivity">Declaring a searchable activity</a></li> 31 <li><a href="#LifeCycle">The impact of the search dialog on your activity lifecycle</a></li> 78 the user interface with either a search dialog that appears at the top of the activity window or a 80 the user's search query to a specific activity in your application. This way, the user can initiate 81 a search from any activity where the search dialog or widget is available, and the system starts the 82 appropriate activity to perform the search and present results.</p> 110 When activated by the user, the search dialog appears at the top of the activity, as shown in figure 113 submits a query, the system delivers the query to the activity that you specify t [all...] |
/frameworks/base/docs/html/intl/ja/guide/topics/ |
fundamentals.jd | 8 <li>{@link android.app.Activity}</li> 83 <dd>?????????????? 1 ?????????????????????? ??????????????<i></i>??????????????????? ??????????????????????????????????????????????????????SMS ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? ??????????????????????????????????????????????????{@link android.app.Activity} ????????????????????? 98 ????????<code>{@link android.app.Activity#setContentView Activity.setContentView()}</code> ??????????????????????????????????? ?????????????? View ????????<i></i>???????????????????<a href="{@docRoot}guide/topics/ui/index.html">User Interface</a> ???????????????? 155 android.app.Activity#startActivityForResult 156 Activity.startActivityForResult()}</code> ???????????????? <code>{@link android.app.Activity#getIntent getIntent()}</code> ????????????????????????????????????????????????Android ???????????? <code>{@link 157 android.app.Activity#onNewIntent onNewIntent()}</code> ?????????????????????????????????? 160 ???????????????????????????????????????????????????????{@code startActivity()} ???? {@code startActivityForResult()} ???????????????????????????????????????????????????????????????????????????????????????? <code>{@link android.app.Activity#onActivityResult 203 <li>?????????????????? <code>{@link android.app.Activity#finish finish()}</code> ??????????????????????? {@code startActivityForResult()} ????????????????< (…) [all...] |
/frameworks/base/packages/SystemUI/ |
AndroidManifest.xml | 49 <activity android:name=".usb.UsbStorageActivity" 51 </activity> 52 <activity android:name="com.android.internal.app.ExternalMediaFormatActivity" 55 </activity> 58 <activity android:name=".usb.UsbConfirmActivity" 64 </activity> 67 <activity android:name=".usb.UsbPermissionActivity" 73 </activity> 76 <activity android:name=".usb.UsbResolverActivity" 82 </activity> [all...] |