Home
last modified time | relevance | path

Searched refs:feedback (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DHapticScrollFeedbackProviderTest.java433 for (int feedback : new int[] {SCROLL_ITEM_FOCUS, SCROLL_LIMIT, SCROLL_TICK}) { in assertNoFeedback()
434 assertFeedbackCount(view, feedback, 0); in assertNoFeedback()
443 for (int feedback : new int[] {SCROLL_ITEM_FOCUS, SCROLL_LIMIT, SCROLL_TICK}) { in assertOnlyFeedback()
444 assertFeedbackCount(view, feedback, (feedback == expectedFeedback) ? expectedCount : 0); in assertOnlyFeedback()
448 private void assertFeedbackCount(TestView view, int feedback, int expectedCount) { in assertFeedbackCount() argument
449 int count = view.mFeedbackCount.getOrDefault(feedback, 0); in assertFeedbackCount()
471 public boolean performHapticFeedback(int feedback) { in performHapticFeedback() argument
472 if (!mFeedbackCount.containsKey(feedback)) { in performHapticFeedback()
473 mFeedbackCount.put(feedback, 0); in performHapticFeedback()
475 mFeedbackCount.put(feedback, mFeedbackCount.get(feedback) + 1); in performHapticFeedback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DFeedbackInfo.java186 Bundle feedback = new Bundle(); in handleFeedback() local
187 feedback.putInt(FEEDBACK_RATING, positive ? 1 : -1); in handleFeedback()
189 sendFeedbackToAssistant(feedback); in handleFeedback()
192 private void sendFeedbackToAssistant(Bundle feedback) { in sendFeedbackToAssistant() argument
198 mStatusBarService.onNotificationFeedbackReceived(mRanking.getKey(), feedback); in sendFeedbackToAssistant() local
/frameworks/base/core/java/android/service/notification/
DNotificationAssistantService.java311 @NonNull Bundle feedback) { in onNotificationFeedbackReceived() argument
501 Bundle feedback) { in onNotificationFeedbackReceived() argument
506 args.arg3 = feedback; in onNotificationFeedbackReceived()
649 Bundle feedback = (Bundle) args.arg3; in handleMessage() local
651 onNotificationFeedbackReceived(key, ranking, feedback); in handleMessage()
DINotificationListener.aidl63 …nNotificationFeedbackReceived(String key, in NotificationRankingUpdate update, in Bundle feedback); in onNotificationFeedbackReceived() argument
DNotificationListenerService.java1658 Bundle feedback) { in onNotificationFeedbackReceived() argument
/frameworks/base/core/java/android/view/flags/
Dscroll_feedback_flags.aconfig8 description: "Enable the scroll feedback APIs"
/frameworks/base/core/java/android/os/vibrator/
Dflags.aconfig14 description: "Enables OEMs/devices to customize vibrations for haptic feedback"
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationDelegate.java101 void onNotificationFeedbackReceived(String key, Bundle feedback); in onNotificationFeedbackReceived() argument
Dflags.aconfig87 …iption: "This flag controls the polite notification attention behavior updates as per UXR feedback"
DNotificationManagerService.java1753 public void onNotificationFeedbackReceived(String key, Bundle feedback) {
1761 mAssistants.notifyAssistantFeedbackReceived(r, feedback);
11207 void notifyAssistantFeedbackReceived(final NotificationRecord r, Bundle feedback) {
11218 assistant.onNotificationFeedbackReceived(sbn.getKey(), update, feedback);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationMemoryViewWalker.kt164 R.id.feedback, in <lambda>()
/frameworks/base/core/java/com/android/internal/statusbar/
DIStatusBarService.aidl96 void onNotificationFeedbackReceived(String key, in Bundle feedback); in onNotificationFeedbackReceived() argument
/frameworks/proto_logging/stats/enums/healthfitness/ui/
Denums.proto55 // App permissions empty state & Help and feedback page
/frameworks/base/core/proto/android/providers/settings/
Dsystem.proto228 // Whether silent mode should allow vibration feedback. This is used
231 // removed in a future release with support for audio/vibe feedback
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationHeaderViewWrapper.java152 mFeedbackIcon = mView.findViewById(com.android.internal.R.id.feedback); in resolveHeaderViews()
/frameworks/base/core/java/android/app/
DStatusBarManager.java698 public void sendNotificationFeedback(@Nullable String key, @Nullable Bundle feedback) { in sendNotificationFeedback() argument
702 svc.onNotificationFeedbackReceived(key, feedback); in sendNotificationFeedback()
/frameworks/base/core/java/android/view/
DNotificationTopLineView.java105 mFeedbackIcon = findViewById(R.id.feedback); in onFinishInflate()
/frameworks/base/packages/SystemUI/aconfig/
Dsystemui.aconfig260 description: "Adds haptic feedback to the brightness slider."
501 description: "Adds haptic feedback to the volume slider."
/frameworks/base/services/core/java/com/android/server/statusbar/
DStatusBarManagerService.java1928 public void onNotificationFeedbackReceived(String key, Bundle feedback) { in onNotificationFeedbackReceived() argument
1932 mNotificationDelegate.onNotificationFeedbackReceived(key, feedback); in onNotificationFeedbackReceived()
/frameworks/base/core/java/com/android/internal/widget/
DConversationLayout.java202 mFeedbackIcon = findViewById(com.android.internal.R.id.feedback); in onFinishInflate()
/frameworks/proto_logging/stats/atoms/sysui/
Dsysui_atoms.proto675 * Logs the feedback type.
/frameworks/proto_logging/stats/enums/app/
Dtvsettings_enums.proto1286 // TvSettings > Help & Feedback > Send feedback
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto2423 // ACTION: Settings -> Support -> Help & feedback
/frameworks/base/core/api/
Dsystem-current.txt12914 field public static final String FEEDBACK_RATING = "feedback.rating";