/packages/apps/Browser/src/com/android/browser/ |
CombinedBookmarkHistoryActivity.java | 19 import android.app.Activity; 42 * Intent to be passed to calling Activity when finished. Keep a pointer to 47 * Result code to pass back to calling Activity when finished. 110 // Need to copy extras so the bookmarks activity and this one will be 134 // Do this every time we launch the activity in case a new favicon was 154 // Copied from DialTacts Activity 157 Activity activity = getLocalActivityManager().getActivity(tabId); local 158 if (activity != null) { 159 activity.onWindowFocusChanged(true) [all...] |
FetchUrlMimeType.java | 52 public FetchUrlMimeType(BrowserActivity activity) { 53 mActivity = activity;
|
/frameworks/base/core/java/android/accounts/ |
AccountManager.java | 19 import android.app.Activity; 113 * the current foreground {@link Activity} context. 166 * be used to start the corresponding user interface activity. [all...] |
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
LayoutTestsAutoTest.java | 301 private void runTestAndWaitUntilDone(TestShellActivity activity, String test, int timeout, boolean ignoreResult) { 302 activity.setCallback(new TestShellCallback() { 332 intent.setClass(activity, TestShellActivity.class); 337 activity.startActivity(intent); 363 // A convenient method to be called by another activity. 393 TestShellActivity activity = getActivity(); local 394 activity.setDefaultDumpDataType(DumpDataType.DUMP_AS_TEXT); 411 runTestAndWaitUntilDone(activity, s, runner.mTimeoutInMillis, ignoreResult); 416 activity.finish();
|
/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...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
TabWidgetTest.java | 25 import android.app.Activity; 42 private Activity mActivity; 120 TabHostStubActivity activity = getActivity(); local 121 TabWidget tabWidget = activity.getTabWidget(); 145 TabHostStubActivity activity = getActivity(); local 146 TabWidget tabWidget = activity.getTabWidget();
|
TabHostTest.java | 27 import android.app.Activity; 103 final Activity activity = launchActivity("com.android.cts.stub", StubActivity.class, null); local 107 activity.setContentView(R.layout.tabhost_layout); 109 TabHost tabHost = (TabHost) activity.findViewById(TAB_HOST_ID); 125 activity.finish(); 139 final ActivityGroup activity = launchActivity("com.android.cts.stub", local 145 activity.setContentView(R.layout.tabhost_layout); 147 TabHost tabHost = (TabHost) activity.findViewById(TAB_HOST_ID); 150 tabHost.setup(activity.getLocalActivityManager()) [all...] |
/external/bluetooth/bluez/tools/ |
ubcsp.h | 136 /** ubcsp_poll sets activity from an OR of these flags **/
154 uint8 ubcsp_poll (uint8 *activity);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
LaunchTest.java | 17 package android.app.activity;
|
IntentSenderTest.java | 17 package android.app.activity; 19 import android.app.Activity; 55 is.send(Activity.RESULT_CANCELED, finish, null); 82 is.send(Activity.RESULT_CANCELED, finish, null);
|
LifecycleTest.java | 17 package android.app.activity;
|
LocalReceiver.java | 17 package android.app.activity;
|
SubActivityTest.java | 17 package android.app.activity;
|
/packages/apps/Email/src/com/android/email/activity/ |
AccountFolderListItem.java | 17 package com.android.email.activity; 27 * This custom View is the list item for the AccountFolderList activity, and serves two purposes:
|
AddressTextView.java | 17 package com.android.email.activity;
|
MessageListItem.java | 17 package com.android.email.activity; 27 * This custom View is the list item for the MessageList activity, and serves two purposes:
|
/packages/apps/Email/src/com/android/exchange/provider/ |
GalEmailAddressAdapter.java | 24 import android.app.Activity; 47 private Activity mActivity; 57 public GalEmailAddressAdapter(Activity activity) { 58 super(activity); 59 mActivity = activity; 62 mInflater = (LayoutInflater) activity.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
VoiceContact.java | 19 import android.app.Activity; 101 * @param activity The VoiceDialerActivity instance. 105 public static List<VoiceContact> getVoiceContacts(Activity activity) { 122 Cursor cursor = activity.getContentResolver().query( 280 * @param activity The VoiceDialerActivity instance. 283 public static String redialNumber(Activity activity) { 284 Cursor cursor = activity.getContentResolver().query(
|
/frameworks/base/core/java/android/app/ |
Dialog.java | 54 * restoring of dialogs. See {@link Activity#onCreateDialog(int)}, 55 * {@link Activity#onPrepareDialog(int, Dialog)}, 56 * {@link Activity#showDialog(int)}, and {@link Activity#dismissDialog(int)}. If 57 * these methods are used, {@link #getOwnerActivity()} will return the Activity 73 private Activity mOwnerActivity; 180 * Sets the Activity that owns this dialog. An example use: This Dialog will 181 * use the suggested volume control stream of the Activity. 183 * @param activity The Activity that owns this dialog 839 Activity activity = mOwnerActivity; local [all...] |
ApplicationErrorReport.java | 175 * Return activity in receiverPackage that handles ACTION_APP_ERROR. 180 * @return activity component within receiverPackage which handles 367 * Activity name. 369 public String activity; field in class:ApplicationErrorReport.AnrInfo 391 activity = in.readString(); 400 dest.writeString(activity); 409 pw.println(prefix + "activity: " + activity);
|
/sdk/eventanalyzer/src/com/android/eventanalyzer/ |
EventAnalyzer.java | 330 // write the list of launch start. One column per activity. 334 for (String activity : activities) { 335 builder.append(activity).append(DATA_SEPARATOR); 346 for (String activity : activities) { 347 // get the activity list. 348 ArrayList<Long> list = mLaunchMap.get(activity); 365 // write per-activity stats. 366 for (String activity : activities) { 368 builder.append(activity).append(DATA_SEPARATOR); 370 // get the activity list [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
View_FocusHandlingTest.java | 26 import android.app.Activity; 143 Activity activity = getActivity(); local 145 View v1 = activity.findViewById(R.id.view1); 146 View v2 = activity.findViewById(R.id.view2); 147 View v3 = activity.findViewById(R.id.view3); 148 View v4 = activity.findViewById(R.id.view4);
|
/external/opencore/nodes/pvvideoparsernode/src/ |
pvmf_videoparser_node.cpp | 468 PVMFPortActivity activity(iPortActivityQueue.front()); 545 // If the port activity cannot be processed because a port is 546 // busy, discard the activity and continue to process the next 547 // activity in queue until getting to one that can be processed. [all...] |
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
DeviceInfoInstrument.java | 19 import android.app.Activity; 103 DeviceInfoActivity activity = (DeviceInfoActivity) startActivitySync(intent); local 105 activity.waitForAcitityToFinish(); 125 finish(Activity.RESULT_OK, mResults);
|
/packages/apps/IM/src/com/android/im/app/ |
SimpleAlertHandler.java | 20 import android.app.Activity; 35 Activity mActivity; 38 public SimpleAlertHandler(Activity activity) { 39 mActivity = activity;
|