HomeSort by relevance Sort by last modified time
    Searched refs:activity (Results 151 - 175 of 1098) sorted by null

1 2 3 4 5 67 8 91011>>

  /frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
VersionDialog.java 19 import android.app.Activity;
38 final Activity activity = getActivity(); local
43 context = activity.createPackageContext(SharedLibraryMain.LIBRARY_PACKAGE, 0);
49 AlertDialog.Builder builder = new AlertDialog.Builder(activity);
52 activity.getApplicationInfo().loadLabel(activity.getPackageManager()),
60 activity.startActivity(new Intent(Intent.ACTION_VIEW,
64 activity.startActivity(new Intent(Intent.ACTION_VIEW,
  /frameworks/support/v4/java/android/support/v4/app/
NavUtils.java 19 import android.app.Activity;
43 Intent getParentActivityIntent(Activity activity);
44 boolean shouldUpRecreateTask(Activity activity, Intent targetIntent);
45 void navigateUpTo(Activity activity, Intent upIntent);
52 public Intent getParentActivityIntent(Activity activity) {
53 String parentName = NavUtils.getParentActivityName(activity);
    [all...]
ActionBarDrawerToggle.java 20 import android.app.Activity;
46 * <p>To use <code>ActionBarDrawerToggle</code>, create one in your Activity and call through
47 * to the following methods corresponding to your Activity callbacks:</p>
50 * <li>{@link Activity#onConfigurationChanged(android.content.res.Configuration) onConfigurationChanged}</li>
51 * <li>{@link Activity#onOptionsItemSelected(android.view.MenuItem) onOptionsItemSelected}</li>
54 * <p>Call {@link #syncState()} from your <code>Activity</code>'s
55 * {@link Activity#onPostCreate(android.os.Bundle) onPostCreate} to synchronize the indicator
68 * Allows an implementing Activity to return an {@link ActionBarDrawerToggle.Delegate} to use
74 * @return Delegate to use for ActionBarDrawableToggles, or null if the Activity
83 * @return Up indicator drawable as defined in the Activity's theme, or null if one is no
    [all...]
  /developers/build/prebuilts/androidtv/visual-game-controller/src/com/example/android/visualgamecontroller/util/
SystemUiHider.java 19 import android.app.Activity;
47 * of the activity layout. This is most useful when there are no controls at
48 * the top of the activity layout.
73 * The activity associated with this UI hider object.
75 protected Activity mActivity;
102 * @param activity The activity whose window's system UI should be
110 public static SystemUiHider getInstance(Activity activity, View anchorView, int flags) {
112 return new SystemUiHiderHoneycomb(activity, anchorView, flags)
    [all...]
  /developers/build/prebuilts/gradle/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/
AppRestrictionEnforcerFragment.java 19 import android.app.Activity;
66 * {@link #loadRestrictions(android.app.Activity)}.
120 * @param activity The activity
122 private void updateUi(Activity activity) {
123 PackageManager packageManager = activity.getPackageManager();
128 (DevicePolicyManager) activity.getSystemService(Activity.DEVICE_POLICY_SERVICE);
131 EnforcerDeviceAdminReceiver.getComponentName(activity),
    [all...]
  /developers/samples/android/admin/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/
AppRestrictionEnforcerFragment.java 19 import android.app.Activity;
66 * {@link #loadRestrictions(android.app.Activity)}.
120 * @param activity The activity
122 private void updateUi(Activity activity) {
123 PackageManager packageManager = activity.getPackageManager();
128 (DevicePolicyManager) activity.getSystemService(Activity.DEVICE_POLICY_SERVICE);
131 EnforcerDeviceAdminReceiver.getComponentName(activity),
    [all...]
  /development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
WiFiDirectBroadcastReceiver.java 20 import android.app.Activity;
38 private Activity activity; field in class:WiFiDirectBroadcastReceiver
43 * @param activity activity associated with the receiver
46 Activity activity) {
50 this.activity = activity;
78 (ConnectionInfoListener) activity);
    [all...]
  /development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
AppRestrictionEnforcerFragment.java 19 import android.app.Activity;
66 * {@link #loadRestrictions(android.app.Activity)}.
120 * @param activity The activity
122 private void updateUi(Activity activity) {
123 PackageManager packageManager = activity.getPackageManager();
128 (DevicePolicyManager) activity.getSystemService(Activity.DEVICE_POLICY_SERVICE);
131 EnforcerDeviceAdminReceiver.getComponentName(activity),
    [all...]
  /external/zxing/qr_scanner/src/com/google/zxing/client/android/
DecodeThread.java 39 private final CaptureActivity activity; field in class:DecodeThread
44 DecodeThread(CaptureActivity activity,
48 this.activity = activity;
74 handler = new DecodeHandler(activity, hints);
  /frameworks/base/core/tests/coretests/src/android/widget/layout/table/
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);
  /frameworks/testing/support/src/android/support/test/internal/runner/listener/
ActivityFinisherRunListener.java 5 import android.app.Activity;
46 List<Activity> activities = new ArrayList<Activity>();
50 for (Activity activity : activities) {
51 if (!activity.isFinishing()) {
52 Log.i(TAG, "Finishing: " + activity);
54 activity.finish();
56 Log.e(TAG, "Failed to finish: " + activity, re);
  /frameworks/base/core/java/android/nfc/
NfcAdapter.java 24 import android.app.Activity;
61 * Intent to start an activity when a tag with NDEF payload is discovered.
68 * most specific intent filters possible to avoid the activity chooser dialog, which can
82 * Intent to start an activity when a tag is discovered and activities are registered for the
85 * <p>To receive this intent an activity must include an intent filter
89 * &lt;activity android:name=".nfc.TechFilter" android:label="NFC/TechFilter"&gt;
98 * &lt;/activity&gt;</pre>
107 * activity is considered a match is any single <code>tech-list</code> matches the tag that was
138 * Intent to start an activity when a tag is discovered.
147 * Broadcast to only the activity that handles ACTION_TAG_DISCOVERE
    [all...]
  /frameworks/testing/support/src/android/support/test/runner/
MonitoringInstrumentation.java 19 import android.app.Activity;
60 * <li>Allows tracking of activity lifecycle states.</li>
207 * According to Activity's contract, the process is not killable between onStart and onStop.
221 Log.i(LOG_TAG, "Unstopped activity count: " + currentActivityCount);
225 Log.i(LOG_TAG, "Abandoning activity wait due to interruption.", ie);
245 public Activity startActivitySync(final Intent intent) {
256 // However IF we've run a test method previously and that has launched an activity
258 // activity android will place our activity at the bottom of the stack and bring the
259 // previous external activity to the front of the screen
    [all...]
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/share/
ShareHelper.java 7 import android.app.Activity;
50 * activity that was most recently used to share based on shareDirectly value.
52 * @param shareDirectly Whether it should share directly with the activity that was most
54 * @param activity Activity that is used to access package manager.
59 public static void share(boolean shareDirectly, Activity activity, String title, String url,
62 shareWithLastUsed(activity, title, url, screenshot);
64 showShareDialog(activity, title, url, screenshot);
71 * @param activity Activity that is used to access package manager
    [all...]
  /external/chromium_org/athena/activity/
activity_view_manager_impl.cc 5 #include "athena/activity/public/activity_view_manager.h"
10 #include "athena/activity/public/activity.h"
11 #include "athena/activity/public/activity_view_model.h"
25 explicit ActivityWidget(Activity* activity)
26 : activity_(activity),
40 content_ = activity->GetActivityViewModel()->GetContentsView();
94 Activity* activity_;
117 virtual void AddActivity(Activity* activity) OVERRIDE
    [all...]
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/printing/
PrintingControllerFactory.java 7 import android.app.Activity;
21 public static PrintingController create(Activity activity) {
23 String defaultJobTitle = activity.getResources().getString(R.string.menu_print);
26 String errorText = activity.getResources().getString(R.string.error_printing_failed);
  /frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
BaselineAlignmentSpinnerButton.java 19 import android.app.Activity;
40 final Activity activity = getActivity(); local
41 mSpinner = activity.findViewById(R.id.reminder_value);
42 mButton = activity.findViewById(R.id.reminder_remove);
FillInWrapTest.java 19 import android.app.Activity;
38 final Activity activity = getActivity(); local
39 mChild = activity.findViewById(R.id.data);
40 mContainer = activity.findViewById(R.id.layout);
LinearLayoutEditTextsTest.java 25 import android.app.Activity;
39 final Activity activity = getActivity(); local
40 mChild = activity.findViewById(R.id.editText1);
41 mContainer = activity.findViewById(R.id.layout);
WeightSumTest.java 19 import android.app.Activity;
39 final Activity activity = getActivity(); local
40 mChild = activity.findViewById(R.id.child);
41 mContainer = activity.findViewById(R.id.container);
WeightTest.java 19 import android.app.Activity;
40 final Activity activity = getActivity(); local
41 mChild = activity.findViewById(R.id.child4);
42 mContainer = activity.findViewById(R.id.layout);
  /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
  /packages/apps/Calendar/src/com/android/calendar/
AboutPreferences.java 19 import android.app.Activity;
35 final Activity activity = getActivity(); local
38 activity.getPackageManager().getPackageInfo(activity.getPackageName(), 0);
  /developers/build/prebuilts/gradle/BasicManagedProfile/Application/src/main/java/com/example/android/basicmanagedprofile/
SetupProfileFragment.java 19 import android.app.Activity;
71 Activity activity = getActivity(); local
72 if (null == activity) {
77 activity.getApplicationContext().getPackageName());
78 if (intent.resolveActivity(activity.getPackageManager()) != null) {
80 activity.finish();
82 Toast.makeText(activity, "Device provisioning is not enabled. Stopping.",
90 if (resultCode == Activity.RESULT_OK) {

Completed in 393 milliseconds

1 2 3 4 5 67 8 91011>>