/frameworks/base/libs/hwui/ |
D | FrameInfoVisualizer.cpp | 150 int ri; in initializeRects() local 154 ri = fast_i; in initializeRects() 159 ri = janky_i; in initializeRects() 165 rect[ri + 0] = right - lineWidth; in initializeRects() 166 rect[ri + 1] = baseline; in initializeRects() 167 rect[ri + 2] = right; in initializeRects() 168 rect[ri + 3] = baseline; in initializeRects() 182 int ri; in nextBarSegment() local 186 ri = fast_i; in nextBarSegment() 190 ri = janky_i; in nextBarSegment() [all …]
|
/frameworks/compile/mclinker/lib/LD/ |
D | EhFrame.cpp | 171 for (LDContext::const_sect_iterator ri = ctx.relocSectBegin(), in merge() local 173 ri != re; in merge() 174 ++ri) { in merge() 175 if ((*ri)->getLink() == &pFrame.getSection()) { in merge() 176 rel_sec = *ri; in merge() 226 for (RelocData::const_iterator ri = reloc_data->begin(), in setupAttributes() local 228 ri != re; in setupAttributes() 229 ++ri) { in setupAttributes() 230 const Relocation& rel = *ri; in setupAttributes() 255 for (RelocData::const_iterator ri = reloc_data->begin(), in removeDiscardedFDE() local [all …]
|
/frameworks/base/core/java/android/speech/ |
D | RecognizerIntent.java | 332 ResolveInfo ri = context.getPackageManager().resolveActivity( in getVoiceDetailsIntent() local 334 if (ri == null || ri.activityInfo == null || ri.activityInfo.metaData == null) return null; in getVoiceDetailsIntent() 336 String className = ri.activityInfo.metaData.getString(DETAILS_META_DATA); in getVoiceDetailsIntent() 340 detailsIntent.setComponent(new ComponentName(ri.activityInfo.packageName, className)); in getVoiceDetailsIntent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest6.java | 70 ri(CALLING_PACKAGE_1, "name", false, 0), in testHasShortcutHostPermissionInner_with3pLauncher() 71 ri(CALLING_PACKAGE_2, "name", false, 0) in testHasShortcutHostPermissionInner_with3pLauncher() 91 ri(CALLING_PACKAGE_1, "name", false, 0), in testHasShortcutHostPermissionInner_with3pLauncher_complicated() 92 ri(CALLING_PACKAGE_2, "name", false, 0) in testHasShortcutHostPermissionInner_with3pLauncher_complicated() 112 ri(CALLING_PACKAGE_1, "name", false, 0), in testHasShortcutHostPermissionInner_with3pLauncher_complicated() 113 ri(CALLING_PACKAGE_2, "name", false, 0) in testHasShortcutHostPermissionInner_with3pLauncher_complicated() 142 ri(CALLING_PACKAGE_1, "name", false, 0), in testHasShortcutHostPermissionInner_with3pLauncher_complicated() 143 ri(CALLING_PACKAGE_2, "name", false, 0) in testHasShortcutHostPermissionInner_with3pLauncher_complicated() 196 ri(CALLING_PACKAGE_1, "name", false, 0), in testHasShortcutHostPermissionInner_multiUser() 197 ri(CALLING_PACKAGE_2, "name", false, 0) in testHasShortcutHostPermissionInner_multiUser() [all …]
|
D | ShortcutManagerTest7.java | 224 ri(CALLING_PACKAGE_1, "name", false, 0), in testLauncherCommands() 225 ri(CALLING_PACKAGE_2, "name", false, 0) in testLauncherCommands() 259 ri(CALLING_PACKAGE_1, "name", false, 0) in testLauncherCommands()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ActionMenu.java | 83 final ResolveInfo ri = lri.get(i); in addIntentOptions() local 85 ri.specificIndex < 0 ? intent : specifics[ri.specificIndex]); in addIntentOptions() 87 ri.activityInfo.applicationInfo.packageName, in addIntentOptions() 88 ri.activityInfo.name)); in addIntentOptions() 89 final MenuItem item = add(groupId, itemId, order, ri.loadLabel(pm)) in addIntentOptions() 90 .setIcon(ri.loadIcon(pm)) in addIntentOptions() 92 if (outSpecificItems != null && ri.specificIndex >= 0) { in addIntentOptions() 93 outSpecificItems[ri.specificIndex] = item; in addIntentOptions()
|
D | MenuBuilder.java | 477 final ResolveInfo ri = lri.get(i); in addIntentOptions() local 479 ri.specificIndex < 0 ? intent : specifics[ri.specificIndex]); in addIntentOptions() 481 ri.activityInfo.applicationInfo.packageName, in addIntentOptions() 482 ri.activityInfo.name)); in addIntentOptions() 483 final MenuItem item = add(group, id, categoryOrder, ri.loadLabel(pm)) in addIntentOptions() 484 .setIcon(ri.loadIcon(pm)) in addIntentOptions() 486 if (outSpecificItems != null && ri.specificIndex >= 0) { in addIntentOptions() 487 outSpecificItems[ri.specificIndex] = item; in addIntentOptions()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverActivity.java | 524 Drawable loadIconForResolveInfo(ResolveInfo ri) { in loadIconForResolveInfo() argument 527 if (ri.resolvePackageName != null && ri.icon != 0) { in loadIconForResolveInfo() 528 dr = getIcon(mPm.getResourcesForApplication(ri.resolvePackageName), ri.icon); in loadIconForResolveInfo() 533 final int iconRes = ri.getIconResource(); in loadIconForResolveInfo() 535 dr = getIcon(mPm.getResourcesForApplication(ri.activityInfo.packageName), iconRes); in loadIconForResolveInfo() 543 return ri.loadIcon(mPm); in loadIconForResolveInfo() 638 ResolveInfo ri = mAdapter.resolveInfoForPosition(checkedPos, filtered); in setAlwaysButtonEnabled() local 639 if (ri.targetUserId == UserHandle.USER_CURRENT) { in setAlwaysButtonEnabled() 658 ResolveInfo ri = mAdapter.resolveInfoForPosition(which, filtered); in startSelected() local 659 if (mResolvingHome && hasManagedProfile() && !supportsManagedProfiles(ri)) { in startSelected() [all …]
|
D | IntentForwarderActivity.java | 97 final android.content.pm.ResolveInfo ri = getPackageManager().resolveActivityAsUser( in onCreate() local 102 final boolean shouldShowDisclosure = ri == null || ri.activityInfo == null || in onCreate() 103 !"android".equals(ri.activityInfo.packageName) || in onCreate() 104 !(ResolverActivity.class.getName().equals(ri.activityInfo.name) in onCreate() 105 || ChooserActivity.class.getName().equals(ri.activityInfo.name)); in onCreate()
|
D | ChooserActivity.java | 348 public void showTargetDetails(ResolveInfo ri) { in showTargetDetails() argument 349 ComponentName name = ri.activityInfo.getComponentName(); in showTargetDetails() 352 new ResolverTargetActionsDialogFragment(ri.loadLabel(getPackageManager()), in showTargetDetails() 633 final ResolveInfo ri = sourceInfo.getResolveInfo(); in ChooserTargetInfo() local 634 if (ri != null) { in ChooserTargetInfo() 635 final ActivityInfo ai = ri.activityInfo; in ChooserTargetInfo() 833 ResolveInfo ri = null; in ChooserListAdapter() local 839 ri = new ResolveInfo(); in ChooserListAdapter() 840 ri.activityInfo = ai; in ChooserListAdapter() 846 ri = pm.resolveActivity(ii, PackageManager.MATCH_DEFAULT_ONLY); in ChooserListAdapter() [all …]
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | shadows.rs | 55 int ri = rgb.r; 60 if (ri > gi) { 61 iMax = max (ri, bi); 65 iMin = min (ri, bi); 82 if ( ri == iMax ) { 86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma)); 88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | shadows.rs | 55 int ri = rgb.r; 60 if (ri > gi) { 61 iMax = max (ri, bi); 65 iMin = min (ri, bi); 82 if ( ri == iMax ) { 86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma)); 88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | shadows.rs | 55 int ri = rgb.r; 60 if (ri > gi) { 61 iMax = max (ri, bi); 65 iMin = min (ri, bi); 82 if ( ri == iMax ) { 86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma)); 88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));
|
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/ |
D | shadows_f.rs | 55 int ri = rgb.r; 60 if (ri > gi) { 61 iMax = max (ri, bi); 65 iMin = min (ri, bi); 82 if ( ri == iMax ) { 86 rh = (short)( (k2*(2*chroma+bi - ri ))/(6*chroma)); 88 rh = (short)( (k2*(4*chroma+ri - gi ))/(6*chroma));
|
/frameworks/base/services/restrictions/java/com/android/server/restrictions/ |
D | RestrictionsManagerService.java | 145 ResolveInfo ri = AppGlobals.getPackageManager().resolveIntent(intent, in createLocalApprovalIntent() local 147 if (ri != null && ri.activityInfo != null && ri.activityInfo.exported) { in createLocalApprovalIntent() 148 intent.setComponent(new ComponentName(ri.activityInfo.packageName, in createLocalApprovalIntent() 149 ri.activityInfo.name)); in createLocalApprovalIntent()
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
D | MemoryUsageTest.java | 164 for (ResolveInfo ri : ris) { in createMappings() 165 Log.i(TAG, "Name: " + ri.loadLabel(pm).toString() in createMappings() 166 + " package: " + ri.activityInfo.packageName in createMappings() 167 + " name: " + ri.activityInfo.name); in createMappings() 171 startIntent.setClassName(ri.activityInfo.packageName, in createMappings() 172 ri.activityInfo.name); in createMappings() 173 mNameToIntent.put(ri.loadLabel(pm).toString(), startIntent); in createMappings() 174 mNameToProcess.put(ri.loadLabel(pm).toString(), in createMappings() 175 ri.activityInfo.processName); in createMappings()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbResolverActivity.java | 97 final ResolveInfo ri = target.getResolveInfo(); in onTargetSelected() local 101 final int uid = ri.activityInfo.applicationInfo.uid; in onTargetSelected() 109 service.setDevicePackage(mDevice, ri.activityInfo.packageName, userId); in onTargetSelected() 118 service.setAccessoryPackage(mAccessory, ri.activityInfo.packageName, userId); in onTargetSelected()
|
/frameworks/base/tests/MusicBrowserDemo/src/com/example/android/musicbrowserdemo/ |
D | AppListFragment.java | 102 final ResolveInfo ri = list.get(i); in Adapter() local 103 mItems.add(new Item(ri.loadLabel(pm).toString(), new ComponentName( in Adapter() 104 ri.serviceInfo.applicationInfo.packageName, in Adapter() 105 ri.serviceInfo.name))); in Adapter()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodInfo.java | 271 public InputMethodInfo(ResolveInfo ri, boolean isAuxIme, in InputMethodInfo() argument 274 this(ri, isAuxIme, settingsActivity, subtypes, isDefaultResId, in InputMethodInfo() 282 public InputMethodInfo(ResolveInfo ri, boolean isAuxIme, in InputMethodInfo() argument 285 final ServiceInfo si = ri.serviceInfo; in InputMethodInfo() 286 mService = ri; in InputMethodInfo() 298 ResolveInfo ri = new ResolveInfo(); in buildDummyResolveInfo() local 309 ri.serviceInfo = si; in buildDummyResolveInfo() 310 return ri; in buildDummyResolveInfo()
|
/frameworks/base/core/java/android/widget/ |
D | DateTimeView.java | 101 ReceiverInfo ri = sReceiverInfo.get(); in onAttachedToWindow() local 102 if (ri == null) { in onAttachedToWindow() 103 ri = new ReceiverInfo(); in onAttachedToWindow() 104 sReceiverInfo.set(ri); in onAttachedToWindow() 106 ri.addView(this); in onAttachedToWindow() 112 final ReceiverInfo ri = sReceiverInfo.get(); in onDetachedFromWindow() local 113 if (ri != null) { in onDetachedFromWindow() 114 ri.removeView(this); in onDetachedFromWindow()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 863 private void printResolveInfo(PrintWriterPrinter pr, String prefix, ResolveInfo ri, in printResolveInfo() argument 867 if (ri.activityInfo != null) { in printResolveInfo() 868 comp = new ComponentName(ri.activityInfo.packageName, ri.activityInfo.name); in printResolveInfo() 869 } else if (ri.serviceInfo != null) { in printResolveInfo() 870 comp = new ComponentName(ri.serviceInfo.packageName, ri.serviceInfo.name); in printResolveInfo() 871 } else if (ri.providerInfo != null) { in printResolveInfo() 872 comp = new ComponentName(ri.providerInfo.packageName, ri.providerInfo.name); in printResolveInfo() 878 pr.println(prefix + "priority=" + ri.priority in printResolveInfo() 879 + " preferredOrder=" + ri.preferredOrder in printResolveInfo() 880 + " match=0x" + Integer.toHexString(ri.match) in printResolveInfo() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | MediaMimeTest.java | 128 ResolveInfo ri = resolveMime(mime); in assertMediaPlaybackActivityHandles() local 130 assertNotNull(ri); in assertMediaPlaybackActivityHandles()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | PreBootBroadcaster.java | 93 final ResolveInfo ri = mTargets.get(mIndex++); in sendNext() local 94 final ComponentName componentName = ri.activityInfo.getComponentName(); in sendNext() 97 final CharSequence label = ri.activityInfo in sendNext()
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
D | MenuBuilder.java | 520 final ResolveInfo ri = lri.get(i); in addIntentOptions() local 522 ri.specificIndex < 0 ? intent : specifics[ri.specificIndex]); in addIntentOptions() 524 ri.activityInfo.applicationInfo.packageName, in addIntentOptions() 525 ri.activityInfo.name)); in addIntentOptions() 526 final MenuItem item = add(group, id, categoryOrder, ri.loadLabel(pm)) in addIntentOptions() 527 .setIcon(ri.loadIcon(pm)) in addIntentOptions() 529 if (outSpecificItems != null && ri.specificIndex >= 0) { in addIntentOptions() 530 outSpecificItems[ri.specificIndex] = item; in addIntentOptions()
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | KeyphraseEnrollmentInfo.java | 116 for (ResolveInfo ri : ris) { in KeyphraseEnrollmentInfo() 119 ri.activityInfo.packageName, PackageManager.GET_META_DATA); in KeyphraseEnrollmentInfo() 138 + ri.activityInfo.packageName; in KeyphraseEnrollmentInfo()
|