Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/app/slice/
DSlice.java276 Slice(ArrayList<SliceItem> items, @SliceHint String[] hints, Uri uri, SliceSpec spec) { in Slice() argument
277 mHints = hints; in Slice()
410 public Builder addHints(@SliceHint List<String> hints) { in addHints() argument
411 mHints.addAll(hints); in addHints()
445 List<String> hints = s.getHints(); in addAction() local
447 mItems.add(new SliceItem(action, s, SliceItem.FORMAT_ACTION, subType, hints.toArray( in addAction()
448 new String[hints.size()]))); in addAction()
458 @SliceHint List<String> hints) { in addText() argument
459 mItems.add(new SliceItem(text, SliceItem.FORMAT_TEXT, subType, hints)); in addText()
469 @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.java323 @Nullable @Hint List<String> hints, in Request() argument
328 mHints = hints; in Request()
337 List<String> hints = new ArrayList<>(); in readFromParcel() local
338 in.readStringList(hints); in readFromParcel()
346 hints, in readFromParcel()
474 public Builder setHints(@Nullable @Hint List<String> hints) { in setHints() argument
475 mHints = hints; in setHints()
DTextClassifier.java444 List<String> hints, in EntityConfig() argument
448 mHints = Objects.requireNonNull(hints); in EntityConfig()
479 public static EntityConfig createWithHints(@Nullable Collection<String> hints) { in createWithHints() argument
482 .setHints(hints) in createWithHints()
499 public static EntityConfig create(@Nullable Collection<String> hints, in create() argument
505 .setHints(hints) in create()
632 public Builder setHints(@Nullable Collection<String> hints) { in setHints() argument
633 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()
414 int hints = 0; in calculateDarkHints() local
417 hints |= HINT_SUPPORTS_DARK_TEXT; in calculateDarkHints()
420 hints |= HINT_SUPPORTS_DARK_THEME; in calculateDarkHints()
435 return hints; in calculateDarkHints()
/frameworks/base/core/java/android/service/autofill/
DInlinePresentation.java69 List<String> hints = mSlice.getHints(); in getAutofillHints() local
70 return hints.toArray(new String[hints.size()]); in getAutofillHints()
/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/services/core/java/com/android/server/notification/
DZenLog.java206 private static String hintsToString(int hints) { in hintsToString() argument
207 switch (hints) { in hintsToString()
215 default: return Integer.toString(hints); in hintsToString()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionService.java395 public final void setUiHints(@NonNull Bundle hints) { in setUiHints() argument
396 if (hints == null) { in setUiHints()
401 mSystemService.setUiHints(hints); in setUiHints()
/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/native/android/include/android/
Dmultinetwork.h112 const struct addrinfo *hints, struct addrinfo **res) __INTRODUCED_IN(23);
/frameworks/native/include/android/
Dmultinetwork.h112 const struct addrinfo *hints, struct addrinfo **res) __INTRODUCED_IN(23);
/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/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/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarFragment.java722 int hints = mNavigationIconHints; in setImeWindowStatus() local
728 hints |= NAVIGATION_HINT_BACK_ALT; in setImeWindowStatus()
730 hints &= ~NAVIGATION_HINT_BACK_ALT; in setImeWindowStatus()
734 hints &= ~NAVIGATION_HINT_BACK_ALT; in setImeWindowStatus()
738 hints |= NAVIGATION_HINT_IME_SHOWN; in setImeWindowStatus()
740 hints &= ~NAVIGATION_HINT_IME_SHOWN; in setImeWindowStatus()
742 if (hints == mNavigationIconHints) return; in setImeWindowStatus()
744 mNavigationIconHints = hints; in setImeWindowStatus()
747 mNavigationBarView.setNavigationIconHints(hints); in setImeWindowStatus()
DNavigationBarView.java605 public void setNavigationIconHints(int hints) { in setNavigationIconHints() argument
606 if (hints == mNavigationIconHints) return; in setNavigationIconHints()
607 final boolean newBackAlt = (hints & StatusBarManager.NAVIGATION_HINT_BACK_ALT) != 0; in setNavigationIconHints()
616 "Navigation icon hints = " + hints, in setNavigationIconHints() local
619 mNavigationIconHints = hints; in setNavigationIconHints()
/frameworks/base/core/java/android/service/notification/
DINotificationListener.aidl41 void onListenerHintsChanged(int hints); in onListenerHintsChanged() argument
DNotificationListenerService.java495 public void onListenerHintsChanged(int hints) { in onListenerHintsChanged() argument
1061 public final void requestListenerHints(int hints) { in requestListenerHints() argument
1064 getNotificationInterface().requestHintsFromListener(mWrapper, hints); in requestListenerHints()
1389 public void onListenerHintsChanged(int hints) throws RemoteException { in onListenerHintsChanged() argument
1391 hints, 0).sendToTarget(); in onListenerHintsChanged()
2154 final int hints = msg.arg1;
2155 onListenerHintsChanged(hints);
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistManager.java263 public void onSetUiHints(Bundle hints) { in registerVoiceInteractionSessionListener()
268 String action = hints.getString(ACTION_KEY); in registerVoiceInteractionSessionListener()
275 hints.getBoolean(CONSTRAINED_KEY, false)) in registerVoiceInteractionSessionListener()
/frameworks/base/telecomm/java/android/telecom/
DParcelableConference.java92 public Builder setStatusHints(StatusHints hints) { in setStatusHints() argument
93 mStatusHints = hints; in setStatusHints()
/frameworks/base/core/java/com/android/internal/app/
DIVoiceInteractionManagerService.aidl254 void setUiHints(in Bundle hints); in setUiHints() argument
/frameworks/layoutlib/bridge/src/android/graphics/
DSweepGradient_Delegate.java107 java.awt.RenderingHints hints) { in createContext() argument
DRadialGradient_Delegate.java112 java.awt.RenderingHints hints) { in createContext() argument

12