Home
last modified time | relevance | path

Searched refs:targetInfo (Results 1 – 8 of 8) 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.java252 sOverrides.onSafelyStartCallback = targetInfo -> { in twoOptionsAndUserSelectsOne()
253 chosen[0] = targetInfo.getResolveInfo(); in twoOptionsAndUserSelectsOne()
280 sOverrides.onSafelyStartCallback = targetInfo -> { in updateChooserCountsAndModelAfterUserSelection()
317 sOverrides.onSafelyStartCallback = targetInfo -> { in autoLaunchSingleResult()
318 chosen[0] = targetInfo.getResolveInfo(); in autoLaunchSingleResult()
356 ChooserWrapperActivity.sOverrides.onSafelyStartCallback = targetInfo -> { in hasOtherProfileOneOption()
357 chosen[0] = targetInfo.getResolveInfo(); in hasOtherProfileOneOption()
395 ChooserWrapperActivity.sOverrides.onSafelyStartCallback = targetInfo -> { in hasOtherProfileTwoOptionsAndUserSelectsOne()
396 chosen[0] = targetInfo.getResolveInfo(); in hasOtherProfileTwoOptionsAndUserSelectsOne()
432 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/opt/telephony/src/java/com/android/internal/telephony/
DMccTable.java332 LocaleInfo targetInfo = LocaleStore.getLocaleInfo(target); in getLocaleForLanguageCountry() local
333 if (targetInfo.isTranslated()) { in getLocaleForLanguageCountry()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java1265 TargetInfo targetInfo = mChooserListAdapter.targetInfoForPosition(which, filtered);
1266 if (targetInfo != null && targetInfo instanceof NotSelectableTargetInfo) {
1294 directTargetAlsoRanked = getRankedPosition((SelectableTargetInfo) targetInfo);
1343 private int getRankedPosition(SelectableTargetInfo targetInfo) {
1345 targetInfo.getChooserTarget().getComponentName().getPackageName();
1672 private void sendClickToAppPredictor(TargetInfo targetInfo) {
1677 if (!(targetInfo instanceof ChooserTargetInfo)) {
1680 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);