Home
last modified time | relevance | path

Searched refs:hint (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/opt/net/voip/src/java/android/net/rtp/
DAudioCodec.java112 AudioCodec hint = null; in getCodec() local
119 hint = codec; in getCodec()
127 hint = codec; in getCodec()
134 if (hint == null) { in getCodec()
137 if (hint == AMR && fmtp != null) { in getCodec()
/frameworks/base/core/java/android/app/usage/
DCacheQuotaHint.java109 public Builder(CacheQuotaHint hint) { in Builder() argument
110 setVolumeUuid(hint.getVolumeUuid()); in Builder()
111 setUid(hint.getUid()); in Builder()
112 setUsageStats(hint.getUsageStats()); in Builder()
113 setQuota(hint.getQuota()); in Builder()
/frameworks/base/core/java/android/app/slice/
DSliceItem.java272 public boolean hasHint(@Slice.SliceHint String hint) { in hasHint() argument
273 return ArrayUtils.contains(mHints, hint); in hasHint()
304 for (String hint : hints) { in hasHints()
305 if (!TextUtils.isEmpty(hint) && !ArrayUtils.contains(mHints, hint)) { in hasHints()
317 for (String hint : hints) { in hasAnyHints()
318 if (ArrayUtils.contains(mHints, hint)) { in hasAnyHints()
/frameworks/base/core/java/android/view/inputmethod/
DExtractedText.java96 public CharSequence hint; field in ExtractedText
112 TextUtils.writeToParcel(hint, dest, flags); in writeToParcel()
129 res.hint = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
/frameworks/base/core/tests/coretests/src/android/widget/
DEditorCursorTest.java194 private void setEditTextProperties(final String text, final String hint, in setEditTextProperties() argument
199 if (hint != null) mEditText.setHint(hint); in setEditTextProperties()
216 private void setEditTextHint(final String hint, final int textDirection, final int selection) in setEditTextHint() argument
218 setEditTextProperties(null, hint, textDirection, selection); in setEditTextHint()
/frameworks/minikin/include/minikin/
DMeasuredText.h209 MeasuredText* hint);
213 bool computeHyphenation, bool computeLayout, MeasuredText* hint) in MeasuredText() argument
215 measure(textBuf, computeHyphenation, computeLayout, hint); in MeasuredText()
238 bool computeLayout, MeasuredText* hint) { in build() argument
241 textBuf, std::move(mRuns), computeHyphenation, computeLayout, hint)); in build()
/frameworks/base/core/tests/coretests/src/android/app/assist/
DAssistStructureTest.java268 String hint = hints[0]; in assertBigView() local
270 assertThat(hint.length()).isEqualTo(BIG_VIEW_SIZE); in assertBigView()
271 assertThat(hint.charAt(0)).isEqualTo(BIG_VIEW_CHAR); in assertBigView()
272 assertThat(hint.charAt(BIG_VIEW_SIZE - 1)).isEqualTo(BIG_VIEW_CHAR); in assertBigView()
/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java115 for (int hint = 0; hint < stats.size(); hint++) { in testFindIndexHinted()
117 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_YES, hint)); in testFindIndexHinted()
119 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, hint)); in testFindIndexHinted()
121 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_YES, hint)); in testFindIndexHinted()
123 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_NO, hint)); in testFindIndexHinted()
125 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_YES, hint)); in testFindIndexHinted()
127 METERED_YES, ROAMING_NO, DEFAULT_NETWORK_NO, hint)); in testFindIndexHinted()
129 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_YES, hint)); in testFindIndexHinted()
131 METERED_YES, ROAMING_YES, DEFAULT_NETWORK_NO, hint)); in testFindIndexHinted()
133 METERED_NO, ROAMING_NO, DEFAULT_NETWORK_YES, hint)); in testFindIndexHinted()
[all …]
/frameworks/base/core/java/android/widget/
DAutoCompleteTextView.java346 public void setCompletionHint(CharSequence hint) { in setCompletionHint() argument
347 mHintText = hint; in setCompletionHint()
348 if (hint != null) { in setCompletionHint()
356 mHintView.setText(hint); in setCompletionHint()
1159 protected void onDisplayHint(int hint) { in onDisplayHint() argument
1160 super.onDisplayHint(hint); in onDisplayHint()
1161 switch (hint) { in onDisplayHint()
DSearchView.java605 public void setQueryHint(@Nullable CharSequence hint) { in setQueryHint() argument
606 mQueryHint = hint; in setQueryHint()
630 final CharSequence hint; in getQueryHint() local
632 hint = mQueryHint; in getQueryHint()
634 hint = getContext().getText(mSearchable.getHintId()); in getQueryHint()
636 hint = mDefaultQueryHint; in getQueryHint()
638 return hint; in getQueryHint()
1212 final CharSequence hint = getQueryHint(); in updateQueryHint() local
1213 mSearchSrcTextView.setHint(getDecoratedHint(hint == null ? "" : hint)); in updateQueryHint()
/frameworks/base/core/java/android/view/
DViewStructure.java228 public abstract void setHint(CharSequence hint); in setHint() argument
340 public abstract void setAutofillHints(@Nullable String[] hint); in setAutofillHints() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DNotificationChannels.java71 final NotificationChannel hint = new NotificationChannel( in createAll() local
85 hint in createAll()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DEventLogTags.logtags32 ## 3: TAP_UNLOCK_HINT Tapped in empty area, causes unlock hint.
36 ## 7: TAP_NOTIFICATION_ACTIVATE Tapped a lockscreen notification, causes "tap again" hint.
/frameworks/base/core/java/android/app/
DISearchManager.aidl35 boolean launchLegacyAssist(String hint, int userHandle, in Bundle args); in launchLegacyAssist() argument
DSearchManager.java1001 public boolean launchLegacyAssist(String hint, int userHandle, Bundle args) { in launchLegacyAssist() argument
1006 return mService.launchLegacyAssist(hint, userHandle, args); in launchLegacyAssist()
/frameworks/minikin/libs/minikin/
DMeasuredText.cpp128 bool computeLayout, MeasuredText* hint) { in measure() argument
137 run->getMetrics(textBuf, &widths, hint ? &hint->layoutPieces : nullptr, piecesOut); in measure()
/frameworks/native/libs/gui/include/gui/
DBufferHubConsumer.h84 status_t setTransformHint(uint32_t hint) override;
DBufferQueueConsumer.h140 virtual status_t setTransformHint(uint32_t hint);
DIGraphicBufferConsumer.h257 virtual status_t setTransformHint(uint32_t hint) = 0;
DConsumerBase.h96 status_t setTransformHint(uint32_t hint);
/frameworks/native/libs/gui/
DFrameTimestamps.cpp180 auto hint = mFrames.begin() + *iHint; in getFrame() local
182 hint, mFrames.end(), FrameNumberEqual(frameNumber)); in getFrame()
185 mFrames.begin(), hint, FrameNumberEqual(frameNumber)); in getFrame()
186 if (frame == hint) { in getFrame()
DIGraphicBufferConsumer.cpp145 status_t setTransformHint(uint32_t hint) override { in setTransformHint() argument
147 return callRemote<Signature>(Tag::SET_TRANSFORM_HINT, hint); in setTransformHint()
/frameworks/base/services/core/java/com/android/server/search/
DSearchManagerService.java302 public boolean launchLegacyAssist(String hint, int userHandle, Bundle args) { in launchLegacyAssist() argument
318 return am.launchAssistIntent(intent, ActivityManager.ASSIST_CONTEXT_BASIC, hint, in launchLegacyAssist()
/frameworks/base/core/java/android/text/
DMeasuredParagraph.java395 @Nullable MeasuredParagraph hint, in buildForStaticLayout() argument
400 if (hint == null) { in buildForStaticLayout()
405 builder = new MeasuredText.Builder(hint.mMeasuredText); in buildForStaticLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentView.java661 int hint; in getMinContentHeightHint() local
663 hint = mAmbientChild.getHeight(); in getMinContentHeightHint()
665 hint = getViewHeight(VISIBLE_TYPE_HEADSUP); in getMinContentHeightHint()
667 hint = getViewHeight(VISIBLE_TYPE_EXPANDED); in getMinContentHeightHint()
669 hint = getViewHeight(VISIBLE_TYPE_CONTRACTED) in getMinContentHeightHint()
675 hint = Math.min(hint, getViewHeight(VISIBLE_TYPE_EXPANDED)); in getMinContentHeightHint()
677 return hint; in getMinContentHeightHint()

123