Searched refs:activity (Results 176 - 200 of 340) sorted by relevance

1234567891011>>

/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DBackgroundManager.java357 * When the layer drawable is translucent (activity transition) then we can avoid the slow
591 public static BackgroundManager getInstance(Activity activity) { argument
592 if (activity instanceof FragmentActivity) {
593 return getSupportInstance((FragmentActivity) activity);
595 BackgroundFragment fragment = (BackgroundFragment) activity.getFragmentManager()
605 return new BackgroundManager(activity, false);
608 private static BackgroundManager getSupportInstance(FragmentActivity activity) { argument
609 BackgroundSupportFragment fragment = (BackgroundSupportFragment) activity
619 return new BackgroundManager(activity, true);
622 private BackgroundManager(Activity activity, boolea argument
658 createFragment(Activity activity) argument
675 createSupportFragment(FragmentActivity activity) argument
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DMetrics.java575 public static void logValidScopedAccessRequest(Activity activity, String directory, argument
588 final String packageName = activity.getCallingPackage();
591 MetricsLogger.action(activity, MetricsEvent
593 MetricsLogger.action(activity, MetricsEvent
597 MetricsLogger.action(activity, MetricsEvent
599 MetricsLogger.action(activity, MetricsEvent
603 MetricsLogger.action(activity, MetricsEvent
605 MetricsLogger.action(activity, MetricsEvent
609 MetricsLogger.action(activity, MetricsEvent
611 MetricsLogger.action(activity, MetricsEven
[all...]
H A DSaveFragment.java141 final DocumentsActivity activity = DocumentsActivity.get(SaveFragment.this);
143 activity.onSaveRequested(mReplaceTarget);
147 activity.onSaveRequested(mimeType, displayName);
H A DShared.java211 public static boolean shouldShowFancyFeatures(Activity activity) { argument
212 Intent intent = activity.getIntent();
213 return isProductivityMode(activity, intent)
/frameworks/base/test-runner/src/android/test/
H A DTouchUtils.java59 * @param activity The activity that is in the foreground of the test case
61 public static void dragQuarterScreenDown(InstrumentationTestCase test, Activity activity) { argument
62 Display display = activity.getWindowManager().getDefaultDisplay();
89 * @param activity The activity that is in the foreground of the test case
91 public static void dragQuarterScreenUp(InstrumentationTestCase test, Activity activity) { argument
92 Display display = activity.getWindowManager().getDefaultDisplay();
124 * @param activity The activity tha
127 scrollToBottom(InstrumentationTestCase test, Activity activity, ViewGroup v) argument
162 scrollToTop(InstrumentationTestCase test, Activity activity, ViewGroup v) argument
194 dragViewToBottom(InstrumentationTestCase test, Activity activity, View v) argument
223 dragViewToBottom(InstrumentationTestCase test, Activity activity, View v, int stepCount) argument
[all...]
/frameworks/base/tools/aapt2/link/
H A DManifestFixer_test.cpp170 <activity android:name=".activity.Start" />
197 el = applicationEl->findChild({}, u"activity");
202 EXPECT_EQ(std::u16string(u"android.activity.Start"), attr->value);
/frameworks/opt/setupwizard/navigationbar/src/com/android/setupwizard/navigationbar/
H A DSetupWizardNavBar.java62 public void onAttach(Activity activity) { argument
63 super.onAttach(activity);
64 mCallback = (NavigationBarListener) activity;
88 // undetectable times, like transitioning from a finishing activity that had a keyboard
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAppCompatDelegate.java168 * Create a {@link android.support.v7.app.AppCompatDelegate} to use with {@code activity}.
172 public static AppCompatDelegate create(Activity activity, AppCompatCallback callback) { argument
173 return create(activity, activity.getWindow(), callback);
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
H A DBaseKeyboardShortcutsTestCase.java70 final BaseTestActivity activity = getActivity();
72 final View editText = activity.findViewById(R.id.editText);
89 final View toolbar = activity.findViewById(R.id.toolbar);
/frameworks/base/core/java/android/nfc/cardemulation/
H A DCardEmulation.java442 * @param activity The activity which prefers this service to be invoked
443 * @param service The service to be preferred while this activity is in the foreground
446 public boolean setPreferredService(Activity activity, ComponentName service) { argument
447 // Verify the activity is in the foreground before calling into NfcService
448 if (activity == null || service == null) {
449 throw new NullPointerException("activity or service or category is null");
451 if (!activity.isResumed()) {
479 * @param activity The activity whic
482 unsetPreferredService(Activity activity) argument
[all...]
/frameworks/base/keystore/java/android/security/
H A DKeyChain.java228 * <p>The device or profile owner can intercept this before the activity
242 * @param activity The {@link Activity} context to use for
259 public static void choosePrivateKeyAlias(@NonNull Activity activity, argument
269 choosePrivateKeyAlias(activity, response, keyTypes, issuers, uri, alias);
278 * <p>The device or profile owner can intercept this before the activity
292 * @param activity The {@link Activity} context to use for
307 public static void choosePrivateKeyAlias(@NonNull Activity activity, argument
327 if (activity == null) {
328 throw new NullPointerException("activity == null");
339 intent.putExtra(EXTRA_SENDER, PendingIntent.getActivity(activity,
[all...]
/frameworks/base/docs/html/ndk/samples/
H A Dsamples_toc.cs22 <li><a href="<?cs var:toroot ?>ndk/samples/sample_na.html">native-activity</a></li>
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecentsSystemUser.java30 import com.android.systemui.recents.events.activity.DockedTopTaskEvent;
31 import com.android.systemui.recents.events.activity.RecentsActivityStartingEvent;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
H A DScreenshotTest.java52 // launch the activity.
53 ScreenshotStubActivity activity = getActivity();
54 assertNotNull(activity);
115 // 'volume adjustment' UI, instead of this test's activity
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/
H A DTestJobService.java77 Log.e(TAG, "Error passing service object back to activity.");
115 public void setUiCallback(MainActivity activity) { argument
116 mActivity = activity;
/frameworks/opt/photoviewer/
H A DAndroid.mk46 activity_res_dirs := activity/res res
54 $(call all-java-files-under, activity/src) \
66 activity_res_dirs := activity/res res
83 activity_res_dirs := activity/res res
/frameworks/support/design/tests/src/android/support/design/widget/
H A DBaseDynamicCoordinatorLayoutTest.java48 // Now that the test is done, replace the activity content view with ViewStub so
53 final DynamicCoordinatorLayoutActivity activity = mActivityTestRule.getActivity();
54 activity.setContentView(R.layout.dynamic_coordinator_layout);
/frameworks/support/v4/tests/java/android/support/v4/view/
H A DViewPropertyAnimatorCompatTest.java48 final Activity activity = mActivityTestRule.getActivity();
49 mView = activity.findViewById(R.id.view);
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DLaunchTest.java17 package android.app.activity;
H A DLifecycleTest.java17 package android.app.activity;
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
H A DRenameDocumentFragment.java183 BaseActivity activity = (BaseActivity) getActivity();
186 new RenameDocumentsTask(activity, newDisplayName).execute(mDocument);
199 public RenameDocumentsTask(BaseActivity activity, String newDisplayName) { argument
200 mActivity = activity;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DRecentsPackageMonitor.java25 import com.android.systemui.recents.events.activity.PackagesChangedEvent;
/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/base/core/java/android/app/
H A DExitTransitionCoordinator.java63 public ExitTransitionCoordinator(Activity activity, ArrayList<String> names, argument
65 super(activity.getWindow(), names, getListener(activity, isReturning), isReturning);
69 mActivity = activity;
72 private static SharedElementCallback getListener(Activity activity, boolean isReturning) { argument
73 return isReturning ? activity.mEnterTransitionListener : activity.mExitTransitionListener;
262 // activity to have options since we're essentially canceling the
/frameworks/base/core/jni/
H A Dandroid_app_NativeActivity.cpp174 void android_NativeActivity_finish(ANativeActivity* activity) { argument
175 NativeCode* code = static_cast<NativeCode*>(activity);
180 ANativeActivity* activity, int32_t format) {
181 NativeCode* code = static_cast<NativeCode*>(activity);
186 ANativeActivity* activity, int32_t values, int32_t mask) {
187 NativeCode* code = static_cast<NativeCode*>(activity);
192 ANativeActivity* activity, int32_t flags) {
193 NativeCode* code = static_cast<NativeCode*>(activity);
198 ANativeActivity* activity, int32_t flags) {
199 NativeCode* code = static_cast<NativeCode*>(activity);
179 android_NativeActivity_setWindowFormat( ANativeActivity* activity, int32_t format) argument
185 android_NativeActivity_setWindowFlags( ANativeActivity* activity, int32_t values, int32_t mask) argument
191 android_NativeActivity_showSoftInput( ANativeActivity* activity, int32_t flags) argument
197 android_NativeActivity_hideSoftInput( ANativeActivity* activity, int32_t flags) argument
[all...]

Completed in 2028 milliseconds

1234567891011>>