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

/frameworks/base/voip/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/widget/
H A DAutoCompleteTextView.java215 * <p>Sets the optional hint text that is displayed at the bottom of the
219 * @param hint the text to be displayed to the user
225 public void setCompletionHint(CharSequence hint) { argument
226 mHintText = hint;
227 if (hint != null) {
235 mHintView.setText(hint);
244 * Gets the optional hint text displayed at the bottom of the the matching list.
246 * @return The hint text, if any
976 protected void onDisplayHint(int hint) { argument
977 super.onDisplayHint(hint);
[all...]
H A DSearchView.java525 * Sets the hint text to display in the query text field. This overrides any hint specified
528 * @param hint the hint text to display
532 public void setQueryHint(CharSequence hint) { argument
533 mQueryHint = hint;
538 * Gets the hint text to display in the query text field.
539 * @return the query hint text, if specified, null otherwise.
547 CharSequence hint = null;
550 hint
[all...]
H A DDialerFilter.java55 mHint = (EditText) findViewById(com.android.internal.R.id.hint);
57 throw new IllegalStateException("DialerFilter must have a child EditText named hint");
H A DAbsListView.java630 * we saw it. Used to hint where to draw edge glows.
637 * we saw it. Used to hint where to draw edge glows.
5465 protected void onDisplayHint(int hint) { argument
5466 super.onDisplayHint(hint);
5467 switch (hint) {
5479 mPopupHidden = hint == INVISIBLE;
5891 * When set to a non-zero value, the cache color hint indicates that this list is always drawn
5895 * single color. This hint will not affect any existing background drawable set on this view (
5912 * When set to a non-zero value, the cache color hint indicates that this list is always drawn
5915 * @return The cache color hint
[all...]
H A DTextView.java555 CharSequence hint = null;
694 hint = a.getText(attr);
1078 if (hint != null) setHint(hint);
1315 * @return the Layout that is currently being used to display the hint text.
2151 * Sets the text color, size, style, hint color, and highlight color
2563 * Sets the color of the hint text for all the states (disabled, focussed, selected...) of this
2579 * Sets the color of the hint text.
2594 * @return the color of the hint text, for the different states of this TextView.
2608 * <p>Return the current color selected to paint the hint tex
3635 setHint(CharSequence hint) argument
[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/native/include/gui/
H A DBufferQueue.h258 status_t setTransformHint(uint32_t hint);
H A DSurfaceTexture.h190 status_t setTransformHint(uint32_t 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/native/libs/gui/
H A DBufferQueue.cpp176 status_t BufferQueue::setTransformHint(uint32_t hint) { argument
178 mTransformHint = hint;
H A DSurfaceTexture.cpp763 status_t SurfaceTexture::setTransformHint(uint32_t hint) { argument
765 return mBufferQueue->setTransformHint(hint);
/frameworks/base/core/java/android/hardware/
H A DCamera.java1634 private static final String KEY_RECORDING_HINT = "recording-hint";
3387 * Sets recording mode hint. This tells the camera that the intent of
3391 * Camera.PictureCallback, Camera.PictureCallback)}. Using this hint can
3397 * The app can still call takePicture() when the hint is true or call
3398 * MediaRecorder.start() when the hint is false. But the performance may
3401 * @param hint true if the apps intend to record videos using
3404 public void setRecordingHint(boolean hint) { argument
3405 set(KEY_RECORDING_HINT, hint ? TRUE : FALSE);
/frameworks/base/core/java/android/view/
H A DViewGroup.java976 public void dispatchDisplayHint(int hint) { argument
977 super.dispatchDisplayHint(hint);
981 children[i].dispatchDisplayHint(hint);
2349 * to give a finer grained hint about where focus is coming from. May be null
2350 * if there is no hint.
H A DView.java6408 * descendants and give it a hint about what direction focus is heading.
6430 * is coming from. The rectangle can help give larger views a finer grained hint
6452 * to give a finer grained hint about where focus is coming from. May be null
6453 * if there is no hint.
7392 * Dispatch a hint about whether this view is displayed. For instance, when
7393 * a View moves out of the screen, it might receives a display hint indicating
7394 * the view is not displayed. Applications should not <em>rely</em> on this hint
7397 * @param hint A hint about whether or not this view is displayed:
7400 public void dispatchDisplayHint(int hint) { argument
7413 onDisplayHint(int hint) argument
[all...]

Completed in 265 milliseconds