/frameworks/base/core/java/android/app/slice/ |
D | Slice.java | 267 Slice(ArrayList<SliceItem> items, @SliceHint String[] hints, Uri uri, SliceSpec spec) { in Slice() argument 268 mHints = hints; in Slice() 397 public Builder addHints(@SliceHint List<String> hints) { in addHints() argument 398 mHints.addAll(hints); in addHints() 423 List<String> hints = s.getHints(); in addAction() local 425 mItems.add(new SliceItem(action, s, SliceItem.FORMAT_ACTION, subType, hints.toArray( in addAction() 426 new String[hints.size()]))); in addAction() 436 @SliceHint List<String> hints) { in addText() argument 437 mItems.add(new SliceItem(text, SliceItem.FORMAT_TEXT, subType, hints)); in addText() 447 @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 | 131 List<String> hints) { in SliceItem() argument 132 this(obj, format, subType, hints.toArray(new String[hints.size()])); in SliceItem() 139 @Slice.SliceHint String[] hints) { in SliceItem() argument 140 mHints = hints; in SliceItem() 150 @Slice.SliceHint String[] hints) { in SliceItem() argument 151 this(new Pair<>(intent, slice), format, subType, hints); in SliceItem() 292 public boolean hasHints(@Slice.SliceHint String[] hints) { in hasHints() argument 293 if (hints == null) return true; in hasHints() 294 for (String hint : hints) { in hasHints() 305 public boolean hasAnyHints(@Slice.SliceHint String[] hints) { in hasAnyHints() argument [all …]
|
/frameworks/base/tests/Internal/src/android/app/ |
D | WallpaperColorsTest.java | 59 int hints = WallpaperColors.fromBitmap(image).getColorHints(); in whiteSurfaceColorHintsTest() local 60 boolean supportsDarkText = (hints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT) != 0; in whiteSurfaceColorHintsTest() 61 boolean supportsDarkTheme = (hints & WallpaperColors.HINT_SUPPORTS_DARK_THEME) != 0; in whiteSurfaceColorHintsTest() 84 int hints = WallpaperColors.fromBitmap(xsmall_image).getColorHints(); in xSmallWhiteSurfaceColorHintsTest() local 85 boolean supportsDarkText = (hints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT) != 0; in xSmallWhiteSurfaceColorHintsTest() 86 boolean supportsDarkTheme = (hints & WallpaperColors.HINT_SUPPORTS_DARK_THEME) != 0; in xSmallWhiteSurfaceColorHintsTest() 102 int hints = WallpaperColors.fromBitmap(image).getColorHints(); in blackSurfaceColorHintsTest() local 103 boolean supportsDarkText = (hints & WallpaperColors.HINT_SUPPORTS_DARK_TEXT) != 0; in blackSurfaceColorHintsTest() 104 boolean supportsDarkTheme = (hints & WallpaperColors.HINT_SUPPORTS_DARK_THEME) != 0; in blackSurfaceColorHintsTest() 119 int hints = WallpaperColors.fromBitmap(image).getColorHints(); in bitmapHintsTest() local [all …]
|
/frameworks/base/core/java/android/service/assist/classification/ |
D | FieldClassification.java | 156 List<String> hints = new java.util.ArrayList<>(); in unparcelHints() local 157 in.readStringList(hints); in unparcelHints() 158 return new ArraySet<>(hints); in unparcelHints() 188 @NonNull Set<String> hints) { in FieldClassification() argument 189 this(autofillId, hints, new ArraySet<>()); in FieldClassification() 209 @NonNull Set<String> hints, in FieldClassification() argument 214 this.mHints = hints; in FieldClassification() 273 Set<String> hints = unparcelHints(in); in FieldClassification() local 279 this.mHints = hints; in FieldClassification()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
D | Utilities.java | 110 int hints = oldHints; in calculateBackDispositionHints() local 116 hints |= NAVIGATION_HINT_BACK_ALT; in calculateBackDispositionHints() 118 hints &= ~NAVIGATION_HINT_BACK_ALT; in calculateBackDispositionHints() 122 hints &= ~NAVIGATION_HINT_BACK_ALT; in calculateBackDispositionHints() 126 hints |= NAVIGATION_HINT_IME_SHOWN; in calculateBackDispositionHints() 128 hints &= ~NAVIGATION_HINT_IME_SHOWN; in calculateBackDispositionHints() 131 hints |= NAVIGATION_HINT_IME_SWITCHER_SHOWN; in calculateBackDispositionHints() 133 hints &= ~NAVIGATION_HINT_IME_SWITCHER_SHOWN; in calculateBackDispositionHints() 136 return hints; in calculateBackDispositionHints()
|
/frameworks/libs/binary_translation/base/ |
D | tracing.cc | 87 struct addrinfo hints {}; in TraceToSocket() struct 88 hints.ai_family = AF_UNSPEC; in TraceToSocket() 89 hints.ai_socktype = SOCK_STREAM; in TraceToSocket() 92 if (getaddrinfo("localhost", env + 1, &hints, &results) != 0) { in TraceToSocket()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/qrcode/ |
D | QrCodeGenerator.kt | 63 val hints = EnumMap<EncodeHintType, Any>(EncodeHintType::class.java) in encodeQrCode() constant 65 hints[EncodeHintType.CHARACTER_SET] = StandardCharsets.UTF_8.name() in encodeQrCode() 68 hints[EncodeHintType.MARGIN] = margin in encodeQrCode() 70 val qrBits = MultiFormatWriter().encode(contents, BarcodeFormat.QR_CODE, 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 | FillRequest.java | 355 @NonNull List<String> hints, in FillRequest() argument 364 this.mHints = hints; in FillRequest() 541 List<String> hints = new ArrayList<>(); in FillRequest() local 542 in.readStringList(hints); in FillRequest() 552 this.mHints = hints; in FillRequest()
|
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 | 245 public void setNavigationIconHints(int hints) { in setNavigationIconHints() argument 246 if (hints == mNavigationIconHints) return; in setNavigationIconHints() 247 final boolean newBackAlt = (hints & StatusBarManager.NAVIGATION_HINT_BACK_ALT) != 0; in setNavigationIconHints() 255 android.widget.Toast.makeText(getContext(), "Navigation icon hints = " + hints, 500) in setNavigationIconHints() local 258 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/base/core/java/android/app/ |
D | WallpaperColors.java | 247 int hints = calculateDarkHints(bitmap, dimAmount); in fromBitmap() local 254 return new WallpaperColors(populationByColor, HINT_FROM_BITMAP | hints); in fromBitmap() 594 int hints = 0; in calculateDarkHints() local 597 hints |= HINT_SUPPORTS_DARK_TEXT; in calculateDarkHints() 600 hints |= HINT_SUPPORTS_DARK_THEME; in calculateDarkHints() 616 return hints; in calculateDarkHints()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenLog.java | 222 private static String hintsToString(int hints) { in hintsToString() argument 223 switch (hints) { in hintsToString() 231 default: return Integer.toString(hints); in hintsToString()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/panel/component/anc/ |
D | FakeSliceFactory.kt | 41 whenever(hints) in createSlice()
|
/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/base/core/java/android/inputmethodservice/ |
D | NavigationBarController.java | 239 final int hints = StatusBarManager.NAVIGATION_HINT_BACK_ALT in installNavigationBarFrameIfNecessary() local 243 navigationBarView.setNavigationIconHints(hints); in installNavigationBarFrameIfNecessary() 516 final int hints = StatusBarManager.NAVIGATION_HINT_BACK_ALT in onNavButtonFlagsChanged() local 519 navigationBarView.setNavigationIconHints(hints); in onNavButtonFlagsChanged()
|
/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/packages/SystemUI/src/com/android/systemui/assist/ |
D | AssistManager.java | 266 public void onSetUiHints(Bundle hints) { in registerVoiceInteractionSessionListener() 271 String action = hints.getString(ACTION_KEY); in registerVoiceInteractionSessionListener() 276 hints.getBoolean(CONSTRAINED_KEY, false)) in registerVoiceInteractionSessionListener()
|
/frameworks/base/core/java/android/service/notification/ |
D | INotificationListener.aidl | 42 void onListenerHintsChanged(int hints); in onListenerHintsChanged() argument
|
/frameworks/base/telecomm/java/android/telecom/ |
D | ParcelableConference.java | 92 public Builder setStatusHints(StatusHints hints) { in setStatusHints() argument 93 mStatusHints = hints; in setStatusHints()
|