Searched refs:activity (Results 101 - 125 of 171) sorted by relevance

1234567

/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DSingleUserProvider.java17 package com.google.android.test.activity;
27 static final String AUTHORITY = "com.google.android.test.activity.single_user";
/frameworks/opt/photoviewer/
H A DAndroid.mk38 activity_res_dirs := activity/res res
46 $(call all-java-files-under, activity/src) \
/frameworks/support/v4/java/android/support/v4/app/
H A DShareCompat.java42 * about the activity that invoked a social sharing action.
45 * intent that always includes data about the calling activity and app.
46 * This lets the called activity provide attribution for the app that shared
48 * To obtain an IntentBuilder with info about your calling activity, use the static
53 * used to launch an activity. You can also obtain a Drawable for the caller's
61 * When an activity is started using startActivityForResult this is redundant info.
71 * Intent extra that stores the {@link ComponentName} of the calling activity for
169 * @param calledActivity Current activity that was launched to share content
181 * Retrieve the ComponentName of the activity that launched calledActivity from a share intent.
189 * @param calledActivity Current activity tha
671 from(Activity activity) argument
675 IntentReader(Activity activity) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_app_NativeActivity.cpp162 void android_NativeActivity_finish(ANativeActivity* activity) { argument
163 NativeCode* code = static_cast<NativeCode*>(activity);
168 ANativeActivity* activity, int32_t format) {
169 NativeCode* code = static_cast<NativeCode*>(activity);
174 ANativeActivity* activity, int32_t values, int32_t mask) {
175 NativeCode* code = static_cast<NativeCode*>(activity);
180 ANativeActivity* activity, int32_t flags) {
181 NativeCode* code = static_cast<NativeCode*>(activity);
186 ANativeActivity* activity, int32_t flags) {
187 NativeCode* code = static_cast<NativeCode*>(activity);
167 android_NativeActivity_setWindowFormat( ANativeActivity* activity, int32_t format) argument
173 android_NativeActivity_setWindowFlags( ANativeActivity* activity, int32_t values, int32_t mask) argument
179 android_NativeActivity_showSoftInput( ANativeActivity* activity, int32_t flags) argument
185 android_NativeActivity_hideSoftInput( ANativeActivity* activity, int32_t flags) argument
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
H A DSelectPrinterFragment.java139 Activity activity = getActivity();
140 if (activity instanceof OnPrinterSelectedListener) {
141 ((OnPrinterSelectedListener) activity).onPrinterSelected(printer.getId());
143 throw new IllegalStateException("the host activity must implement"
183 Activity activity = getActivity();
184 if (activity != null && !activity.isFinishing()
185 && AccessibilityManager.getInstance(activity).isEnabled()) {
233 Activity activity = getActivity();
234 if (activity instanceo
[all...]
/frameworks/base/services/java/com/android/server/search/
H A DSearchables.java91 * Look up, or construct, based on the activity.
96 * <li>The activity itself implements search. This is indicated by the
99 * <li>A related activity implements search. This is indicated by the
101 * The value is a string naming the activity implementing search. In this
109 * and every activity.
114 * @param activity The name of the current activity, or null if the
115 * activity does not define any explicit searchable metadata.
117 public SearchableInfo getSearchableInfo(ComponentName activity) { argument
121 result = mSearchablesMap.get(activity);
[all...]
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DDatePickerDialog.java163 final Activity activity = getActivity();
164 activity.getWindow().setSoftInputMode(
221 final Activity activity = getActivity();
222 mDayPickerView = new DayPickerView(activity, this);
223 mYearPickerView = new YearPickerView(activity, this);
269 mHapticFeedbackController = new HapticFeedbackController(activity);
/frameworks/base/services/java/com/android/server/am/
H A DActivityRecord.java56 * An entry in the history stack, representing an activity.
66 final int launchedFromUid; // always the uid who started the activity.
67 final String launchedFromPackage; // always the package who started the activity.
78 final boolean noDisplay; // activity is not displayed?
86 final String baseDir; // where activity source (resources etc) located
87 final String resDir; // where public activity source (public resources etc) located
88 final String dataDir; // where activity data should go
91 int icon; // resource identifier of activity's icon.
92 int logo; // resource identifier of activity's logo.
93 int theme; // resource identifier of activity'
283 Token(ActivityRecord activity) argument
[all...]
/frameworks/base/media/mca/samples/CameraEffectsRecordingSample/
H A DAndroid.mk16 # Build activity
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbDebuggingActivity.java87 public UsbDisconnectedReceiver(Activity activity) { argument
88 mActivity = activity;
/frameworks/compile/libbcc/tests/debuginfo/
H A Dbuild_test_apk.sh84 --activity)
135 echo " --activity <name> Name for your default Activity class"
154 # Compute activity, appname, and java package, if not specified via parameters
168 run $SDK/tools/android create project --target $TARGET --name $NAME --path $OUT_DIR --activity $ACTIVITY --package $PACKAGE
/frameworks/opt/colorpicker/src/com/android/colorpicker/
H A DColorPickerDialog.java104 final Activity activity = getActivity();
115 mAlertDialog = new AlertDialog.Builder(activity)
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DIntentSenderTest.java17 package android.app.activity;
H A DLocalReceiver.java17 package android.app.activity;
H A DSubActivityTest.java17 package android.app.activity;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DMffContext.java42 * typically called when the application activity is paused and resumed. This will take care of
43 * halting any processing in the context, and releasing resources while the activity is paused.
445 // If we have an activity for this context we'll add the SurfaceView to it (as a 1x1 view
447 Activity activity = findActivityForContext(context);
448 if (activity != null) {
450 activity.addContentView(dummySurfaceView, params);
452 Log.w("MffContext", "Could not find activity for dummy surface! Consider specifying "
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBarImplICS.java40 public ActionBarImplICS(Activity activity, Callback callback) { argument
41 this(activity, callback, true);
44 ActionBarImplICS(Activity activity, Callback callback, boolean checkHomeAsUpOption) { argument
45 mActivity = activity;
47 mActionBar = activity.getActionBar();
H A DActionBarImplBase.java106 public ActionBarImplBase(ActionBarActivity activity, Callback callback) { argument
107 mActivity = activity;
108 mContext = activity;
113 private void init(ActionBarActivity activity) { argument
114 mOverlayLayout = (ActionBarOverlayLayout) activity.findViewById(
119 mActionView = (ActionBarView) activity.findViewById(R.id.action_bar);
120 mContextView = (ActionBarContextView) activity.findViewById(R.id.action_context_bar);
121 mContainerView = (ActionBarContainer) activity.findViewById(R.id.action_bar_container);
122 mTopVisibilityView = (ViewGroup) activity.findViewById(R.id.top_action_bar);
126 mSplitView = (ActionBarContainer) activity
[all...]
/frameworks/base/core/java/android/app/
H A DDialog.java215 * @param activity The Activity that owns this dialog.
217 public final void setOwnerActivity(Activity activity) { argument
218 mOwnerActivity = activity;
370 * the hosting activity was previously shut down, holds the result from
435 * Retrieve the current Window for the activity. This can be used to
439 * @return Window The current window, or null if the activity is not
636 * views inside of the activity. So, for example, if the trackball moves
854 * It is usually safe to proxy this call to the owner activity's
866 * It is usually safe to proxy this call to the owner activity's
958 // associate search with owner activity
[all...]
H A DApplicationErrorReport.java193 * Return activity in receiverPackage that handles ACTION_APP_ERROR.
198 * @return activity component within receiverPackage which handles
412 public String activity; field in class:ApplicationErrorReport.AnrInfo
434 activity = in.readString();
443 dest.writeString(activity);
452 pw.println(prefix + "activity: " + activity);
/frameworks/base/core/java/android/content/pm/
H A DIPackageManager.aidl227 in IntentFilter filter, int match, in ComponentName activity);
230 in ComponentName[] set, in ComponentName activity, int userId);
233 in ComponentName[] set, in ComponentName activity);
241 * Report the set of 'Home' activity candidates, plus (if any) which of them
/frameworks/base/core/java/android/widget/
H A DActivityChooserView.java44 * This class is a view for choosing an activity for handling a given {@link Intent}.
49 * The left button is an immediate action and allows one click activity choosing.
52 * activity.
154 * Popup window for showing the activity overflow list.
164 * Flag whether a default activity currently being selected.
296 * Sets the background for the button that expands the activity
300 * as a clue about the action the chosen activity will perform. For
301 * example, if a share activity is to be chosen the drawable should
311 * Sets the content description for the button that expands the activity
315 * For example, if a share activity i
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActivityChooserView.java44 * This class is a view for choosing an activity for handling a given {@link Intent}.
49 * The left button is an immediate action and allows one click activity choosing.
52 * activity.
153 * Popup window for showing the activity overflow list.
163 * Flag whether a default activity currently being selected.
268 * Sets the background for the button that expands the activity
272 * as a clue about the action the chosen activity will perform. For
273 * example, if a share activity is to be chosen the drawable should
283 * Sets the content description for the button that expands the activity
287 * For example, if a share activity i
[all...]
/frameworks/base/core/java/android/preference/
H A DPreferenceManager.java119 * List of activity result listeners.
124 * List of activity stop listeners.
129 * List of activity destroy listeners.
144 public PreferenceManager(Activity activity, int firstRequestCode) { argument
145 mActivity = activity;
148 init(activity);
423 * be called by the application's main activity.
547 * Returns the activity that shows the preferences. This is useful for doing
554 * @return The activity that shows the preferences.
651 * Called by the {@link PreferenceManager} to dispatch the activity sto
[all...]
/frameworks/base/core/tests/coretests/src/android/app/
H A DSearchManagerTest.java19 import android.app.activity.LocalActivity;
43 "android.app.activity.SearchableActivity");
59 * confirm proper identification of "default" activity based on policy, not hardcoded contacts
62 * Maybe have to do with framework / unittest runner - need instrumented activity?
74 * Local copy of activity context

Completed in 622 milliseconds

1234567