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

12

/frameworks/base/core/java/android/view/inputmethod/
H A DExtractedText.java92 * The hint that has been extracted.
96 public CharSequence hint; field in class:ExtractedText
112 TextUtils.writeToParcel(hint, dest, flags);
129 res.hint = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
/frameworks/base/core/tests/coretests/src/android/widget/
H A DEditorCursorTest.java53 private final static String LTR_HINT = "hint";
115 /* Tests for cursor positioning with hint */
192 private void setEditTextProperties(final String text, final String hint, argument
197 if (hint != null) mEditText.setHint(hint);
214 private void setEditTextHint(final String hint, final int textDirection, final int selection) argument
216 setEditTextProperties(null, hint, textDirection, selection);
/frameworks/base/core/java/android/app/usage/
H A DCacheQuotaHint.java109 public Builder(CacheQuotaHint hint) { argument
110 setVolumeUuid(hint.getVolumeUuid());
111 setUid(hint.getUid());
112 setUsageStats(hint.getUsageStats());
113 setQuota(hint.getQuota());
/frameworks/base/core/java/android/app/slice/
H A DSliceItem.java269 * @param hint The hint to check for
270 * @return true if this item contains the given hint
272 public boolean hasHint(@Slice.SliceHint String hint) { argument
273 return ArrayUtils.contains(mHints, hint);
304 for (String hint : hints) {
305 if (!TextUtils.isEmpty(hint) && !ArrayUtils.contains(mHints, hint)) {
317 for (String hint : hints) {
318 if (ArrayUtils.contains(mHints, hint)) {
[all...]
H A DSlice.java93 * normally this should be indicated by adding the hint on the action containing that content.
156 * A hint representing that this item should be used to indicate that there's more
166 * A hint to indicate that the contents of this subslice represent a list of keywords
172 * A hint to indicate that this slice represents an error.
184 * A hint to indicate that this slice represents a permission request for showing
342 public boolean hasHint(@SliceHint String hint) { argument
343 return ArrayUtils.contains(mHints, hint);
/frameworks/base/services/core/java/com/android/server/search/
H A DSearchManagerService.java300 public boolean launchLegacyAssist(String hint, int userHandle, Bundle args) { argument
316 return am.launchAssistIntent(intent, ActivityManager.ASSIST_CONTEXT_BASIC, hint,
/frameworks/support/slices/core/src/main/java/androidx/slice/
H A DSlice.java198 public boolean hasHint(@SliceHint String hint) { argument
199 return ArrayUtils.contains(mHints, hint);
H A DSliceItem.java145 public void addHint(@Slice.SliceHint String hint) { argument
146 mHints = ArrayUtils.appendElement(String.class, mHints, hint);
153 public void removeHint(String hint) { argument
154 ArrayUtils.removeElement(String.class, mHints, hint);
268 * @param hint The hint to check for
269 * @return true if this item contains the given hint
271 public boolean hasHint(@Slice.SliceHint String hint) { argument
272 return ArrayUtils.contains(mHints, hint);
306 for (String hint
[all...]
/frameworks/native/libs/gui/
H A DBufferQueueConsumer.cpp725 status_t BufferQueueConsumer::setTransformHint(uint32_t hint) { argument
727 BQ_LOGV("setTransformHint: %#x", hint);
729 mCore->mTransformHint = hint;
H A DConsumerBase.cpp259 status_t ConsumerBase::setTransformHint(uint32_t hint) { argument
265 return mConsumer->setTransformHint(hint);
H A DFrameTimestamps.cpp180 auto hint = mFrames.begin() + *iHint; local
182 hint, mFrames.end(), FrameNumberEqual(frameNumber));
185 mFrames.begin(), hint, FrameNumberEqual(frameNumber));
186 if (frame == hint) {
/frameworks/base/core/java/android/app/
H A DSearchManager.java991 public boolean launchLegacyAssist(String hint, int userHandle, Bundle args) { argument
996 return mService.launchLegacyAssist(hint, userHandle, args);
H A DActivityOptions.java1534 public void setRotationAnimationHint(int hint) { argument
1535 mRotationAnimationHint = hint;
/frameworks/base/core/java/android/view/
H A DViewStructure.java221 * Set optional hint text associated with this view; this is for example the text that is
224 public abstract void setHint(CharSequence hint); argument
242 * Retrieve the last hint set by {@link #setHint}.
336 public abstract void setAutofillHints(@Nullable String[] hint); argument
/frameworks/base/test-runner/src/android/test/
H A DInstrumentationTestRunner.java655 private void reportEmmaError(String hint, Exception e) { argument
656 String msg = "Failed to generate emma coverage. " + hint;
/frameworks/base/core/java/android/widget/
H A DAutoCompleteTextView.java273 // Completion hint must be set after specifying hint layout.
322 * <p>Sets the optional hint text that is displayed at the bottom of the
326 * @param hint the text to be displayed to the user
332 public void setCompletionHint(CharSequence hint) { argument
333 mHintText = hint;
334 if (hint != null) {
342 mHintView.setText(hint);
351 * Gets the optional hint text displayed at the bottom of the the matching list.
353 * @return The hint tex
1106 onDisplayHint(int hint) argument
[all...]
H A DSearchView.java127 /** Drawable used as an EditText hint. */
293 // Prior to L MR1, the search hint icon defaulted to searchIcon. If the
573 * Sets the hint text to display in the query text field. This overrides
574 * any hint specified in the {@link SearchableInfo}.
576 * This value may be specified as an empty string to prevent any query hint
579 * @param hint the hint text to display or {@code null} to clear
582 public void setQueryHint(@Nullable CharSequence hint) { argument
583 mQueryHint = hint;
588 * Returns the hint tex
[all...]
/frameworks/native/services/vr/hardware_composer/impl/
H A Dvr_hwc.cpp224 void HwcDisplay::SetColorTransform(const float* matrix, int32_t hint) { argument
225 color_transform_hint_ = hint;
483 int32_t hint) {
489 display_ptr->SetColorTransform(matrix, hint);
482 setColorTransform(Display display, const float* matrix, int32_t hint) argument
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DBaseStaggeredGridLayoutManagerTest.java779 String layoutToString(String hint) { argument
781 sb.append("LAYOUT POSITIONS AND INDICES ").append(hint).append("\n");
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DComposerHal.cpp560 ColorTransform hint)
563 mWriter.setColorTransform(matrix, hint);
559 setColorTransform(Display display, const float* matrix, ColorTransform hint) argument
H A DHWC2.cpp613 android_color_transform_t hint)
616 matrix.asArray(), static_cast<Hwc2::ColorTransform>(hint));
612 setColorTransform(const android::mat4& matrix, android_color_transform_t hint) argument
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DSearchView.java139 /** Drawable used as an EditText hint. */
583 * Sets the hint text to display in the query text field. This overrides
584 * any hint specified in the {@link SearchableInfo}.
586 * This value may be specified as an empty string to prevent any query hint
589 * @param hint the hint text to display or {@code null} to clear
592 public void setQueryHint(@Nullable CharSequence hint) { argument
593 mQueryHint = hint;
598 * Returns the hint text that will be displayed in the query text field.
600 * The displayed query hint i
[all...]
/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2Test.cpp948 const std::array<float, 16>& matrix, android_color_transform_t hint,
956 matrix.data(), hint));
962 << hint;
4471 const android_color_transform_t hint =
4476 identityMatrix, hint, &err));
4489 const android_color_transform_t hint =
4494 matrix, hint));
947 setColorTransform(hwc2_display_t display, const std::array<float, 16>& matrix, android_color_transform_t hint, hwc2_error_t* outErr = nullptr) argument
/frameworks/base/core/java/android/app/assist/
H A DAssistStructure.java1474 * Return additional hint text associated with the node; this is typically used with
1743 public void setHint(CharSequence hint) { argument
1744 getNodeText().mHint = hint != null ? hint.toString() : null;
2155 String hint = node.getHint();
2156 if (hint != null) {
2157 Log.i(TAG, prefix + " Hint: " + hint);
/frameworks/base/core/java/android/hardware/
H A DCamera.java2361 private static final String KEY_RECORDING_HINT = "recording-hint";
4179 * Sets recording mode hint. This tells the camera that the intent of
4183 * Camera.PictureCallback, Camera.PictureCallback)}. Using this hint can
4189 * The app can still call takePicture() when the hint is true or call
4190 * MediaRecorder.start() when the hint is false. But the performance may
4193 * @param hint true if the apps intend to record videos using
4196 public void setRecordingHint(boolean hint) { argument
4197 set(KEY_RECORDING_HINT, hint ? TRUE : FALSE);

Completed in 4735 milliseconds

12