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

12

/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/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/base/core/java/android/app/
H A DISearchManager.aidl34 boolean launchLegacyAssist(String hint, int userHandle, in Bundle args);
H A DSearchManager.java983 public boolean launchLegacyAssist(String hint, int userHandle, Bundle args) { argument
988 return mService.launchLegacyAssist(hint, userHandle, args);
/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/support/design/tests/src/android/support/design/testutils/
H A DViewStructureImpl.java30 * <p>Currently supports only {@code hint}, {@code className}, and child-related methods.
39 public void setHint(CharSequence hint) { argument
40 mHint = hint;
243 public void setAutofillHints(String[] hint) { argument
/frameworks/base/core/java/android/view/
H A DViewStructure.java207 * Set optional hint text associated with this view; this is for example the text that is
210 public abstract void setHint(CharSequence hint); argument
228 * Retrieve the last hint set by {@link #setHint}.
322 public abstract void setAutofillHints(@Nullable String[] hint); argument
/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.java97 for (int hint = 0; hint < stats.size(); hint++) {
99 METERED_NO, ROAMING_NO, hint));
101 METERED_NO, ROAMING_NO, hint));
103 METERED_NO, ROAMING_NO, hint));
105 METERED_NO, ROAMING_NO, hint));
107 METERED_NO, ROAMING_NO, hint));
109 METERED_YES, ROAMING_NO, hint));
111 METERED_NO, ROAMING_NO, hint));
[all...]
/frameworks/native/include/gui/
H A DBufferQueueConsumer.h140 virtual status_t setTransformHint(uint32_t hint);
H A DIGraphicBufferConsumer.h257 virtual status_t setTransformHint(uint32_t hint) = 0;
H A DGLConsumer.h214 status_t setTransformHint(uint32_t hint);
/frameworks/native/libs/gui/include/gui/
H A DBufferQueueConsumer.h140 virtual status_t setTransformHint(uint32_t hint);
H A DIGraphicBufferConsumer.h257 virtual status_t setTransformHint(uint32_t hint) = 0;
H A DGLConsumer.h214 status_t setTransformHint(uint32_t hint);
/frameworks/support/design/src/android/support/design/widget/
H A DTextInputLayout.java77 * when the hint is hidden due to the user inputting text.
105 * android:hint=&quot;@string/form_username&quot;/&gt;
291 * Set the typeface to use for the hint and any label views (such as counter and error views).
311 * Returns the typeface used for the hint and any label views (such as counter and error views).
325 // Temporarily sets child's hint to its original value so it is properly set in the
327 final CharSequence hint = mEditText.getHint();
332 mEditText.setHint(hint);
380 // Use the EditText's hint colors if we don't have one set
385 // If we do not have a valid hint, try and retrieve it from the EditText, if enabled
387 // Save the hint s
481 setHint(@ullable CharSequence hint) argument
488 setHintInternal(CharSequence hint) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationContentView.java560 int hint;
562 hint = mAmbientChild.getHeight();
565 hint = mAmbientSingleLineChild.getHeight();
567 hint = mHeadsUpChild.getHeight();
569 hint = mExpandedChild.getHeight();
571 hint = mContractedChild.getHeight() + mContext.getResources().getDimensionPixelSize(
576 hint = Math.min(hint, mExpandedChild.getHeight());
578 return hint;
/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);
H A DBufferQueueConsumer.cpp723 status_t BufferQueueConsumer::setTransformHint(uint32_t hint) { argument
725 BQ_LOGV("setTransformHint: %#x", hint);
727 mCore->mTransformHint = 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,
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java138 /** Drawable used as an EditText hint. */
582 * Sets the hint text to display in the query text field. This overrides
583 * any hint specified in the {@link SearchableInfo}.
585 * This value may be specified as an empty string to prevent any query hint
588 * @param hint the hint text to display or {@code null} to clear
591 public void setQueryHint(@Nullable CharSequence hint) { argument
592 mQueryHint = hint;
597 * Returns the hint text that will be displayed in the query text field.
599 * The displayed query hint i
[all...]
/frameworks/native/services/vr/hardware_composer/impl/
H A Dvr_hwc.h164 void SetColorTransform(const float* matrix, int32_t hint);
243 int32_t hint) override;
H A Dvr_hwc.cpp222 void HwcDisplay::SetColorTransform(const float* matrix, int32_t hint) { argument
223 color_transform_hint_ = hint;
465 int32_t hint) {
471 display_ptr->SetColorTransform(matrix, hint);
464 setColorTransform(Display display, const float* matrix, int32_t hint) argument

Completed in 1022 milliseconds

12