Searched refs:usageHint (Results 1 – 6 of 6) sorted by relevance
74 public int getExternalVibrationScale(int usageHint) { in getExternalVibrationScale() argument75 int defaultIntensity = mSettingsController.getDefaultIntensity(usageHint); in getExternalVibrationScale()76 int currentIntensity = mSettingsController.getCurrentIntensity(usageHint); in getExternalVibrationScale()90 + scaleLevel + " for vibration with usage " + usageHint); in getExternalVibrationScale()103 public <T extends VibrationEffect> T scale(VibrationEffect effect, int usageHint) { in scale() argument104 int defaultIntensity = mSettingsController.getDefaultIntensity(usageHint); in scale()105 int currentIntensity = mSettingsController.getCurrentIntensity(usageHint); in scale()134 public PrebakedSegment scale(PrebakedSegment prebaked, int usageHint) { in scale() argument135 int currentIntensity = mSettingsController.getCurrentIntensity(usageHint); in scale()139 currentIntensity = mSettingsController.getDefaultIntensity(usageHint); in scale()
338 public int getDefaultIntensity(@VibrationAttributes.Usage int usageHint) { in getDefaultIntensity() argument339 return mVibrationConfig.getDefaultVibrationIntensity(usageHint); in getDefaultIntensity()348 public int getCurrentIntensity(@VibrationAttributes.Usage int usageHint) { in getCurrentIntensity() argument349 int defaultIntensity = getDefaultIntensity(usageHint); in getCurrentIntensity()351 return mCurrentVibrationIntensities.get(usageHint, defaultIntensity); in getCurrentIntensity()460 private boolean shouldVibrateForRingerModeLocked(@VibrationAttributes.Usage int usageHint) { in shouldVibrateForRingerModeLocked() argument461 if ((usageHint != USAGE_RINGTONE) && (usageHint != USAGE_NOTIFICATION)) { in shouldVibrateForRingerModeLocked()
219 void setUsageHint(UsageHint usageHint) { mUsageHint = usageHint; } in setUsageHint() argument221 UsageHint usageHint() const { return mUsageHint; } in usageHint() function
393 auto usage = usageHint(); in handleForceDark()405 children.front()->usageHint() != in handleForceDark()
1023 public void setUsageHint(@UsageHint int usageHint) { in setUsageHint() argument1024 nSetUsageHint(mNativeRenderNode, usageHint); in setUsageHint()1794 private static native void nSetUsageHint(long renderNode, int usageHint); in nSetUsageHint() argument
252 …droid_view_RenderNode_setUsageHint(CRITICAL_JNI_PARAMS_COMMA jlong renderNodePtr, jint usageHint) { in android_view_RenderNode_setUsageHint() argument254 renderNode->setUsageHint(static_cast<UsageHint>(usageHint)); in android_view_RenderNode_setUsageHint()