Searched refs:activity (Results 26 - 50 of 211) sorted by relevance

123456789

/frameworks/support/v4/honeycomb/android/support/v4/app/
H A DActionBarDrawerToggleHoneycomb.java48 public static Object setActionBarUpIndicator(Object info, Activity activity, argument
51 info = new SetIndicatorInfo(activity);
56 final ActionBar actionBar = activity.getActionBar();
70 public static Object setActionBarDescription(Object info, Activity activity, argument
73 info = new SetIndicatorInfo(activity);
78 final ActionBar actionBar = activity.getActionBar();
92 public static Drawable getThemeUpIndicator(Activity activity) { argument
93 final TypedArray a = activity.obtainStyledAttributes(THEME_ATTRS);
104 SetIndicatorInfo(Activity activity) { argument
117 final View home = activity
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBarDrawerToggleHoneycomb.java49 public static SetIndicatorInfo setActionBarUpIndicator(SetIndicatorInfo info, Activity activity, argument
52 info = new SetIndicatorInfo(activity);
56 final ActionBar actionBar = activity.getActionBar();
70 public static SetIndicatorInfo setActionBarDescription(SetIndicatorInfo info, Activity activity, argument
73 info = new SetIndicatorInfo(activity);
77 final ActionBar actionBar = activity.getActionBar();
91 public static Drawable getThemeUpIndicator(Activity activity) { argument
92 final TypedArray a = activity.obtainStyledAttributes(THEME_ATTRS);
103 SetIndicatorInfo(Activity activity) { argument
116 final View home = activity
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
H A DCellSpanTest.java46 final CellSpan activity = getActivity();
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);
H A DVerticalGravityTest.java48 final VerticalGravity activity = getActivity();
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);
H A DHorizontalGravityTest.java45 final HorizontalGravity activity = getActivity();
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);
H A DWeightTest.java44 final Weight activity = getActivity();
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/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
H A DPowerMeasurement.java47 PowerTestActivity activity = (PowerTestActivity)mInst.startActivitySync(
49 activity.reset();
51 Handler handler = activity.getHandler();
58 boolean timeoutFlag = activity.waitUntilDone();
61 boolean pageErrorFlag = activity.getPageError();
64 Log.v(LOGTAG, "Page is loaded in " + activity.getPageLoadTime() + " ms.");
84 activity.finish();
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
H A DVersionDialog.java38 final Activity activity = getActivity();
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/
H A DNavUtils.java43 Intent getParentActivityIntent(Activity activity); argument
44 boolean shouldUpRecreateTask(Activity activity, Intent targetIntent); argument
45 void navigateUpTo(Activity activity, Intent upIntent); argument
52 public Intent getParentActivityIntent(Activity activity) { argument
53 String parentName = NavUtils.getParentActivityName(activity);
56 // If the parent itself has no parent, generate a main activity intent.
57 final ComponentName target = new ComponentName(activity, parentName);
59 final String grandparent = NavUtils.getParentActivityName(activity, target);
72 public boolean shouldUpRecreateTask(Activity activity, Intent targetIntent) { argument
73 String action = activity
78 navigateUpTo(Activity activity, Intent upIntent) argument
99 getParentActivityIntent(Activity activity) argument
109 superGetParentActivityIntent(Activity activity) argument
114 shouldUpRecreateTask(Activity activity, Intent targetIntent) argument
119 navigateUpTo(Activity activity, Intent upIntent) argument
[all...]
H A DActionBarDrawerToggle.java106 Drawable getThemeUpIndicator(Activity activity); argument
107 Object setActionBarUpIndicator(Object info, Activity activity, argument
109 Object setActionBarDescription(Object info, Activity activity, int contentDescRes); argument
114 public Drawable getThemeUpIndicator(Activity activity) { argument
119 public Object setActionBarUpIndicator(Object info, Activity activity, argument
126 public Object setActionBarDescription(Object info, Activity activity, int contentDescRes) { argument
134 public Drawable getThemeUpIndicator(Activity activity) { argument
135 return ActionBarDrawerToggleHoneycomb.getThemeUpIndicator(activity);
139 public Object setActionBarUpIndicator(Object info, Activity activity, argument
141 return ActionBarDrawerToggleHoneycomb.setActionBarUpIndicator(info, activity,
146 setActionBarDescription(Object info, Activity activity, int contentDescRes) argument
155 getThemeUpIndicator(Activity activity) argument
160 setActionBarUpIndicator(Object info, Activity activity, Drawable themeImage, int contentDescRes) argument
167 setActionBarDescription(Object info, Activity activity, int contentDescRes) argument
226 ActionBarDrawerToggle(Activity activity, DrawerLayout drawerLayout, @DrawableRes int drawerImageRes, @StringRes int openDrawerContentDescRes, @StringRes int closeDrawerContentDescRes) argument
259 ActionBarDrawerToggle(Activity activity, DrawerLayout drawerLayout, boolean animate, @DrawableRes int drawerImageRes, @StringRes int openDrawerContentDescRes, @StringRes int closeDrawerContentDescRes) argument
[all...]
/frameworks/base/core/java/android/nfc/
H A DNfcAdapter.java61 * 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_DISCOVERED
318 * A callback to be invoked when the system finds a tag while the foreground activity i
805 setBeamPushUris(Uri[] uris, Activity activity) argument
881 setBeamPushUrisCallback(CreateBeamUrisCallback callback, Activity activity) argument
959 setNdefPushMessage(NdefMessage message, Activity activity, Activity ... activities) argument
989 setNdefPushMessage(NdefMessage message, Activity activity, int flags) argument
1061 setNdefPushMessageCallback(CreateNdefMessageCallback callback, Activity activity, Activity ... activities) argument
1090 setNdefPushMessageCallback(CreateNdefMessageCallback callback, Activity activity, int flags) argument
1135 setOnNdefPushCompleteCallback(OnNdefPushCompleteCallback callback, Activity activity, Activity ... activities) argument
1194 enableForegroundDispatch(Activity activity, PendingIntent intent, IntentFilter[] filters, String[][] techLists) argument
1230 disableForegroundDispatch(Activity activity) argument
1243 disableForegroundDispatchInternal(Activity activity, boolean force) argument
1276 enableReaderMode(Activity activity, ReaderCallback callback, int flags, Bundle extras) argument
1288 disableReaderMode(Activity activity) argument
1316 invokeBeam(Activity activity) argument
1373 enableForegroundNdefPush(Activity activity, NdefMessage message) argument
1401 disableForegroundNdefPush(Activity activity) argument
1593 enforceResumed(Activity activity) argument
[all...]
/frameworks/base/core/java/android/app/
H A DInstrumentation.java110 * begin the appropriate first activity of the application.
356 * Start a new activity and wait for it to begin running before returning.
359 * activity component is resolved before talking with the activity manager
364 * select an activity, an exception will be thrown.
366 * <p>The function returns as soon as the activity goes idle following the
371 * @param intent Description of the activity to start.
384 throw new RuntimeException("Unable to resolve activity for: " + intent);
413 return aw.activity;
421 * when a new activity i
569 match(Context who, Activity activity, Intent intent) argument
1069 prePerformCreate(Activity activity) argument
1085 postPerformCreate(Activity activity) argument
1104 callActivityOnCreate(Activity activity, Bundle icicle) argument
1117 callActivityOnCreate(Activity activity, Bundle icicle, PersistableBundle persistentState) argument
1124 callActivityOnDestroy(Activity activity) argument
1161 callActivityOnRestoreInstanceState(Activity activity, Bundle savedInstanceState) argument
1173 callActivityOnRestoreInstanceState(Activity activity, Bundle savedInstanceState, PersistableBundle persistentState) argument
1186 callActivityOnPostCreate(Activity activity, Bundle icicle) argument
1198 callActivityOnPostCreate(Activity activity, Bundle icicle, PersistableBundle persistentState) argument
1210 callActivityOnNewIntent(Activity activity, Intent intent) argument
1217 callActivityOnNewIntent(Activity activity, ReferrerIntent intent) argument
1235 callActivityOnStart(Activity activity) argument
1245 callActivityOnRestart(Activity activity) argument
1255 callActivityOnResume(Activity activity) argument
1276 callActivityOnStop(Activity activity) argument
1287 callActivityOnSaveInstanceState(Activity activity, Bundle outState) argument
1298 callActivityOnSaveInstanceState(Activity activity, Bundle outState, PersistableBundle outPersistentState) argument
1309 callActivityOnPause(Activity activity) argument
1319 callActivityOnUserLeaving(Activity activity) argument
1892 public Activity activity; field in class:Instrumentation.ActivityWaiter
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DBaselineAlignmentSpinnerButton.java40 final Activity activity = getActivity();
41 mSpinner = activity.findViewById(R.id.reminder_value);
42 mButton = activity.findViewById(R.id.reminder_remove);
H A DFillInWrapTest.java38 final Activity activity = getActivity();
39 mChild = activity.findViewById(R.id.data);
40 mContainer = activity.findViewById(R.id.layout);
H A DLinearLayoutEditTextsTest.java39 final Activity activity = getActivity();
40 mChild = activity.findViewById(R.id.editText1);
41 mContainer = activity.findViewById(R.id.layout);
H A DWeightSumTest.java39 final Activity activity = getActivity();
40 mChild = activity.findViewById(R.id.child);
41 mContainer = activity.findViewById(R.id.container);
H A DWeightTest.java40 final Activity activity = getActivity();
41 mChild = activity.findViewById(R.id.child4);
42 mContainer = activity.findViewById(R.id.layout);
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DDeviceDisconnectedReceiver.java35 public DeviceDisconnectedReceiver(Activity activity, String deviceName) { argument
36 mActivity = activity;
40 activity.registerReceiver(this, filter);
49 // close our activity if the device it is displaying is disconnected
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
H A DFrameLayoutMarginTest.java43 final Activity activity = getActivity();
45 mParent = activity.findViewById(R.id.parent);
47 mLeftView = activity.findViewById(R.id.left);
48 mRightView = activity.findViewById(R.id.right);
49 mTopView = activity.findViewById(R.id.top);
50 mBottomView = activity.findViewById(R.id.bottom);
H A DFrameLayoutGravityTest.java47 final Activity activity = getActivity();
49 mParent = activity.findViewById(R.id.parent);
51 mLeftView = activity.findViewById(R.id.left);
52 mRightView = activity.findViewById(R.id.right);
53 mCenterHorizontalView = activity.findViewById(R.id.center_horizontal);
55 mLeftCenterVerticalView = activity.findViewById(R.id.left_center_vertical);
56 mRighCenterVerticalView = activity.findViewById(R.id.right_center_vertical);
57 mCenterView = activity.findViewById(R.id.center);
59 mLeftBottomView = activity.findViewById(R.id.left_bottom);
60 mRightBottomView = activity
[all...]
/frameworks/base/location/lib/java/com/android/location/provider/
H A DActivityRecognitionEvent.java27 public ActivityRecognitionEvent(String activity, int eventType, long timestampNs) { argument
28 mActivity = activity;
/frameworks/base/core/java/android/hardware/location/
H A DActivityRecognitionHardware.java49 public int activity; field in class:ActivityRecognitionHardware.Event
82 public boolean isActivitySupported(String activity) { argument
84 int activityType = getActivityType(activity);
101 public boolean enableActivityEvent(String activity, int eventType, long reportLatencyNs) { argument
104 int activityType = getActivityType(activity);
114 public boolean disableActivityEvent(String activity, int eventType) { argument
117 int activityType = getActivityType(activity);
147 String activityName = getActivityName(event.activity);
160 Log.e(TAG, "Error delivering activity changed event.", e);
180 private int getActivityType(String activity) { argument
[all...]
H A DActivityRecognitionEvent.java32 public ActivityRecognitionEvent(String activity, int eventType, long timestampNs) { argument
33 mActivity = activity;
54 String activity = source.readString();
58 return new ActivityRecognitionEvent(activity, eventType, timestampNs);
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DLocalActivity.java17 package android.app.activity;
H A DLocalDialog.java17 package android.app.activity;

Completed in 511 milliseconds

123456789