Searched refs:activity (Results 251 - 275 of 340) sorted by relevance

<<11121314

/frameworks/opt/photoviewer/sample/
H A DAndroid.mk18 photo_dir := ../res ../activity/res
/frameworks/support/percent/tests/java/android/support/percent/
H A DPercentDynamicLayoutTest.java50 // Now that the test is done, replace the activity content view with ViewStub so
55 final PercentDynamicLayoutActivity activity = mActivityTestRule.getActivity();
56 activity.setContentView(R.layout.percent_dynamic_layout);
H A DPercentFrameTest.java46 final TestFrameActivity activity = mActivityTestRule.getActivity();
47 mPercentFrameLayout = (PercentFrameLayout) activity.findViewById(R.id.container);
H A DPercentRelativeRtlTest.java111 final TestRelativeRtlActivity activity = mActivityTestRule.getActivity();
112 mPercentRelativeLayout = (PercentRelativeLayout) activity.findViewById(R.id.container);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DGuidedStepFragment.java70 * adds GuidedStepFragment as the first Fragment in activity.</li>
74 * <li>{@link #finishGuidedStepFragments()} can either finish the activity or pop all
162 * {@link #UI_STYLE_ENTRANCE} for the non activity case. This is a special case that changes
211 * GuidedStepFragment in a separate activity. The default behavior of this style:
213 * <li>Enter transition is assigned null (will rely on activity transition), exit transition is
600 * the activity will be dismissed when BACK key is pressed. The method is typically called in
608 * @param activity The Activity to be used to insert GuidedstepFragment.
614 public static int addAsRoot(Activity activity, GuidedStepFragment fragment, int id) { argument
616 activity.getWindow().getDecorView();
617 FragmentManager fragmentManager = activity
[all...]
H A DGuidedStepSupportFragment.java72 * adds GuidedStepSupportFragment as the first Fragment in activity.</li>
76 * <li>{@link #finishGuidedStepSupportFragments()} can either finish the activity or pop all
164 * {@link #UI_STYLE_ENTRANCE} for the non activity case. This is a special case that changes
213 * GuidedStepSupportFragment in a separate activity. The default behavior of this style:
215 * <li>Enter transition is assigned null (will rely on activity transition), exit transition is
602 * the activity will be dismissed when BACK key is pressed. The method is typically called in
610 * @param activity The Activity to be used to insert GuidedstepFragment.
616 public static int addAsRoot(FragmentActivity activity, GuidedStepSupportFragment fragment, int id) { argument
618 activity.getWindow().getDecorView();
619 FragmentManager fragmentManager = activity
[all...]
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
H A DDrawerDynamicLayoutTest.java54 // Now that the test is done, replace the activity content view with ViewStub so
59 final DrawerDynamicLayoutActivity activity = mActivityTestRule.getActivity();
60 activity.setContentView(R.layout.drawer_dynamic_layout);
H A DDrawerLayoutDoubleTest.java53 final DrawerLayoutDoubleActivity activity = mActivityTestRule.getActivity();
54 mDrawerLayout = (CustomDrawerLayout) activity.findViewById(R.id.drawer_layout);
H A DAlertDialogCursorTest.java98 final AlertDialogTestActivity activity = mActivityTestRule.getActivity();
99 mButton = (Button) activity.findViewById(R.id.test_button);
101 File dbDir = activity.getDir("tests", Context.MODE_PRIVATE);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DGridLayoutManagerWrapContentTest.java67 protected WrappedRecyclerView createRecyclerView(Activity activity) { argument
68 WrappedRecyclerView recyclerView = super.createRecyclerView(activity);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/test/
H A DRecyclerViewTest.java53 final Activity activity = mActivityRule.getActivity();
57 activity.setContentView(layoutId);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecents.java51 import com.android.systemui.recents.events.activity.ConfigurationChangedEvent;
52 import com.android.systemui.recents.events.activity.DockedTopTaskEvent;
53 import com.android.systemui.recents.events.activity.RecentsActivityStartingEvent;
313 * Toggles the Recents activity.
350 * Preloads info for the Recents activity.
467 public static void logDockAttempt(Context ctx, ComponentName activity, int resizeMode) { argument
470 activity.flattenToShortString());
580 * Handle Recents activity visibility changed.
672 // Update the configuration for the Recents component when the activity configuration
H A DRecentsImpl.java48 import com.android.systemui.recents.events.activity.DockedTopTaskEvent;
49 import com.android.systemui.recents.events.activity.EnterRecentsWindowLastAnimationFrameEvent;
50 import com.android.systemui.recents.events.activity.HideRecentsEvent;
51 import com.android.systemui.recents.events.activity.IterateRecentsEvent;
52 import com.android.systemui.recents.events.activity.LaunchNextTaskRequestEvent;
53 import com.android.systemui.recents.events.activity.RecentsActivityStartingEvent;
54 import com.android.systemui.recents.events.activity.ToggleRecentsEvent;
117 // This callback is made when a new activity is launched and the old one is paused
118 // so ignore the current activity and try and preload the thumbnail for the
247 // that started the activity an
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DMobileSignalController.java419 void setActivity(int activity) { argument
420 mCurrentState.activityIn = activity == TelephonyManager.DATA_ACTIVITY_INOUT
421 || activity == TelephonyManager.DATA_ACTIVITY_IN;
422 mCurrentState.activityOut = activity == TelephonyManager.DATA_ACTIVITY_INOUT
423 || activity == TelephonyManager.DATA_ACTIVITY_OUT;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DRecentsView.java55 import com.android.systemui.recents.events.activity.DismissRecentsToHomeAnimationStarted;
56 import com.android.systemui.recents.events.activity.DockedFirstAnimationFrameEvent;
57 import com.android.systemui.recents.events.activity.EnterRecentsWindowAnimationCompletedEvent;
58 import com.android.systemui.recents.events.activity.HideStackActionButtonEvent;
59 import com.android.systemui.recents.events.activity.LaunchTaskEvent;
60 import com.android.systemui.recents.events.activity.MultiWindowStateChangedEvent;
61 import com.android.systemui.recents.events.activity.ShowStackActionButtonEvent;
/frameworks/base/core/java/android/preference/
H A DPreferenceManager.java127 * List of activity result listeners.
132 * List of activity stop listeners.
137 * List of activity destroy listeners.
152 public PreferenceManager(Activity activity, int firstRequestCode) { argument
153 mActivity = activity;
156 init(activity);
547 * be called by the application's main activity.
671 * Returns the activity that shows the preferences. This is useful for doing
678 * @return The activity that shows the preferences.
777 * Called by the {@link PreferenceManager} to dispatch the activity sto
[all...]
/frameworks/base/media/java/android/media/
H A DRingtoneManager.java247 * @param activity The activity used to get a managed cursor.
249 public RingtoneManager(Activity activity) { argument
250 mActivity = activity;
251 mContext = activity;
370 * caller should manage the returned cursor through its activity's life
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DFilesActivity.java57 * Standalone file management activity.
94 // -- a launch URI: Launch URIs support sensible activity management,
299 // files in archives. Also, if the activity is already browsing a ZIP from downloads,
466 public OpenUriForViewTask(FilesActivity activity) { argument
467 super(activity);
468 mState = activity.mState;
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteButton.java72 * To use the media route button, the activity must be a subclass of
220 * @throws IllegalStateException if the activity is not a subclass of
230 throw new IllegalStateException("The activity must be a subclass of FragmentActivity");
256 Activity activity = getActivity();
257 if (activity instanceof FragmentActivity) {
258 return ((FragmentActivity)activity).getSupportFragmentManager();
/frameworks/base/core/java/android/app/
H A DSearchableInfo.java44 * Searchability meta-data for an activity. Only applications that search other applications
126 * Gets the component name of the searchable activity.
246 * Get the context for the searchable activity.
249 * @return Returns a context related to the searchable activity
257 * Creates a context for another activity.
259 private static Context createActivityContext(Context context, ComponentName activity) { argument
262 theirContext = context.createPackageContext(activity.getPackageName(), 0);
264 Log.e(LOG_TAG, "Package not found " + activity.getPackageName());
266 Log.e(LOG_TAG, "Can't make context for " + activity.getPackageName(), e);
276 * @param activityContext If we can determine that the provider and the activity ar
[all...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DActivityTestsBase.java17 package android.app.activity;
37 // Synchronization of activity result.
H A DLocalProvider.java17 package android.app.activity;
H A DMetaDataTest.java17 package android.app.activity;
H A DTestedScreen.java17 package android.app.activity;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/
H A DRecentsTvImpl.java34 import com.android.systemui.recents.events.activity.RecentsActivityStartingEvent;
122 * Creates the activity options for an app->recents transition on TV.

Completed in 1055 milliseconds

<<11121314