Home
last modified time | relevance | path

Searched refs:hint (Results 1 – 25 of 71) sorted by relevance

123

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/sizecompatui/
DSizeCompatUIWindowManager.java96 final SizeCompatHintPopup hint = (SizeCompatHintPopup) in createSizeCompatHint() local
99 hint.measure(View.MeasureSpec.UNSPECIFIED, View.MeasureSpec.UNSPECIFIED); in createSizeCompatHint()
100 hint.inject(mLayout); in createSizeCompatHint()
101 mViewHost.setView(hint, mLayout.getHintWindowLayoutParams(hint)); in createSizeCompatHint()
102 return hint; in createSizeCompatHint()
DSizeCompatUILayout.java233 WindowManager.LayoutParams getHintWindowLayoutParams(SizeCompatHintPopup hint) { in getHintWindowLayoutParams() argument
236 hint.getMeasuredWidth(), hint.getMeasuredHeight(), in getHintWindowLayoutParams()
/frameworks/opt/net/voip/src/java/android/net/rtp/
DAudioCodec.java115 AudioCodec hint = null; in getCodec() local
122 hint = codec; in getCodec()
130 hint = codec; in getCodec()
137 if (hint == null) { in getCodec()
140 if (hint == AMR && fmtp != null) { in getCodec()
/frameworks/base/core/java/android/app/usage/
DCacheQuotaHint.java109 public Builder(@NonNull CacheQuotaHint hint) { in Builder() argument
110 setVolumeUuid(hint.getVolumeUuid()); in Builder()
111 setUid(hint.getUid()); in Builder()
112 setUsageStats(hint.getUsageStats()); in Builder()
113 setQuota(hint.getQuota()); in Builder()
/frameworks/base/core/java/android/app/slice/
DSliceItem.java272 public boolean hasHint(@Slice.SliceHint String hint) { in hasHint() argument
273 return ArrayUtils.contains(mHints, hint); in hasHint()
304 for (String hint : hints) { in hasHints()
305 if (!TextUtils.isEmpty(hint) && !ArrayUtils.contains(mHints, hint)) { in hasHints()
317 for (String hint : hints) { in hasAnyHints()
318 if (ArrayUtils.contains(mHints, hint)) { in hasAnyHints()
/frameworks/base/core/java/android/view/inputmethod/
DExtractedText.java96 public CharSequence hint; field in ExtractedText
112 TextUtils.writeToParcel(hint, dest, flags); in writeToParcel()
129 res.hint = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(source);
/frameworks/base/core/tests/coretests/src/android/widget/
DEditorCursorTest.java194 private void setEditTextProperties(final String text, final String hint, in setEditTextProperties() argument
199 if (hint != null) mEditText.setHint(hint); in setEditTextProperties()
216 private void setEditTextHint(final String hint, final int textDirection, final int selection) in setEditTextHint() argument
218 setEditTextProperties(null, hint, textDirection, selection); in setEditTextHint()
/frameworks/minikin/include/minikin/
DMeasuredText.h209 MeasuredText* hint);
213 bool computeHyphenation, bool computeLayout, MeasuredText* hint) in MeasuredText() argument
215 measure(textBuf, computeHyphenation, computeLayout, hint); in MeasuredText()
238 bool computeLayout, MeasuredText* hint) { in build() argument
241 textBuf, std::move(mRuns), computeHyphenation, computeLayout, hint)); in build()
/frameworks/native/services/powermanager/tests/
DPowerHalWrapperHidlV1_1Test.cpp46 MOCK_METHOD(hardware::Return<void>, powerHint, (PowerHint hint, int32_t data), (override));
55 MOCK_METHOD(hardware::Return<void>, powerHint, (PowerHint hint, int32_t data), (override));
59 MOCK_METHOD(hardware::Return<void>, powerHintAsync, (PowerHint hint, int32_t data), (override));
/frameworks/base/services/tests/servicestests/src/com/android/server/power/hint/
DHintManagerServiceTest.java17 package com.android.server.power.hint;
49 import com.android.server.power.hint.HintManagerService.AppHintSession;
50 import com.android.server.power.hint.HintManagerService.Injector;
51 import com.android.server.power.hint.HintManagerService.NativeWrapper;
/frameworks/native/libs/binder/
DRpcSocketAddress.h91 addrinfo hint{ in getAddrInfo()
98 if (int rc = getaddrinfo(addr, std::to_string(port).data(), &hint, &aiStart); 0 != rc) { in getAddrInfo()
/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java450 final Insets hint = control.getInsetsHint(); in translateSourceControlsInScreenToAppWindow() local
452 (int) (scale * hint.left), in translateSourceControlsInScreenToAppWindow()
453 (int) (scale * hint.top), in translateSourceControlsInScreenToAppWindow()
454 (int) (scale * hint.right), in translateSourceControlsInScreenToAppWindow()
455 (int) (scale * hint.bottom)); in translateSourceControlsInScreenToAppWindow()
/frameworks/base/core/java/android/view/
DViewStructure.java230 public abstract void setHint(CharSequence hint); in setHint() argument
354 public abstract void setAutofillHints(@Nullable String[] hint); in setAutofillHints() argument
/frameworks/base/core/tests/coretests/src/android/app/assist/
DAssistStructureTest.java293 String hint = hints[0]; in assertBigView() local
295 assertThat(hint.length()).isEqualTo(BIG_VIEW_SIZE); in assertBigView()
296 assertThat(hint.charAt(0)).isEqualTo(BIG_VIEW_CHAR); in assertBigView()
297 assertThat(hint.charAt(BIG_VIEW_SIZE - 1)).isEqualTo(BIG_VIEW_CHAR); in assertBigView()
/frameworks/base/core/java/android/widget/
DAutoCompleteTextView.java346 public void setCompletionHint(CharSequence hint) { in setCompletionHint() argument
347 mHintText = hint; in setCompletionHint()
348 if (hint != null) { in setCompletionHint()
356 mHintView.setText(hint); in setCompletionHint()
1160 protected void onDisplayHint(int hint) { in onDisplayHint() argument
1161 super.onDisplayHint(hint); in onDisplayHint()
1162 switch (hint) { in onDisplayHint()
DSearchView.java605 public void setQueryHint(@Nullable CharSequence hint) { in setQueryHint() argument
606 mQueryHint = hint; in setQueryHint()
630 final CharSequence hint; in getQueryHint() local
632 hint = mQueryHint; in getQueryHint()
634 hint = getContext().getText(mSearchable.getHintId()); in getQueryHint()
636 hint = mDefaultQueryHint; in getQueryHint()
638 return hint; in getQueryHint()
1213 final CharSequence hint = getQueryHint(); in updateQueryHint() local
1214 mSearchSrcTextView.setHint(getDecoratedHint(hint == null ? "" : hint)); in updateQueryHint()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DEventLogTags.logtags32 ## 3: TAP_UNLOCK_HINT Tapped in empty area, causes unlock hint.
36 ## 7: TAP_NOTIFICATION_ACTIVATE Tapped a lockscreen notification, causes "tap again" hint.
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DNotificationChannels.java76 final NotificationChannel hint = new NotificationChannel( in createAll() local
90 hint in createAll()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DSwitchController.java180 public MetaData setIconBackgoundHint(int hint) { in setIconBackgoundHint() argument
181 mIconBackgroundHint = hint; in setIconBackgoundHint()
/frameworks/native/libs/gui/
DSurfaceControl.cpp208 void SurfaceControl::setTransformHint(uint32_t hint) { in setTransformHint() argument
210 mTransformHint = hint; in setTransformHint()
DFrameTimestamps.cpp186 auto hint = mFrames.begin() + *iHint; in getFrame() local
188 hint, mFrames.end(), FrameNumberEqual(frameNumber)); in getFrame()
191 mFrames.begin(), hint, FrameNumberEqual(frameNumber)); in getFrame()
192 if (frame == hint) { in getFrame()
DIGraphicBufferConsumer.cpp145 status_t setTransformHint(uint32_t hint) override { in setTransformHint() argument
147 return callRemote<Signature>(Tag::SET_TRANSFORM_HINT, hint); in setTransformHint()
/frameworks/native/libs/gui/include/gui/
DBufferHubConsumer.h84 status_t setTransformHint(uint32_t hint) override;
DBufferQueueConsumer.h140 virtual status_t setTransformHint(uint32_t hint);
/frameworks/minikin/libs/minikin/
DMeasuredText.cpp128 bool computeLayout, MeasuredText* hint) { in measure() argument
137 run->getMetrics(textBuf, &widths, hint ? &hint->layoutPieces : nullptr, piecesOut); in measure()

123