Searched refs:hint (Results 1 - 25 of 43) 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/
H A DISearchManager.aidl34 boolean launchLegacyAssist(String hint, int userHandle, in Bundle args);
H A DSearchManager.java985 public boolean launchLegacyAssist(String hint, int userHandle, Bundle args) { argument
990 return mService.launchLegacyAssist(hint, userHandle, args);
/frameworks/base/core/tests/coretests/src/android/widget/
H A DEditorCursorTest.java41 private final static String LTR_HINT = "hint";
118 /* Tests for cursor positioning with hint */
195 private void setEditTextProperties(final String text, final String hint, argument
202 if (hint != null) mEditText.setHint(hint);
225 private void setEditTextHint(final String hint, final int textDirection, final int selection) { argument
226 setEditTextProperties(null, hint, textDirection, selection);
/frameworks/support/compat/java/android/support/v4/widget/
H A DSearchViewCompat.java43 void setQueryHint(View searchView, CharSequence hint); argument
100 public void setQueryHint(View searchView, CharSequence hint) { argument
200 public void setQueryHint(View searchView, CharSequence hint) { argument
202 SearchViewCompatHoneycomb.setQueryHint(searchView, hint);
454 * Sets the hint text to display in the query text field. This overrides any hint specified
458 * @param hint the hint text to display
460 public static void setQueryHint(View searchView, CharSequence hint) { argument
461 IMPL.setQueryHint(searchView, hint);
[all...]
/frameworks/support/compat/honeycomb/android/support/v4/widget/
H A DSearchViewCompatHoneycomb.java101 public static void setQueryHint(View searchView, CharSequence hint) { argument
102 ((SearchView) searchView).setQueryHint(hint);
/frameworks/base/core/java/android/view/
H A DViewStructure.java192 * Set optional hint text associated with this view; this is for example the text that is
195 public abstract void setHint(CharSequence hint); argument
213 * Retrieve the last hint set by {@link #setHint}.
/frameworks/base/media/java/android/media/
H A DExifInterface.java1064 for (int hint = 0; hint < EXIF_TAGS.length; ++hint) {
1065 sExifTagMapsForReading[hint] = new HashMap();
1066 sExifTagMapsForWriting[hint] = new HashMap();
1067 for (ExifTag tag : EXIF_TAGS[hint]) {
1068 sExifTagMapsForReading[hint].put(tag.number, tag);
1069 sExifTagMapsForWriting[hint].put(tag.name, tag);
2169 private void readImageFileDirectory(ByteOrderAwarenessDataInputStream dataInputStream, int hint) argument
2193 final ExifTag tag = (ExifTag) sExifTagMapsForReading[hint]
[all...]
/frameworks/base/core/java/android/widget/
H A DAutoCompleteTextView.java271 // Completion hint must be set after specifying hint layout.
320 * <p>Sets the optional hint text that is displayed at the bottom of the
324 * @param hint the text to be displayed to the user
330 public void setCompletionHint(CharSequence hint) { argument
331 mHintText = hint;
332 if (hint != null) {
340 mHintView.setText(hint);
349 * Gets the optional hint text displayed at the bottom of the the matching list.
351 * @return The hint tex
1104 onDisplayHint(int hint) argument
[all...]
H A DSearchView.java126 /** Drawable used as an EditText hint. */
306 // Prior to L MR1, the search hint icon defaulted to searchIcon. If the
586 * Sets the hint text to display in the query text field. This overrides
587 * any hint specified in the {@link SearchableInfo}.
589 * This value may be specified as an empty string to prevent any query hint
592 * @param hint the hint text to display or {@code null} to clear
595 public void setQueryHint(@Nullable CharSequence hint) { argument
596 mQueryHint = hint;
601 * Returns the hint tex
[all...]
H A DDialerFilter.java53 mHint = (EditText) findViewById(com.android.internal.R.id.hint);
55 throw new IllegalStateException("DialerFilter must have a child EditText named hint");
/frameworks/native/include/gui/
H A DBufferQueueConsumer.h134 virtual status_t setTransformHint(uint32_t hint);
H A DIGraphicBufferConsumer.h264 virtual status_t setTransformHint(uint32_t hint) = 0;
H A DGLConsumer.h204 status_t setTransformHint(uint32_t hint);
/frameworks/base/core/tests/coretests/src/android/net/
H A DNetworkStatsTest.java83 for (int hint = 0; hint < stats.size(); hint++) {
85 ROAMING_NO, hint));
87 ROAMING_NO, hint));
89 ROAMING_NO, hint));
91 ROAMING_NO, hint));
93 ROAMING_NO, hint));
95 ROAMING_NO, hint));
97 ROAMING_YES, hint));
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationContentView.java471 int hint;
473 hint = mHeadsUpChild.getHeight();
475 hint = mExpandedChild.getHeight();
477 hint = mContractedChild.getHeight() + mContext.getResources().getDimensionPixelSize(
482 hint = Math.min(hint, mExpandedChild.getHeight());
484 return hint;
/frameworks/native/libs/gui/
H A DIGraphicBufferConsumer.cpp240 virtual status_t setTransformHint(uint32_t hint) { argument
243 data.writeUint32(hint);
440 uint32_t hint = data.readUint32(); local
441 status_t result = setTransformHint(hint);
H A DBufferQueueConsumer.cpp709 status_t BufferQueueConsumer::setTransformHint(uint32_t hint) { argument
711 BQ_LOGV("setTransformHint: %#x", hint);
713 mCore->mTransformHint = hint;
H A DSurface.cpp449 // implementation is reacting to the transform hint coming back from
453 // reacting to the transform hint behind its back). The
511 uint32_t hint = 0; local
512 output.deflate(&mDefaultWidth, &mDefaultHeight, &hint,
515 // Disable transform hint if sticky transform is set.
517 mTransformHint = hint;
823 uint32_t hint = 0; local
824 output.deflate(&mDefaultWidth, &mDefaultHeight, &hint,
827 // Disable transform hint if sticky transform is set.
829 mTransformHint = hint;
[all...]
/frameworks/base/services/core/java/com/android/server/search/
H A DSearchManagerService.java300 public boolean launchLegacyAssist(String hint, int userHandle, Bundle args) { argument
310 return am.launchAssistIntent(intent, ActivityManager.ASSIST_CONTEXT_BASIC, hint,
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java145 /** Drawable used as an EditText hint. */
625 * Sets the hint text to display in the query text field. This overrides
626 * any hint specified in the {@link SearchableInfo}.
628 * This value may be specified as an empty string to prevent any query hint
631 * @param hint the hint text to display or {@code null} to clear
634 public void setQueryHint(@Nullable CharSequence hint) { argument
635 mQueryHint = hint;
640 * Returns the hint text that will be displayed in the query text field.
642 * The displayed query hint i
[all...]
/frameworks/support/design/src/android/support/design/widget/
H A DTextInputLayout.java74 * when the hint is hidden due to the user inputting text.
92 * android:hint=&quot;@string/form_username&quot;/&gt;
271 * Set the typeface to use for both the expanded and floating hint.
280 * Returns the typeface used for both the expanded and floating hint.
332 // Use the EditText's hint colors if we don't have one set
337 // If we do not have a valid hint, try and retrieve it from the EditText, if enabled
340 // Clear the EditText's hint as we will display it ourselves
417 * Set the hint to be displayed in the floating label, if enabled.
423 public void setHint(@Nullable CharSequence hint) { argument
425 setHintInternal(hint);
430 setHintInternal(CharSequence hint) argument
[all...]
/frameworks/base/core/java/android/app/assist/
H A DAssistStructure.java1023 * Return additional hint text associated with the node; this is typically used with
1228 public void setHint(CharSequence hint) { argument
1229 getNodeText().mHint = hint != null ? hint.toString() : null;
1407 String hint = node.getHint();
1408 if (hint != null) {
1409 Log.i(TAG, prefix + " Hint: " + hint);
/frameworks/base/test-runner/src/android/test/
H A DInstrumentationTestRunner.java651 private void reportEmmaError(String hint, Exception e) { argument
652 String msg = "Failed to generate emma coverage. " + hint;
/frameworks/rs/api/
H A Drs_for_each.spec39 allocations. This is a hint only. Implementations may not follow the suggestion.
79 versions, it will also be used to provide hint on how to best iterate over

Completed in 1356 milliseconds

12