Searched defs:hint (Results 1 - 25 of 32) sorted by relevance

12

/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/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/services/core/java/com/android/server/search/
H A DSearchManagerService.java286 public boolean launchLegacyAssist(String hint, int userHandle, Bundle args) { argument
296 return am.launchAssistIntent(intent, ActivityManager.ASSIST_CONTEXT_BASIC, hint,
/frameworks/native/libs/gui/
H A DBufferQueueConsumer.cpp708 status_t BufferQueueConsumer::setTransformHint(uint32_t hint) { argument
710 BQ_LOGV("setTransformHint: %#x", hint);
712 mCore->mTransformHint = hint;
H A DIGraphicBufferConsumer.cpp238 virtual status_t setTransformHint(uint32_t hint) { argument
241 data.writeUint32(hint);
398 uint32_t hint = data.readUint32(); local
399 status_t result = setTransformHint(hint);
H A DGLConsumer.cpp1102 status_t GLConsumer::setTransformHint(uint32_t hint) { argument
1108 return mConsumer->setTransformHint(hint);
H A DSurface.cpp412 // implementation is reacting to the transform hint coming back from
416 // reacting to the transform hint behind its back). The
472 uint32_t hint = 0; local
473 output.deflate(&mDefaultWidth, &mDefaultHeight, &hint,
476 // Disable transform hint if sticky transform is set.
478 mTransformHint = hint;
753 uint32_t hint = 0; local
754 output.deflate(&mDefaultWidth, &mDefaultHeight, &hint,
757 // Disable transform hint if sticky transform is set.
759 mTransformHint = hint;
[all...]
/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/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}.
H A DViewGroup.java1229 public void dispatchDisplayHint(int hint) { argument
1230 super.dispatchDisplayHint(hint);
1234 children[i].dispatchDisplayHint(hint);
2888 * to give a finer grained hint about where focus is coming from. May be null
2889 * if there is no hint.
/frameworks/base/core/java/android/app/
H A DSearchManager.java985 public boolean launchLegacyAssist(String hint, int userHandle, Bundle args) { argument
990 return mService.launchLegacyAssist(hint, userHandle, args);
H A DActivityManagerNative.java2447 String hint = data.readString();
2450 boolean res = launchAssistIntent(intent, requestType, hint, userHandle, args);
6167 public boolean launchAssistIntent(Intent intent, int requestType, String hint, int userHandle, argument
6174 data.writeString(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/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...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2.cpp799 android_color_transform_t hint)
802 matrix.asArray(), static_cast<int32_t>(hint));
798 setColorTransform(const android::mat4& matrix, android_color_transform_t hint) argument
H A DHWC2On1Adapter.h217 HWC2::Error setColorTransform(android_color_transform_t hint);
427 // We intentionally throw away the matrix, because if the hint is
430 auto hint = static_cast<android_color_transform_t>(intHint); local
432 hint);
H A DHWC2On1Adapter.cpp929 Error HWC2On1Adapter::Display::setColorTransform(android_color_transform_t hint) argument
934 static_cast<int32_t>(hint));
935 mHasColorTransform = (hint != HAL_COLOR_TRANSFORM_IDENTITY);
/frameworks/support/design/src/android/support/design/widget/
H A DTextInputLayout.java64 * when the hint is hidden due to the user inputting text.
82 * android:hint=&quot;@string/form_username&quot;/&gt;
206 * Set the typeface to use for both the expanded and floating hint.
215 * Returns the typeface used for both the expanded and floating hint.
262 // Use the EditText's hint colors if we don't have one set
267 // If we do not have a valid hint, try and retrieve it from the EditText, if enabled
270 // Clear the EditText's hint as we will display it ourselves
340 * Set the hint to be displayed in the floating label, if enabled.
346 public void setHint(@Nullable CharSequence hint) { argument
348 setHintInternal(hint);
353 setHintInternal(CharSequence hint) argument
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseStaggeredGridLayoutManagerTest.java687 String layoutToString(String hint) { argument
689 sb.append("LAYOUT POSITIONS AND INDICES ").append(hint).append("\n");
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java144 /** Drawable used as an EditText hint. */
622 * Sets the hint text to display in the query text field. This overrides
623 * any hint specified in the {@link SearchableInfo}.
625 * This value may be specified as an empty string to prevent any query hint
628 * @param hint the hint text to display or {@code null} to clear
631 public void setQueryHint(@Nullable CharSequence hint) { argument
632 mQueryHint = hint;
637 * Returns the hint text that will be displayed in the query text field.
639 * The displayed query hint i
[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/services/core/java/com/android/server/notification/
H A DNotificationManagerService.java1177 final int hint = mListenersDisablingEffects.keyAt(i);
1181 if (hints == 0 || (hint & hints) == hint) {
1203 private void addDisabledHint(ManagedServiceInfo info, int hint) { argument
1204 if (mListenersDisablingEffects.indexOfKey(hint) < 0) {
1205 mListenersDisablingEffects.put(hint, new ArraySet<ManagedServiceInfo>());
1208 ArraySet<ManagedServiceInfo> hintListeners = mListenersDisablingEffects.get(hint);
1215 int hint = mListenersDisablingEffects.keyAt(i);
1219 hints |= hint;
2424 final int hint
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java2140 private static final String KEY_RECORDING_HINT = "recording-hint";
3958 * Sets recording mode hint. This tells the camera that the intent of
3962 * Camera.PictureCallback, Camera.PictureCallback)}. Using this hint can
3968 * The app can still call takePicture() when the hint is true or call
3969 * MediaRecorder.start() when the hint is false. But the performance may
3972 * @param hint true if the apps intend to record videos using
3975 public void setRecordingHint(boolean hint) { argument
3976 set(KEY_RECORDING_HINT, hint ? TRUE : FALSE);
/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);
2164 private void readImageFileDirectory(ByteOrderAwarenessDataInputStream dataInputStream, int hint) argument
2188 final ExifTag tag = (ExifTag) sExifTagMapsForReading[hint]
[all...]

Completed in 4842 milliseconds

12