/frameworks/base/core/java/android/app/slice/ |
D | Slice.java | 276 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 …]
|
D | SliceQuery.java | 90 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 …]
|
D | SliceItem.java | 132 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/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
D | Utilities.java | 109 int hints = oldHints; in calculateBackDispositionHints() local 115 hints |= NAVIGATION_HINT_BACK_ALT; in calculateBackDispositionHints() 117 hints &= ~NAVIGATION_HINT_BACK_ALT; in calculateBackDispositionHints() 121 hints &= ~NAVIGATION_HINT_BACK_ALT; in calculateBackDispositionHints() 125 hints |= NAVIGATION_HINT_IME_SHOWN; in calculateBackDispositionHints() 127 hints &= ~NAVIGATION_HINT_IME_SHOWN; in calculateBackDispositionHints() 130 hints |= NAVIGATION_HINT_IME_SWITCHER_SHOWN; in calculateBackDispositionHints() 132 hints &= ~NAVIGATION_HINT_IME_SWITCHER_SHOWN; in calculateBackDispositionHints() 135 return hints; in calculateBackDispositionHints()
|
/frameworks/base/tests/Internal/src/android/app/ |
D | WallpaperColorsTest.java | 59 int hints = WallpaperColors.fromBitmap(image).getColorHints(); in colorHintsTest() local 60 boolean supportsDarkText = (hints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT) != 0; in colorHintsTest() 61 boolean supportsDarkTheme = (hints & WallpaperColors.HINT_SUPPORTS_DARK_THEME) != 0; in colorHintsTest() 62 boolean fromBitmap = (hints & WallpaperColors.HINT_FROM_BITMAP) != 0; in colorHintsTest() 69 hints = WallpaperColors.fromBitmap(image).getColorHints(); in colorHintsTest() 70 supportsDarkText = (hints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT) != 0; in colorHintsTest() 71 supportsDarkTheme = (hints & WallpaperColors.HINT_SUPPORTS_DARK_THEME) != 0; in colorHintsTest()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/ |
D | QrCodeGenerator.java | 43 final Map<EncodeHintType, Object> hints = new HashMap<>(); in encodeQrCode() local 45 hints.put(EncodeHintType.CHARACTER_SET, StandardCharsets.UTF_8.name()); in encodeQrCode() 49 size, size, hints); in encodeQrCode()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | ConversationActions.java | 323 @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()
|
D | TextClassifier.java | 446 List<String> hints, in EntityConfig() argument 450 mHints = Objects.requireNonNull(hints); in EntityConfig() 481 public static EntityConfig createWithHints(@Nullable Collection<String> hints) { in createWithHints() argument 484 .setHints(hints) in createWithHints() 501 public static EntityConfig create(@Nullable Collection<String> hints, in create() argument 507 .setHints(hints) in create() 634 public Builder setHints(@Nullable Collection<String> hints) { in setHints() argument 635 mHints = hints; in setHints()
|
/frameworks/base/core/java/android/service/autofill/ |
D | InlinePresentation.java | 74 List<String> hints = mSlice.getHints(); in getAutofillHints() local 75 return hints.toArray(new String[hints.size()]); in getAutofillHints()
|
/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
D | NavigationBarView.java | 241 public void setNavigationIconHints(int hints) { in setNavigationIconHints() argument 242 if (hints == mNavigationIconHints) return; in setNavigationIconHints() 243 final boolean newBackAlt = (hints & StatusBarManager.NAVIGATION_HINT_BACK_ALT) != 0; in setNavigationIconHints() 251 android.widget.Toast.makeText(getContext(), "Navigation icon hints = " + hints, 500) in setNavigationIconHints() local 254 mNavigationIconHints = hints; in setNavigationIconHints()
|
/frameworks/base/native/android/ |
D | net.c | 127 const struct addrinfo *hints, struct addrinfo **res) { in android_getaddrinfofornetwork() argument 134 return android_getaddrinfofornet(node, service, hints, netid, 0, res); in android_getaddrinfofornetwork()
|
/frameworks/libs/net/common/netd/libnetdutils/ |
D | InternetAddresses.cpp | 61 const addrinfo hints = { in forString() local 65 const int ret = getaddrinfo(repr.c_str(), nullptr, &hints, &res); in forString()
|
/frameworks/base/core/java/android/app/ |
D | WallpaperColors.java | 236 int hints = calculateDarkHints(bitmap, dimAmount); in fromBitmap() local 242 return new WallpaperColors(populationByColor, HINT_FROM_BITMAP | hints); in fromBitmap() 581 int hints = 0; in calculateDarkHints() local 584 hints |= HINT_SUPPORTS_DARK_TEXT; in calculateDarkHints() 587 hints |= HINT_SUPPORTS_DARK_THEME; in calculateDarkHints() 602 return hints; in calculateDarkHints()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenLog.java | 249 private static String hintsToString(int hints) { in hintsToString() argument 250 switch (hints) { in hintsToString() 258 default: return Integer.toString(hints); in hintsToString()
|
/frameworks/base/core/java/android/service/voice/ |
D | VoiceInteractionService.java | 527 public final void setUiHints(@NonNull Bundle hints) { in setUiHints() argument 528 if (hints == null) { in setUiHints() 533 mSystemService.setUiHints(hints); in setUiHints()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | NavigationBarController.java | 213 final int hints = StatusBarManager.NAVIGATION_HINT_BACK_ALT in installNavigationBarFrameIfNecessary() local 217 navigationBarView.setNavigationIconHints(hints); in installNavigationBarFrameIfNecessary() 448 final int hints = StatusBarManager.NAVIGATION_HINT_BACK_ALT in onNavButtonFlagsChanged() local 451 navigationBarView.setNavigationIconHints(hints); in onNavButtonFlagsChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
D | AssistManager.java | 208 public void onSetUiHints(Bundle hints) { in registerVoiceInteractionSessionListener() 213 String action = hints.getString(ACTION_KEY); in registerVoiceInteractionSessionListener() 218 hints.getBoolean(CONSTRAINED_KEY, false)) in registerVoiceInteractionSessionListener()
|
/frameworks/base/native/android/include/android/ |
D | multinetwork.h | 145 const struct addrinfo *hints, struct addrinfo **res) __INTRODUCED_IN(23);
|
/frameworks/native/include/android/ |
D | multinetwork.h | 145 const struct addrinfo *hints, struct addrinfo **res) __INTRODUCED_IN(23);
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcTestLib.cpp | 443 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/ |
D | FrameType.java | 360 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/core/tests/coretests/src/android/app/assist/ |
D | AssistStructureTest.java | 320 String[] hints = view.getAutofillHints(); in assertBigView() local 321 assertThat(hints.length).isEqualTo(1); in assertBigView() 322 String hint = hints[0]; in assertBigView()
|
/frameworks/base/core/java/android/service/notification/ |
D | INotificationListener.aidl | 42 void onListenerHintsChanged(int hints); in onListenerHintsChanged() argument
|
D | NotificationListenerService.java | 572 public void onListenerHintsChanged(int hints) { in onListenerHintsChanged() argument 1161 public final void requestListenerHints(int hints) { in requestListenerHints() argument 1164 getNotificationInterface().requestHintsFromListener(mWrapper, hints); in requestListenerHints() 1489 public void onListenerHintsChanged(int hints) throws RemoteException { in onListenerHintsChanged() argument 1491 hints, 0).sendToTarget(); in onListenerHintsChanged() 2359 final int hints = msg.arg1; in handleMessage() local 2360 onListenerHintsChanged(hints); in handleMessage()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | ParcelableConference.java | 92 public Builder setStatusHints(StatusHints hints) { in setStatusHints() argument 93 mStatusHints = hints; in setStatusHints()
|