Home
last modified time | relevance | path

Searched refs:targetInfo (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/PrintSpooler/jni/
Dcom_android_printspooler_util_BitmapSerializeUtils.cpp99 AndroidBitmapInfo targetInfo; in readBitmapPixels() local
100 int result = AndroidBitmap_getInfo(env, jbitmap, &targetInfo); in readBitmapPixels()
107 if (readInfo.width != targetInfo.width || readInfo.height != targetInfo.height in readBitmapPixels()
108 || readInfo.stride != targetInfo.stride || readInfo.format != targetInfo.format in readBitmapPixels()
109 || readInfo.flags != targetInfo.flags) { in readBitmapPixels()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverActivityTest.java90 sOverrides.onSafelyStartCallback = targetInfo -> { in twoOptionsAndUserSelectsOne()
91 chosen[0] = targetInfo.getResolveInfo(); in twoOptionsAndUserSelectsOne()
195 sOverrides.onSafelyStartCallback = targetInfo -> { in hasLastChosenActivity()
196 chosen[0] = targetInfo.getResolveInfo(); in hasLastChosenActivity()
223 sOverrides.onSafelyStartCallback = targetInfo -> { in hasOtherProfileOneOption()
224 chosen[0] = targetInfo.getResolveInfo(); in hasOtherProfileOneOption()
260 sOverrides.onSafelyStartCallback = targetInfo -> { in hasOtherProfileTwoOptionsAndUserSelectsOne()
261 chosen[0] = targetInfo.getResolveInfo(); in hasOtherProfileTwoOptionsAndUserSelectsOne()
305 sOverrides.onSafelyStartCallback = targetInfo -> { in hasLastChosenActivityAndOtherProfile()
306 chosen[0] = targetInfo.getResolveInfo(); in hasLastChosenActivityAndOtherProfile()
DChooserActivityTest.java261 sOverrides.onSafelyStartCallback = targetInfo -> { in twoOptionsAndUserSelectsOne()
262 chosen[0] = targetInfo.getResolveInfo(); in twoOptionsAndUserSelectsOne()
289 sOverrides.onSafelyStartCallback = targetInfo -> { in updateChooserCountsAndModelAfterUserSelection()
326 sOverrides.onSafelyStartCallback = targetInfo -> { in autoLaunchSingleResult()
327 chosen[0] = targetInfo.getResolveInfo(); in autoLaunchSingleResult()
365 ChooserWrapperActivity.sOverrides.onSafelyStartCallback = targetInfo -> { in hasOtherProfileOneOption()
366 chosen[0] = targetInfo.getResolveInfo(); in hasOtherProfileOneOption()
404 ChooserWrapperActivity.sOverrides.onSafelyStartCallback = targetInfo -> { in hasOtherProfileTwoOptionsAndUserSelectsOne()
405 chosen[0] = targetInfo.getResolveInfo(); in hasOtherProfileTwoOptionsAndUserSelectsOne()
441 ChooserWrapperActivity.sOverrides.onSafelyStartCallback = targetInfo -> { in hasLastChosenActivityAndOtherProfile()
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DCertificateMonitor.java207 ActivityInfo targetInfo = dialogIntent.resolveActivityInfo( in buildNotification() local
209 if (targetInfo != null) { in buildNotification()
210 dialogIntent.setComponent(targetInfo.getComponentName()); in buildNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBottomAreaView.java429 ActivityInfo targetInfo = mActivityIntentHelper.getTargetActivityInfo(intent, in bindCameraPrewarmService() local
431 if (targetInfo != null && targetInfo.metaData != null) { in bindCameraPrewarmService()
432 String clazz = targetInfo.metaData.getString( in bindCameraPrewarmService()
436 serviceIntent.setClassName(targetInfo.packageName, clazz); in bindCameraPrewarmService()
445 Log.w(TAG, "Unable to bind to prewarm service package=" + targetInfo.packageName in bindCameraPrewarmService()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java1482 TargetInfo targetInfo = mChooserListAdapter.targetInfoForPosition(which, filtered);
1483 if (targetInfo != null && targetInfo instanceof NotSelectableTargetInfo) {
1511 directTargetAlsoRanked = getRankedPosition((SelectableTargetInfo) targetInfo);
1560 private int getRankedPosition(SelectableTargetInfo targetInfo) {
1562 targetInfo.getChooserTarget().getComponentName().getPackageName();
1930 private void sendClickToAppPredictor(TargetInfo targetInfo) {
1935 if (!(targetInfo instanceof ChooserTargetInfo)) {
1938 ChooserTarget chooserTarget = ((ChooserTargetInfo) targetInfo).getChooserTarget();
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java1484 ItemInfo targetInfo = infoForPosition(mCurItem);
1486 (int) (targetInfo.offset * width), 0, newDuration);