Home
last modified time | relevance | path

Searched refs:usageHint (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DVibratorService.java196 public final int usageHint; field in VibratorService.Vibration
209 int usageHint, int uid, String opPkg, String reason) { in Vibration() argument
214 this.usageHint = usageHint; in Vibration()
234 if (VibratorService.this.isHapticFeedback(usageHint)) { in isHapticFeedback()
259 return VibratorService.this.isNotification(usageHint); in isNotification()
263 return VibratorService.this.isRingtone(usageHint); in isRingtone()
267 return VibratorService.this.isAlarm(usageHint); in isAlarm()
276 startTimeDebug, effect, originalEffect, usageHint, uid, opPkg, reason); in toInfo()
290 VibrationEffect originalEffect, int usageHint, int uid, in VibrationInfo() argument
295 mUsageHint = usageHint; in VibrationInfo()
[all …]
/frameworks/base/libs/hwui/
DRenderNode.h210 void setUsageHint(UsageHint usageHint) { mUsageHint = usageHint; } in setUsageHint() argument
212 UsageHint usageHint() const { return mUsageHint; } in usageHint() function
DRenderNode.cpp316 auto usage = usageHint(); in handleForceDark()
325 children.front().getRenderNode()->usageHint() != in handleForceDark()
/frameworks/base/core/java/android/os/
DIVibratorService.aidl26 void vibrate(int uid, String opPkg, in VibrationEffect effect, int usageHint, String reason, in vibrate() argument
/frameworks/base/graphics/java/android/graphics/
DRenderNode.java902 public void setUsageHint(@UsageHint int usageHint) { in setUsageHint() argument
903 nSetUsageHint(mNativeRenderNode, usageHint); in setUsageHint()
1646 private static native void nSetUsageHint(long renderNode, int usageHint); in nSetUsageHint() argument
/frameworks/base/core/jni/
Dandroid_view_RenderNode.cpp226 static void android_view_RenderNode_setUsageHint(jlong renderNodePtr, jint usageHint) { in android_view_RenderNode_setUsageHint() argument
228 renderNode->setUsageHint(static_cast<UsageHint>(usageHint)); in android_view_RenderNode_setUsageHint()