Home
last modified time | relevance | path

Searched refs:hint (Results 1 – 25 of 53) 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/tests/coretests/src/android/widget/
DEditorCursorTest.java192 private void setEditTextProperties(final String text, final String hint, in setEditTextProperties() argument
197 if (hint != null) mEditText.setHint(hint); in setEditTextProperties()
214 private void setEditTextHint(final String hint, final int textDirection, final int selection) in setEditTextHint() argument
216 setEditTextProperties(null, hint, textDirection, selection); in setEditTextHint()
/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java97 for (int hint = 0; hint < stats.size(); hint++) { in testFindIndexHinted()
99 METERED_NO, ROAMING_NO, hint)); in testFindIndexHinted()
101 METERED_NO, ROAMING_NO, hint)); in testFindIndexHinted()
103 METERED_NO, ROAMING_NO, hint)); in testFindIndexHinted()
105 METERED_NO, ROAMING_NO, hint)); in testFindIndexHinted()
107 METERED_NO, ROAMING_NO, hint)); in testFindIndexHinted()
109 METERED_YES, ROAMING_NO, hint)); in testFindIndexHinted()
111 METERED_NO, ROAMING_NO, hint)); in testFindIndexHinted()
113 METERED_YES, ROAMING_YES, hint)); in testFindIndexHinted()
115 METERED_NO, ROAMING_NO, hint)); in testFindIndexHinted()
/frameworks/support/design/tests/src/android/support/design/testutils/
DViewStructureImpl.java39 public void setHint(CharSequence hint) { in setHint() argument
40 mHint = hint; in setHint()
243 public void setAutofillHints(String[] hint) { in setAutofillHints() argument
/frameworks/base/core/java/android/widget/
DAutoCompleteTextView.java332 public void setCompletionHint(CharSequence hint) { in setCompletionHint() argument
333 mHintText = hint; in setCompletionHint()
334 if (hint != null) { in setCompletionHint()
342 mHintView.setText(hint); in setCompletionHint()
1106 protected void onDisplayHint(int hint) { in onDisplayHint() argument
1107 super.onDisplayHint(hint); in onDisplayHint()
1108 switch (hint) { in onDisplayHint()
DSearchView.java582 public void setQueryHint(@Nullable CharSequence hint) { in setQueryHint() argument
583 mQueryHint = hint; in setQueryHint()
606 final CharSequence hint; in getQueryHint() local
608 hint = mQueryHint; in getQueryHint()
610 hint = getContext().getText(mSearchable.getHintId()); in getQueryHint()
612 hint = mDefaultQueryHint; in getQueryHint()
614 return hint; in getQueryHint()
1170 final CharSequence hint = getQueryHint(); in updateQueryHint() local
1171 mSearchSrcTextView.setHint(getDecoratedHint(hint == null ? "" : hint)); in updateQueryHint()
/frameworks/base/core/java/android/view/
DViewStructure.java210 public abstract void setHint(CharSequence hint); in setHint() argument
322 public abstract void setAutofillHints(@Nullable String[] hint); in setAutofillHints() argument
/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.aidl34 boolean launchLegacyAssist(String hint, int userHandle, in Bundle args); in launchLegacyAssist() argument
DSearchManager.java983 public boolean launchLegacyAssist(String hint, int userHandle, Bundle args) { in launchLegacyAssist() argument
988 return mService.launchLegacyAssist(hint, userHandle, args); in launchLegacyAssist()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java591 public void setQueryHint(@Nullable CharSequence hint) { in setQueryHint() argument
592 mQueryHint = hint; in setQueryHint()
616 final CharSequence hint; in getQueryHint() local
618 hint = mQueryHint; in getQueryHint()
620 hint = getContext().getText(mSearchable.getHintId()); in getQueryHint()
622 hint = mDefaultQueryHint; in getQueryHint()
624 return hint; in getQueryHint()
1100 final CharSequence hint = getQueryHint(); in updateQueryHint() local
1101 mSearchSrcTextView.setHint(getDecoratedHint(hint == null ? "" : hint)); in updateQueryHint()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationContentView.java560 int hint; in getMinContentHeightHint() local
562 hint = mAmbientChild.getHeight(); in getMinContentHeightHint()
565 hint = mAmbientSingleLineChild.getHeight(); in getMinContentHeightHint()
567 hint = mHeadsUpChild.getHeight(); in getMinContentHeightHint()
569 hint = mExpandedChild.getHeight(); in getMinContentHeightHint()
571 hint = mContractedChild.getHeight() + mContext.getResources().getDimensionPixelSize( in getMinContentHeightHint()
576 hint = Math.min(hint, mExpandedChild.getHeight()); in getMinContentHeightHint()
578 return hint; in getMinContentHeightHint()
/frameworks/support/design/src/android/support/design/widget/
DTextInputLayout.java327 final CharSequence hint = mEditText.getHint(); in dispatchProvideAutofillStructure() local
332 mEditText.setHint(hint); in dispatchProvideAutofillStructure()
481 public void setHint(@Nullable CharSequence hint) { in setHint() argument
483 setHintInternal(hint); in setHint()
488 private void setHintInternal(CharSequence hint) { in setHintInternal() argument
489 mHint = hint; in setHintInternal()
490 mCollapsingTextHelper.setText(hint); in setHintInternal()
/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()
DBufferQueueConsumer.cpp723 status_t BufferQueueConsumer::setTransformHint(uint32_t hint) { in setTransformHint() argument
725 BQ_LOGV("setTransformHint: %#x", hint); in setTransformHint()
727 mCore->mTransformHint = hint; in setTransformHint()
/frameworks/native/libs/gui/include/gui/
DBufferQueueConsumer.h140 virtual status_t setTransformHint(uint32_t hint);
DIGraphicBufferConsumer.h257 virtual status_t setTransformHint(uint32_t hint) = 0;
DGLConsumer.h214 status_t setTransformHint(uint32_t hint);
/frameworks/base/services/core/java/com/android/server/search/
DSearchManagerService.java300 public boolean launchLegacyAssist(String hint, int userHandle, Bundle args) { in launchLegacyAssist() argument
316 return am.launchAssistIntent(intent, ActivityManager.ASSIST_CONTEXT_BASIC, hint, in launchLegacyAssist()
/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.h164 void SetColorTransform(const float* matrix, int32_t hint);
243 int32_t hint) override;
Dvr_hwc.cpp222 void HwcDisplay::SetColorTransform(const float* matrix, int32_t hint) { in SetColorTransform() argument
223 color_transform_hint_ = hint; in SetColorTransform()
465 int32_t hint) { in setColorTransform() argument
471 display_ptr->SetColorTransform(matrix, hint); in setColorTransform()
/frameworks/native/libs/hwc2on1adapter/include/hwc2on1adapter/
DHWC2On1Adapter.h237 HWC2::Error setColorTransform(android_color_transform_t hint);
498 auto hint = static_cast<android_color_transform_t>(intHint); in setColorTransformHook() local
500 hint); in setColorTransformHook()
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java1624 public void setHint(CharSequence hint) { in setHint() argument
1625 getNodeText().mHint = hint != null ? hint.toString() : null; in setHint()
2019 String hint = node.getHint(); in dump() local
2020 if (hint != null) { in dump()
2021 Log.i(TAG, prefix + " Hint: " + hint); in dump()

123