Searched refs:hint (Results 1 - 25 of 33) 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.java991 public boolean launchLegacyAssist(String hint, int userHandle, Bundle args) { argument
996 return mService.launchLegacyAssist(hint, userHandle, args);
/frameworks/support/v4/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
194 public void setQueryHint(View searchView, CharSequence hint) { argument
195 SearchViewCompatHoneycomb.setQueryHint(searchView, hint);
425 * Sets the hint text to display in the query text field. This overrides any hint specified
429 * @param hint the hint text to display
431 public static void setQueryHint(View searchView, CharSequence hint) { argument
432 IMPL.setQueryHint(searchView, hint);
[all...]
/frameworks/support/v4/honeycomb/android/support/v4/widget/
H A DSearchViewCompatHoneycomb.java91 public static void setQueryHint(View searchView, CharSequence hint) { argument
92 ((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/core/java/android/widget/
H A DAutoCompleteTextView.java211 * <p>Sets the optional hint text that is displayed at the bottom of the
215 * @param hint the text to be displayed to the user
221 public void setCompletionHint(CharSequence hint) { argument
222 mHintText = hint;
223 if (hint != null) {
231 mHintView.setText(hint);
240 * Gets the optional hint text displayed at the bottom of the the matching list.
242 * @return The hint text, if any
995 protected void onDisplayHint(int hint) { argument
996 super.onDisplayHint(hint);
[all...]
H A DSearchView.java113 /** Drawable used as an EditText hint. */
294 // Prior to L MR1, the search hint icon defaulted to searchIcon. If the
574 * Sets the hint text to display in the query text field. This overrides
575 * any hint specified in the {@link SearchableInfo}.
577 * This value may be specified as an empty string to prevent any query hint
580 * @param hint the hint text to display or {@code null} to clear
583 public void setQueryHint(@Nullable CharSequence hint) { argument
584 mQueryHint = hint;
589 * 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");
H A DTextView.java824 CharSequence hint = null;
969 hint = a.getText(attr);
1402 if (hint != null) setHint(hint);
1683 * @return the Layout that is currently being used to display the hint text.
2742 * Sets the text color, size, style, hint color, and highlight color
3362 * Sets the color of the hint text for all the states (disabled, focussed, selected...) of this
3378 * Sets the color of the hint text.
3393 * @return the color of the hint text, for the different states of this TextView.
3407 * <p>Return the current color selected to paint the hint tex
4437 setHint(CharSequence hint) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/net/
H A DNetworkStatsTest.java66 for (int hint = 0; hint < stats.size(); hint++) {
67 assertEquals(0, stats.findIndexHinted(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, hint));
68 assertEquals(1, stats.findIndexHinted(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, hint));
69 assertEquals(2, stats.findIndexHinted(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, hint));
70 assertEquals(3, stats.findIndexHinted(TEST_IFACE2, 100, SET_FOREGROUND, TAG_NONE, hint));
71 assertEquals(4, stats.findIndexHinted(TEST_IFACE2, 101, SET_DEFAULT, 0xF00D, hint));
72 assertEquals(5, stats.findIndexHinted(TEST_IFACE2, 102, SET_DEFAULT, TAG_NONE, hint));
73 assertEquals(-1, stats.findIndexHinted(TEST_IFACE, 6, SET_DEFAULT, TAG_NONE, hint));
[all...]
/frameworks/native/include/gui/
H A DBufferQueueConsumer.h146 virtual status_t setTransformHint(uint32_t hint);
H A DIGraphicBufferConsumer.h254 virtual status_t setTransformHint(uint32_t hint) = 0;
H A DGLConsumer.h203 status_t setTransformHint(uint32_t hint);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java129 /** Drawable used as an EditText hint. */
599 * Sets the hint text to display in the query text field. This overrides
600 * any hint specified in the {@link SearchableInfo}.
602 * This value may be specified as an empty string to prevent any query hint
605 * @param hint the hint text to display or {@code null} to clear
607 public void setQueryHint(CharSequence hint) { argument
608 mQueryHint = hint;
613 * Returns the hint text that will be displayed in the query text field.
615 * The displayed query hint i
[all...]
/frameworks/native/libs/gui/
H A DBufferQueueConsumer.cpp562 status_t BufferQueueConsumer::setTransformHint(uint32_t hint) { argument
564 BQ_LOGV("setTransformHint: %#x", hint);
566 mCore->mTransformHint = hint;
H A DIGraphicBufferConsumer.cpp249 virtual status_t setTransformHint(uint32_t hint) { argument
252 data.writeUint32(hint);
415 uint32_t hint = data.readUint32(); local
416 status_t result = setTransformHint(hint);
H A DSurface.cpp353 // implementation is reacting to the transform hint coming back from
357 // reacting to the transform hint behind its back). The
412 uint32_t hint = 0; local
413 output.deflate(&mDefaultWidth, &mDefaultHeight, &hint,
416 // Disable transform hint if sticky transform is set.
418 mTransformHint = hint;
671 uint32_t hint = 0; local
672 output.deflate(&mDefaultWidth, &mDefaultHeight, &hint,
675 // Disable transform hint if sticky transform is set.
677 mTransformHint = hint;
[all...]
H A DGLConsumer.cpp1044 status_t GLConsumer::setTransformHint(uint32_t hint) { argument
1046 return mConsumer->setTransformHint(hint);
/frameworks/support/design/src/android/support/design/widget/
H A DTextInputLayout.java51 * when the hint is hidden due to the user inputting text.
143 * Set the typeface to use for the both the expanded and floating hint.
177 // Use the EditText's hint colors if we don't have one set
182 // If we do not have a valid hint, try and retrieve it from the EditText
185 // Clear the EditText's hint as we will display it ourselves
243 * Set the hint to be displayed in the floating label
247 public void setHint(@Nullable CharSequence hint) { argument
248 mHint = hint;
249 mCollapsingTextHelper.setText(hint);
255 * Returns the hint whic
[all...]
/frameworks/base/services/core/java/com/android/server/search/
H A DSearchManagerService.java278 public boolean launchLegacyAssist(String hint, int userHandle, Bundle args) { argument
288 return am.launchAssistIntent(intent, ActivityManager.ASSIST_CONTEXT_BASIC, hint,
/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.java646 private void reportEmmaError(String hint, Exception e) { argument
647 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.
82 versions, it will also be used to provide hint on how to best iterate over
/frameworks/base/core/java/android/hardware/
H A DCamera.java2134 private static final String KEY_RECORDING_HINT = "recording-hint";
3952 * Sets recording mode hint. This tells the camera that the intent of
3956 * Camera.PictureCallback, Camera.PictureCallback)}. Using this hint can
3962 * The app can still call takePicture() when the hint is true or call
3963 * MediaRecorder.start() when the hint is false. But the performance may
3966 * @param hint true if the apps intend to record videos using
3969 public void setRecordingHint(boolean hint) { argument
3970 set(KEY_RECORDING_HINT, hint ? TRUE : FALSE);

Completed in 6558 milliseconds

12