Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/app/slice/
DSlice.java277 Slice(ArrayList<SliceItem> items, @SliceHint String[] hints, Uri uri, SliceSpec spec) { in Slice() argument
278 mHints = hints; in Slice()
411 public Builder addHints(@SliceHint List<String> hints) { in addHints() argument
412 mHints.addAll(hints); in addHints()
446 List<String> hints = s.getHints(); in addAction() local
448 mItems.add(new SliceItem(action, s, SliceItem.FORMAT_ACTION, subType, hints.toArray( in addAction()
449 new String[hints.size()]))); in addAction()
459 @SliceHint List<String> hints) { in addText() argument
460 mItems.add(new SliceItem(text, SliceItem.FORMAT_TEXT, subType, hints)); in addText()
470 @SliceHint List<String> hints) { in addIcon() argument
[all …]
DSliceQuery.java90 public static List<SliceItem> findAll(SliceItem s, String type, String hints, String nonHints) { in findAll() argument
91 return findAll(s, type, new String[]{ hints }, new String[]{ nonHints }); in findAll()
97 public static List<SliceItem> findAll(SliceItem s, String type, String[] hints, in findAll() argument
100 && (item.hasHints(hints) && !item.hasAnyHints(nonHints))) in findAll()
107 public static SliceItem find(Slice s, String type, String hints, String nonHints) { in find() argument
108 return find(s, type, new String[]{ hints }, new String[]{ nonHints }); in find()
128 public static SliceItem find(SliceItem s, String type, String hints, String nonHints) { in find() argument
129 return find(s, type, new String[]{ hints }, new String[]{ nonHints }); in find()
135 public static SliceItem find(Slice s, String type, String[] hints, String[] nonHints) { in find() argument
138 type, hints, nonHints); in find()
[all …]
DSliceItem.java132 List<String> hints) { in SliceItem() argument
133 this(obj, format, subType, hints.toArray(new String[hints.size()])); in SliceItem()
140 @Slice.SliceHint String[] hints) { in SliceItem() argument
141 mHints = hints; in SliceItem()
151 @Slice.SliceHint String[] hints) { in SliceItem() argument
152 this(new Pair<>(intent, slice), format, subType, hints); in SliceItem()
302 public boolean hasHints(@Slice.SliceHint String[] hints) { in hasHints() argument
303 if (hints == null) return true; in hasHints()
304 for (String hint : hints) { in hasHints()
315 public boolean hasAnyHints(@Slice.SliceHint String[] hints) { in hasAnyHints() argument
[all …]
/frameworks/base/tests/Internal/src/android/app/
DWallpaperColorsTest.java58 int hints = WallpaperColors.fromBitmap(image).getColorHints(); in colorHintsTest() local
59 boolean supportsDarkText = (hints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT) != 0; in colorHintsTest()
60 boolean supportsDarkTheme = (hints & WallpaperColors.HINT_SUPPORTS_DARK_THEME) != 0; in colorHintsTest()
61 boolean fromBitmap = (hints & WallpaperColors.HINT_FROM_BITMAP) != 0; in colorHintsTest()
68 hints = WallpaperColors.fromBitmap(image).getColorHints(); in colorHintsTest()
69 supportsDarkText = (hints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT) != 0; in colorHintsTest()
70 supportsDarkTheme = (hints & WallpaperColors.HINT_SUPPORTS_DARK_THEME) != 0; in colorHintsTest()
/frameworks/base/core/java/android/view/textclassifier/
DConversationActions.java326 @Nullable @Hint List<String> hints, in Request() argument
331 mHints = hints; in Request()
340 List<String> hints = new ArrayList<>(); in readFromParcel() local
341 in.readStringList(hints); in readFromParcel()
348 hints, in readFromParcel()
468 public Builder setHints(@Nullable @Hint List<String> hints) { in setHints() argument
469 mHints = hints; in setHints()
DTextClassifier.java428 List<String> hints, in EntityConfig() argument
432 mHints = Preconditions.checkNotNull(hints); in EntityConfig()
463 public static EntityConfig createWithHints(@Nullable Collection<String> hints) { in createWithHints() argument
466 .setHints(hints) in createWithHints()
483 public static EntityConfig create(@Nullable Collection<String> hints, in create() argument
489 .setHints(hints) in create()
616 public Builder setHints(@Nullable Collection<String> hints) { in setHints() argument
617 mHints = hints; in setHints()
/frameworks/base/core/java/android/app/
DWallpaperColors.java204 int hints = calculateDarkHints(bitmap); in fromBitmap() local
210 return new WallpaperColors(primary, secondary, tertiary, HINT_FROM_BITMAP | hints); in fromBitmap()
406 int hints = 0; in calculateDarkHints() local
409 hints |= HINT_SUPPORTS_DARK_TEXT; in calculateDarkHints()
412 hints |= HINT_SUPPORTS_DARK_THEME; in calculateDarkHints()
427 return hints; in calculateDarkHints()
/frameworks/base/native/android/
Dnet.c77 const struct addrinfo *hints, struct addrinfo **res) { in android_getaddrinfofornetwork() argument
84 return android_getaddrinfofornet(node, service, hints, netid, 0, res); in android_getaddrinfofornetwork()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionService.java349 public final void setUiHints(@NonNull Bundle hints) { in setUiHints() argument
350 if (hints == null) { in setUiHints()
355 mSystemService.setUiHints(mInterface, hints); in setUiHints()
/frameworks/base/services/core/java/com/android/server/notification/
DZenLog.java205 private static String hintsToString(int hints) { in hintsToString() argument
206 switch (hints) { in hintsToString()
214 default: return Integer.toString(hints); in hintsToString()
DNotificationManagerService.java1441 void setHints(int hints) { in setHints() argument
1442 mListenerHints = hints; in setHints()
1905 final int hints = calculateHints();
1906 if (hints == mListenerHints) return;
1907 ZenLog.traceListenerHintsChanged(mListenerHints, hints, mEffectsSuppressors.size());
1908 mListenerHints = hints;
1909 scheduleListenerHintsChanged(hints);
2044 private boolean removeDisabledHints(ManagedServiceInfo info, int hints) {
2051 if (hints == 0 || (hint & hints) == hint) {
2059 private void addDisabledHints(ManagedServiceInfo info, int hints) {
[all …]
/frameworks/native/include/android/
Dmultinetwork.h109 const struct addrinfo *hints, struct addrinfo **res) __INTRODUCED_IN(23);
/frameworks/base/native/android/include/android/
Dmultinetwork.h109 const struct addrinfo *hints, struct addrinfo **res) __INTRODUCED_IN(23);
/frameworks/base/core/tests/coretests/src/android/app/assist/
DAssistStructureTest.java266 String[] hints = view.getAutofillHints(); in assertBigView() local
267 assertThat(hints.length).isEqualTo(1); in assertBigView()
268 String hint = hints[0]; in assertBigView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarFragment.java430 int hints = mNavigationIconHints; in setImeWindowStatus() local
436 hints |= NAVIGATION_HINT_BACK_ALT; in setImeWindowStatus()
438 hints &= ~NAVIGATION_HINT_BACK_ALT; in setImeWindowStatus()
442 hints &= ~NAVIGATION_HINT_BACK_ALT; in setImeWindowStatus()
446 hints |= NAVIGATION_HINT_IME_SHOWN; in setImeWindowStatus()
448 hints &= ~NAVIGATION_HINT_IME_SHOWN; in setImeWindowStatus()
450 if (hints == mNavigationIconHints) return; in setImeWindowStatus()
452 mNavigationIconHints = hints; in setImeWindowStatus()
455 mNavigationBarView.setNavigationIconHints(hints); in setImeWindowStatus()
DNavigationBarView.java548 public void setNavigationIconHints(int hints) { in setNavigationIconHints() argument
549 if (hints == mNavigationIconHints) return; in setNavigationIconHints()
550 final boolean newBackAlt = (hints & StatusBarManager.NAVIGATION_HINT_BACK_ALT) != 0; in setNavigationIconHints()
559 "Navigation icon hints = " + hints, in setNavigationIconHints() local
562 mNavigationIconHints = hints; in setNavigationIconHints()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrameType.java360 private static String keyValueForType(int elemId, int dims, int hints, Class<?> clazz) { in keyValueForType() argument
361 return elemId + ":" + dims + ":" + hints + ":" + (clazz != null ? clazz.getName() : "0"); in keyValueForType()
/frameworks/native/opengl/tests/hwc/
DhwcTestLib.cpp443 list->hwLayers[layer].hints, in hwcTestDisplayList()
444 (list->hwLayers[layer].hints & HWC_HINT_TRIPLE_BUFFER) in hwcTestDisplayList()
446 (list->hwLayers[layer].hints & HWC_HINT_CLEAR_FB) in hwcTestDisplayList()
513 list->hwLayers[layer].hints, in hwcTestDisplayListPrepareModifiable()
514 (list->hwLayers[layer].hints & HWC_HINT_TRIPLE_BUFFER) in hwcTestDisplayListPrepareModifiable()
516 (list->hwLayers[layer].hints & HWC_HINT_CLEAR_FB) in hwcTestDisplayListPrepareModifiable()
/frameworks/base/core/java/android/service/notification/
DINotificationListener.aidl41 void onListenerHintsChanged(int hints); in onListenerHintsChanged() argument
DNotificationListenerService.java467 public void onListenerHintsChanged(int hints) { in onListenerHintsChanged() argument
1033 public final void requestListenerHints(int hints) { in requestListenerHints() argument
1036 getNotificationInterface().requestHintsFromListener(mWrapper, hints); in requestListenerHints()
1353 public void onListenerHintsChanged(int hints) throws RemoteException { in onListenerHintsChanged() argument
1355 hints, 0).sendToTarget(); in onListenerHintsChanged()
2046 final int hints = msg.arg1;
2047 onListenerHintsChanged(hints);
/frameworks/base/core/java/com/android/internal/app/
DIVoiceInteractionManagerService.aidl160 void setUiHints(in IVoiceInteractionService service, in Bundle hints); in setUiHints() argument
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassifierTest.java293 List<String> hints = Collections.EMPTY_LIST; in testGenerateLinks_exclude() local
297 .setEntityConfig(TextClassifier.EntityConfig.create(hints, included, excluded)) in testGenerateLinks_exclude()
322 List<String> hints = Collections.EMPTY_LIST; in testGenerateLinks_exclude_override() local
326 .setEntityConfig(TextClassifier.EntityConfig.create(hints, included, excluded)) in testGenerateLinks_exclude_override()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistManager.java82 void processBundle(Bundle hints); in processBundle() argument
203 public void onSetUiHints(Bundle hints) { in registerVoiceInteractionSessionListener()
/frameworks/layoutlib/bridge/src/android/graphics/
DRadialGradient_Delegate.java112 java.awt.RenderingHints hints) { in createContext() argument
DSweepGradient_Delegate.java107 java.awt.RenderingHints hints) { in createContext() argument

12