Home
last modified time | relevance | path

Searched refs:ri (Results 1 – 25 of 83) sorted by relevance

1234

/frameworks/base/libs/hwui/
DFrameInfoVisualizer.cpp150 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/
DEhFrame.cpp171 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/
DRecognizerIntent.java332 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/
DShortcutManagerTest6.java70 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 …]
DShortcutManagerTest7.java224 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/
DActionMenu.java83 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()
DMenuBuilder.java477 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/
DResolverActivity.java524 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 …]
DIntentForwarderActivity.java97 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()
DChooserActivity.java348 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/
Dshadows.rs55 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/
Dshadows.rs55 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/
Dshadows.rs55 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/
Dshadows_f.rs55 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/
DRestrictionsManagerService.java145 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/
DMemoryUsageTest.java164 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/
DUsbResolverActivity.java97 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/
DAppListFragment.java102 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/
DInputMethodInfo.java271 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/
DDateTimeView.java101 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/
DPackageManagerShellCommand.java863 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/
DMediaMimeTest.java128 ResolveInfo ri = resolveMime(mime); in assertMediaPlaybackActivityHandles() local
130 assertNotNull(ri); in assertMediaPlaybackActivityHandles()
/frameworks/base/services/core/java/com/android/server/am/
DPreBootBroadcaster.java93 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/
DMenuBuilder.java520 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/
DKeyphraseEnrollmentInfo.java116 for (ResolveInfo ri : ris) { in KeyphraseEnrollmentInfo()
119 ri.activityInfo.packageName, PackageManager.GET_META_DATA); in KeyphraseEnrollmentInfo()
138 + ri.activityInfo.packageName; in KeyphraseEnrollmentInfo()

1234