Home
last modified time | relevance | path

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

/frameworks/opt/localepicker/src/com/android/localepicker/
DLocaleStore.java230 for (LocaleInfo li : sLocaleCache.values()) { in updateSimCountries()
235 if (simCountries.contains(li.getLocale().getCountry())) { in updateSimCountries()
236 li.mSuggestionFlags |= LocaleInfo.SUGGESTION_TYPE_SIM; in updateSimCountries()
254 for (LocaleInfo li : sLocaleCache.values()) { in addSuggestedLocalesForRegion()
255 if (country.equals(li.getLocale().getCountry())) { in addSuggestedLocalesForRegion()
257 li.mSuggestionFlags |= LocaleInfo.SUGGESTION_TYPE_SIM; in addSuggestedLocalesForRegion()
276 LocaleInfo li = new LocaleInfo(locale); in fillCache() local
278 if (LocaleList.isPseudoLocale(ULocale.forLocale(li.getLocale()))) { in fillCache()
280 li.setTranslated(true); in fillCache()
281 li.mIsPseudo = true; in fillCache()
[all …]
DSuggestedLocaleAdapter.java76 for (LocaleStore.LocaleInfo li : localeOptions) { in SuggestedLocaleAdapter()
77 if (li.isSuggested()) { in SuggestedLocaleAdapter()
80 mLocaleOptions.add(li); in SuggestedLocaleAdapter()
310 for (LocaleStore.LocaleInfo li : mLocaleOptions) { in publishResults()
311 if (li.isSuggested()) { in publishResults()
/frameworks/base/core/java/com/android/internal/app/
DLocaleStore.java231 for (LocaleInfo li : sLocaleCache.values()) { in updateSimCountries()
236 if (simCountries.contains(li.getLocale().getCountry())) { in updateSimCountries()
237 li.mSuggestionFlags |= LocaleInfo.SUGGESTION_TYPE_SIM; in updateSimCountries()
255 for (LocaleInfo li : sLocaleCache.values()) { in addSuggestedLocalesForRegion()
256 if (country.equals(li.getLocale().getCountry())) { in addSuggestedLocalesForRegion()
258 li.mSuggestionFlags |= LocaleInfo.SUGGESTION_TYPE_SIM; in addSuggestedLocalesForRegion()
277 LocaleInfo li = new LocaleInfo(localeId); in fillCache() local
279 if (LocaleList.isPseudoLocale(li.getLocale())) { in fillCache()
281 li.setTranslated(true); in fillCache()
282 li.mIsPseudo = true; in fillCache()
[all …]
DSuggestedLocaleAdapter.java71 for (LocaleStore.LocaleInfo li : localeOptions) { in SuggestedLocaleAdapter()
72 if (li.isSuggested()) { in SuggestedLocaleAdapter()
75 mLocaleOptions.add(li); in SuggestedLocaleAdapter()
301 for (LocaleStore.LocaleInfo li : mLocaleOptions) { in publishResults()
302 if (li.isSuggested()) { in publishResults()
DChooserListAdapter.java156 LabeledIntent li = (LabeledIntent) ii; in ChooserListAdapter() local
157 ri.resolvePackageName = li.getSourcePackage(); in ChooserListAdapter()
158 ri.labelRes = li.getLabelResource(); in ChooserListAdapter()
159 ri.nonLocalizedLabel = li.getNonLocalizedLabel(); in ChooserListAdapter()
160 ri.icon = li.getIconResource(); in ChooserListAdapter()
DResolverListAdapter.java328 LabeledIntent li = (LabeledIntent) ii;
329 ri.resolvePackageName = li.getSourcePackage();
330 ri.labelRes = li.getLabelResource();
331 ri.nonLocalizedLabel = li.getNonLocalizedLabel();
332 ri.icon = li.getIconResource();
/frameworks/base/core/java/android/net/
DMobileLinkQualityInfo.java77 MobileLinkQualityInfo li = new MobileLinkQualityInfo(); in createFromParcelBody() local
79 li.initializeFromParcel(in); in createFromParcelBody()
81 li.mMobileNetworkType = in.readInt(); in createFromParcelBody()
82 li.mRssi = in.readInt(); in createFromParcelBody()
83 li.mGsmErrorRate = in.readInt(); in createFromParcelBody()
84 li.mCdmaDbm = in.readInt(); in createFromParcelBody()
85 li.mCdmaEcio = in.readInt(); in createFromParcelBody()
86 li.mEvdoDbm = in.readInt(); in createFromParcelBody()
87 li.mEvdoEcio = in.readInt(); in createFromParcelBody()
88 li.mEvdoSnr = in.readInt(); in createFromParcelBody()
[all …]
DWifiLinkQualityInfo.java61 WifiLinkQualityInfo li = new WifiLinkQualityInfo(); in createFromParcelBody() local
63 li.initializeFromParcel(in); in createFromParcelBody()
65 li.mType = in.readInt(); in createFromParcelBody()
66 li.mRssi = in.readInt(); in createFromParcelBody()
67 li.mTxGood = in.readLong(); in createFromParcelBody()
68 li.mTxBad = in.readLong(); in createFromParcelBody()
70 li.mBssid = in.readString(); in createFromParcelBody()
72 return li; in createFromParcelBody()
DLinkQualityInfo.java120 LinkQualityInfo li = new LinkQualityInfo();
121 li.initializeFromParcel(in);
122 return li;
DEthernetManager.java54 for (ListenerInfo li : mListeners) {
55 li.executor.execute(() ->
56 li.listener.onAvailabilityChanged(iface, isAvailable));
/frameworks/rs/script_api/
Drs_allocation_data.spec23 <li>Individual cells are accessed using the rsGetElementAt* and
24 @rsSetElementAt functions.</li>
25 <li>Multiple cells can be copied using the rsAllocationCopy* and
26 rsAllocationV* functions.</li>
27 <li>For getting values through a sampler, use @rsSample.</li>
Drs_value_types.spec42 <li>The letters x, y, z, and w,</li>
43 <li>The letters r, g, b, and a,</li>
44 <li>The letter s or S, followed by a zero based index.</li></ul>
Drs_io.spec21 <li>Send information to the Java client, and</li>
23 <li>Send the processed allocation or receive the next allocation to process.</li></ul>
Drs_vector_math.spec29 <li>native_: May have custom hardware implementations with weaker precision. Additionally,
31 infinity input may not be handled correctly.</li>
32 <li>fast_: May perform internal computations using 16 bit floats. Additionally, subnormal
33 values may be flushed to zero, and rounding towards zero may be used.</li>
Drs_math.spec43 <li>native_: May have custom hardware implementations with weaker precision. Additionally,
45 infinity input may not be handled correctly.</li>
46 <li>half_: May perform internal computations using 16 bit floats. Additionally, subnormal
47 values may be flushed to zero, and rounding towards zero may be used.</li>
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/
DNotifViewBarn.kt37 val li = rowMap[forEntry.key] in requireView() constant
38 if (li == null) { in requireView()
42 return li in requireView()
/frameworks/minikin/libs/minikin/
DCmapCoverage.cpp95 size_t li = 0; in mergeRanges() local
96 while (li < lsize || ri < rsize) { in mergeRanges()
97 Range left = getRange(lRanges, li); in mergeRanges()
103 Range r = getRange(lRanges, li); in mergeRanges()
105 li += 2; in mergeRanges()
106 } while (li < lsize); in mergeRanges()
121 li += 2; in mergeRanges()
129 li += 2; in mergeRanges()
131 left = getRange(lRanges, li); in mergeRanges()
136 li += 2; in mergeRanges()
[all …]
DFontCollection.cpp466 uint32_t li = 0; in intersect() local
469 while (li < l.size() && ri < r.size()) { in intersect()
470 if (l[li] < r[ri]) { in intersect()
471 li++; in intersect()
472 } else if (l[li] > r[ri]) { in intersect()
475 b.add(l[li]); in intersect()
476 li++; in intersect()
/frameworks/base/core/java/android/content/
DUriMatcher.java224 final int li = pathSegments.size();
228 if (li == 0 && uri.getAuthority() == null) {
232 for (int i=-1; i<li; i++) {
/frameworks/base/core/java/android/app/
DLoaderManager.java883 LoaderInfo li = mLoaders.valueAt(i); in dump() local
885 writer.print(": "); writer.println(li.toString()); in dump()
886 li.dump(innerPrefix, fd, writer, args); in dump()
893 LoaderInfo li = mInactiveLoaders.valueAt(i); in dump() local
895 writer.print(": "); writer.println(li.toString()); in dump()
896 li.dump(innerPrefix, fd, writer, args); in dump()
905 final LoaderInfo li = mLoaders.valueAt(i); in hasRunningLoaders() local
906 loadersRunning |= li.mStarted && !li.mDeliveredData; in hasRunningLoaders()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java180 try (BaseIconFactory li = getIconFactory()) { in makeDefaultIcon() argument
181 return li.makeDefaultIcon(user); in makeDefaultIcon()
387 BaseIconFactory li = getIconFactory(); in cachePackageInstallInfo() local
388 entry.bitmap = li.createShapedIconBitmap(icon, user); in cachePackageInstallInfo()
389 li.close(); in cachePackageInstallInfo()
426 BaseIconFactory li = getIconFactory(); in getEntryForPackageLocked() local
429 BitmapInfo iconInfo = li.createBadgedIconBitmap( in getEntryForPackageLocked()
432 li.close(); in getEntryForPackageLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DForegroundServiceSectionController.kt129 fun createView(li: LayoutInflater): View { in <lambda>()
130 entriesView = li.inflate(R.layout.foreground_service_dungeon, null) in <lambda>()
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
DDpiTestActivity.java78 final LayoutInflater li = (LayoutInflater)getSystemService( in onCreate() local
106 layout = (LinearLayout)li.inflate(R.layout.image_views, null); in onCreate()
110 layout = (LinearLayout)li.inflate(R.layout.styled_image_views, null); in onCreate()
/frameworks/base/core/java/android/view/
DView.java7154 ListenerInfo li = getListenerInfo();
7155 if (li.mOnLayoutChangeListeners == null) {
7156 li.mOnLayoutChangeListeners = new ArrayList<OnLayoutChangeListener>();
7158 if (!li.mOnLayoutChangeListeners.contains(listener)) {
7159 li.mOnLayoutChangeListeners.add(listener);
7169 ListenerInfo li = mListenerInfo;
7170 if (li == null || li.mOnLayoutChangeListeners == null) {
7173 li.mOnLayoutChangeListeners.remove(listener);
7187 ListenerInfo li = getListenerInfo();
7188 if (li.mOnAttachStateChangeListeners == null) {
[all …]
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java626 ListenerInfo li = (ListenerInfo) in sendClipChangedBroadcast() local
629 if (clipboardAccessAllowed(AppOpsManager.OP_READ_CLIPBOARD, li.mPackageName, in sendClipChangedBroadcast()
630 li.mUid, UserHandle.getUserId(li.mUid))) { in sendClipChangedBroadcast()