Searched refs:hint (Results 1 - 25 of 28) 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 launchAssistAction(int requestType, String hint, int userHandle);
H A DSearchManager.java997 public boolean launchAssistAction(int requestType, String hint, int userHandle) { argument
1002 return mService.launchAssistAction(requestType, hint, userHandle);
H A DIActivityManager.java423 public boolean launchAssistIntent(Intent intent, int requestType, String hint, int userHandle) argument
H A DActivityManagerNative.java2129 String hint = data.readString();
2131 boolean res = launchAssistIntent(intent, requestType, hint, userHandle);
5119 public boolean launchAssistIntent(Intent intent, int requestType, String hint, int userHandle) argument
5126 data.writeString(hint);
/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/native/include/gui/
H A DBufferQueueConsumer.h140 virtual status_t setTransformHint(uint32_t hint);
H A DIGraphicBufferConsumer.h301 virtual status_t setTransformHint(uint32_t hint) = 0;
H A DGLConsumer.h202 status_t setTransformHint(uint32_t hint);
/frameworks/base/core/java/android/widget/
H A DAutoCompleteTextView.java210 * <p>Sets the optional hint text that is displayed at the bottom of the
214 * @param hint the text to be displayed to the user
220 public void setCompletionHint(CharSequence hint) { argument
221 mHintText = hint;
222 if (hint != null) {
230 mHintView.setText(hint);
239 * Gets the optional hint text displayed at the bottom of the the matching list.
241 * @return The hint text, if any
994 protected void onDisplayHint(int hint) { argument
995 super.onDisplayHint(hint);
[all...]
H A DSearchView.java114 /** Drawable used as an EditText hint. */
293 // Prior to L MR1, the search hint icon defaulted to searchIcon. If the
575 * Sets the hint text to display in the query text field. This overrides any hint specified
578 * @param hint the hint text to display
582 public void setQueryHint(CharSequence hint) { argument
583 mQueryHint = hint;
588 * Gets the hint text to display in the query text field.
589 * @return the query 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.java780 CharSequence hint = null;
917 hint = a.getText(attr);
1321 if (hint != null) setHint(hint);
1560 * @return the Layout that is currently being used to display the hint text.
2488 * Sets the text color, size, style, hint color, and highlight color
3057 * Sets the color of the hint text for all the states (disabled, focussed, selected...) of this
3073 * Sets the color of the hint text.
3088 * @return the color of the hint text, for the different states of this TextView.
3102 * <p>Return the current color selected to paint the hint tex
4147 setHint(CharSequence hint) argument
[all...]
H A DAbsListView.java665 * we saw it. Used to hint where to draw edge glows.
672 * we saw it. Used to hint where to draw edge glows.
5422 protected void onDisplayHint(int hint) { argument
5423 super.onDisplayHint(hint);
5424 switch (hint) {
5436 mPopupHidden = hint == INVISIBLE;
5966 * When set to a non-zero value, the cache color hint indicates that this list is always drawn
5970 * single color. This hint will not affect any existing background drawable set on this view (
5987 * When set to a non-zero value, the cache color hint indicates that this list is always drawn
5990 * @return The cache color hint
[all...]
/frameworks/base/core/tests/coretests/src/android/net/
H A DNetworkStatsTest.java64 for (int hint = 0; hint < stats.size(); hint++) {
65 assertEquals(0, stats.findIndexHinted(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, hint));
66 assertEquals(1, stats.findIndexHinted(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, hint));
67 assertEquals(2, stats.findIndexHinted(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, hint));
68 assertEquals(3, stats.findIndexHinted(TEST_IFACE2, 100, SET_FOREGROUND, TAG_NONE, hint));
69 assertEquals(4, stats.findIndexHinted(TEST_IFACE2, 101, SET_DEFAULT, 0xF00D, hint));
70 assertEquals(5, stats.findIndexHinted(TEST_IFACE2, 102, SET_DEFAULT, TAG_NONE, hint));
71 assertEquals(-1, stats.findIndexHinted(TEST_IFACE, 6, SET_DEFAULT, TAG_NONE, hint));
[all...]
/frameworks/base/services/core/java/com/android/server/search/
H A DSearchManagerService.java268 public boolean launchAssistAction(int requestType, String hint, int userHandle) { argument
278 return am.launchAssistIntent(intent, requestType, hint, userHandle);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java587 * Sets the hint text to display in the query text field. This overrides any hint specified
590 * @param hint the hint text to display
592 public void setQueryHint(CharSequence hint) { argument
593 mQueryHint = hint;
598 * Gets the hint text to display in the query text field.
599 * @return the query hint text, if specified, null otherwise.
605 CharSequence hint = null;
608 hint
[all...]
/frameworks/native/libs/gui/
H A DBufferQueueConsumer.cpp507 status_t BufferQueueConsumer::setTransformHint(uint32_t hint) { argument
509 BQ_LOGV("setTransformHint: %#x", hint);
511 mCore->mTransformHint = hint;
H A DIGraphicBufferConsumer.cpp383 virtual status_t setTransformHint(uint32_t hint) { argument
386 data.writeInt32(hint);
536 uint32_t hint = data.readInt32(); local
537 status_t result = setTransformHint(hint);
H A DSurface.cpp328 uint32_t hint = 0; local
329 output.deflate(&mDefaultWidth, &mDefaultHeight, &hint,
332 // Disable transform hint if sticky transform is set.
334 mTransformHint = hint;
557 uint32_t hint = 0; local
558 output.deflate(&mDefaultWidth, &mDefaultHeight, &hint,
561 // Disable transform hint if sticky transform is set.
563 mTransformHint = hint;
H A DGLConsumer.cpp1018 status_t GLConsumer::setTransformHint(uint32_t hint) { argument
1020 return mConsumer->setTransformHint(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/base/core/java/android/hardware/
H A DCamera.java2132 private static final String KEY_RECORDING_HINT = "recording-hint";
3950 * Sets recording mode hint. This tells the camera that the intent of
3954 * Camera.PictureCallback, Camera.PictureCallback)}. Using this hint can
3960 * The app can still call takePicture() when the hint is true or call
3961 * MediaRecorder.start() when the hint is false. But the performance may
3964 * @param hint true if the apps intend to record videos using
3967 public void setRecordingHint(boolean hint) { argument
3968 set(KEY_RECORDING_HINT, hint ? TRUE : FALSE);
/frameworks/base/core/java/android/view/
H A DViewGroup.java1098 public void dispatchDisplayHint(int hint) { argument
1099 super.dispatchDisplayHint(hint);
1103 children[i].dispatchDisplayHint(hint);
2620 * to give a finer grained hint about where focus is coming from. May be null
2621 * if there is no hint.

Completed in 524 milliseconds

12