Searched refs:usageHint (Results 1 – 5 of 5) sorted by relevance
210 void setUsageHint(UsageHint usageHint) { mUsageHint = usageHint; } in setUsageHint() argument212 UsageHint usageHint() const { return mUsageHint; } in usageHint() function
316 auto usage = usageHint(); in handleForceDark()325 children.front().getRenderNode()->usageHint() != in handleForceDark()
1281 private static boolean isNotification(int usageHint) { in isNotification() argument1282 switch (usageHint) { in isNotification()1294 private static boolean isRingtone(int usageHint) { in isRingtone() argument1295 return usageHint == AudioAttributes.USAGE_NOTIFICATION_RINGTONE; in isRingtone()1298 private static boolean isHapticFeedback(int usageHint) { in isHapticFeedback() argument1299 return usageHint == AudioAttributes.USAGE_ASSISTANCE_SONIFICATION; in isHapticFeedback()1302 private static boolean isAlarm(int usageHint) { in isAlarm() argument1303 return usageHint == AudioAttributes.USAGE_ALARM; in isAlarm()
902 public void setUsageHint(@UsageHint int usageHint) { in setUsageHint() argument903 nSetUsageHint(mNativeRenderNode, usageHint); in setUsageHint()1646 private static native void nSetUsageHint(long renderNode, int usageHint); in nSetUsageHint() argument
226 static void android_view_RenderNode_setUsageHint(jlong renderNodePtr, jint usageHint) { in android_view_RenderNode_setUsageHint() argument228 renderNode->setUsageHint(static_cast<UsageHint>(usageHint)); in android_view_RenderNode_setUsageHint()