Searched refs:hint (Results 1 - 25 of 57) sorted by relevance

123

/frameworks/opt/net/voip/src/java/android/net/rtp/
H A DAudioCodec.java112 AudioCodec hint = null;
119 hint = codec;
127 hint = codec;
134 if (hint == null) {
137 if (hint == AMR && fmtp != null) {
/frameworks/base/core/java/android/view/inputmethod/
H A DExtractedText.java92 * The hint that has been extracted.
96 public CharSequence hint; field in class:ExtractedText
112 TextUtils.writeToParcel(hint, dest, flags);
129 res.hint = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
/frameworks/base/core/java/android/app/usage/
H A DCacheQuotaHint.java109 public Builder(CacheQuotaHint hint) { argument
110 setVolumeUuid(hint.getVolumeUuid());
111 setUid(hint.getUid());
112 setUsageStats(hint.getUsageStats());
113 setQuota(hint.getQuota());
/frameworks/support/slices/core/src/main/java/androidx/slice/
H A DSliceItem.java145 public void addHint(@Slice.SliceHint String hint) { argument
146 mHints = ArrayUtils.appendElement(String.class, mHints, hint);
153 public void removeHint(String hint) { argument
154 ArrayUtils.removeElement(String.class, mHints, hint);
268 * @param hint The hint to check for
269 * @return true if this item contains the given hint
271 public boolean hasHint(@Slice.SliceHint String hint) { argument
272 return ArrayUtils.contains(mHints, hint);
306 for (String hint
[all...]
/frameworks/base/core/java/android/app/
H A DISearchManager.aidl34 boolean launchLegacyAssist(String hint, int userHandle, in Bundle args);
H A DSearchManager.java991 public boolean launchLegacyAssist(String hint, int userHandle, Bundle args) { argument
996 return mService.launchLegacyAssist(hint, userHandle, args);
/frameworks/base/core/java/android/app/slice/
H A DSliceItem.java269 * @param hint The hint to check for
270 * @return true if this item contains the given hint
272 public boolean hasHint(@Slice.SliceHint String hint) { argument
273 return ArrayUtils.contains(mHints, hint);
304 for (String hint : hints) {
305 if (!TextUtils.isEmpty(hint) && !ArrayUtils.contains(mHints, hint)) {
317 for (String hint : hints) {
318 if (ArrayUtils.contains(mHints, hint)) {
[all...]
/frameworks/support/slices/core/src/main/java/androidx/slice/core/
H A DSliceQuery.java44 for (String hint : hints) {
45 if (itemHints.contains(hint)) {
57 for (String hint : hints) {
58 if (!TextUtils.isEmpty(hint) && !itemHints.contains(hint)) {
70 for (String hint : hints) {
71 if (!TextUtils.isEmpty(hint) && !itemHints.contains(hint)) {
/frameworks/base/core/tests/coretests/src/android/widget/
H A DEditorCursorTest.java53 private final static String LTR_HINT = "hint";
115 /* Tests for cursor positioning with hint */
192 private void setEditTextProperties(final String text, final String hint, argument
197 if (hint != null) mEditText.setHint(hint);
214 private void setEditTextHint(final String hint, final int textDirection, final int selection) argument
216 setEditTextProperties(null, hint, textDirection, selection);
/frameworks/base/core/java/android/view/
H A DViewStructure.java221 * Set optional hint text associated with this view; this is for example the text that is
224 public abstract void setHint(CharSequence hint); argument
242 * Retrieve the last hint set by {@link #setHint}.
336 public abstract void setAutofillHints(@Nullable String[] hint); argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
H A DNotificationChannels.java72 final NotificationChannel hint = new NotificationChannel(
86 hint
/frameworks/native/include/gui/
H A DBufferHubConsumer.h84 status_t setTransformHint(uint32_t hint) override;
H A DBufferQueueConsumer.h140 virtual status_t setTransformHint(uint32_t hint);
H A DConsumerBase.h96 status_t setTransformHint(uint32_t hint);
H A DIGraphicBufferConsumer.h257 virtual status_t setTransformHint(uint32_t hint) = 0;
/frameworks/native/libs/gui/include/gui/
H A DBufferHubConsumer.h84 status_t setTransformHint(uint32_t hint) override;
H A DBufferQueueConsumer.h140 virtual status_t setTransformHint(uint32_t hint);
H A DConsumerBase.h96 status_t setTransformHint(uint32_t hint);
H A DIGraphicBufferConsumer.h257 virtual status_t setTransformHint(uint32_t hint) = 0;
/frameworks/base/core/java/android/widget/
H A DAutoCompleteTextView.java273 // Completion hint must be set after specifying hint layout.
322 * <p>Sets the optional hint text that is displayed at the bottom of the
326 * @param hint the text to be displayed to the user
332 public void setCompletionHint(CharSequence hint) { argument
333 mHintText = hint;
334 if (hint != null) {
342 mHintView.setText(hint);
351 * Gets the optional hint text displayed at the bottom of the the matching list.
353 * @return The hint tex
1106 onDisplayHint(int hint) argument
[all...]
H A DSearchView.java127 /** Drawable used as an EditText hint. */
293 // Prior to L MR1, the search hint icon defaulted to searchIcon. If the
573 * Sets the hint text to display in the query text field. This overrides
574 * any hint specified in the {@link SearchableInfo}.
576 * This value may be specified as an empty string to prevent any query hint
579 * @param hint the hint text to display or {@code null} to clear
582 public void setQueryHint(@Nullable CharSequence hint) { argument
583 mQueryHint = hint;
588 * Returns the hint tex
[all...]
/frameworks/base/tests/net/java/android/net/
H A DNetworkStatsTest.java114 for (int hint = 0; hint < stats.size(); hint++) {
116 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_YES, hint));
118 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, hint));
120 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_YES, hint));
122 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, hint));
124 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_YES, hint));
126 METERED_YES, ROAMING_NO, DEFAULT_NETWORK_NO, hint));
128 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_YES, hint));
[all...]
/frameworks/native/libs/gui/
H A DFrameTimestamps.cpp180 auto hint = mFrames.begin() + *iHint; local
182 hint, mFrames.end(), FrameNumberEqual(frameNumber));
185 mFrames.begin(), hint, FrameNumberEqual(frameNumber));
186 if (frame == hint) {
H A DIGraphicBufferConsumer.cpp145 status_t setTransformHint(uint32_t hint) override {
147 return callRemote<Signature>(Tag::SET_TRANSFORM_HINT, hint);
/frameworks/base/services/core/java/com/android/server/search/
H A DSearchManagerService.java300 public boolean launchLegacyAssist(String hint, int userHandle, Bundle args) { argument
316 return am.launchAssistIntent(intent, ActivityManager.ASSIST_CONTEXT_BASIC, hint,

Completed in 1416 milliseconds

123