Home
last modified time | relevance | path

Searched refs:scaled (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DVibrationScalerTest.java191 PrebakedSegment scaled = mVibrationScaler.scale(effect, USAGE_NOTIFICATION); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings() local
192 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_STRONG); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings()
196 scaled = mVibrationScaler.scale(effect, USAGE_NOTIFICATION); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings()
197 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_MEDIUM); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings()
200 scaled = mVibrationScaler.scale(effect, USAGE_NOTIFICATION); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings()
201 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_LIGHT); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings()
204 scaled = mVibrationScaler.scale(effect, USAGE_NOTIFICATION); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings()
206 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_MEDIUM); in scale_withPrebakedSegment_setsEffectStrengthBasedOnSettings()
215 PrebakedSegment scaled = in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings() local
217 assertEquals(scaled.getEffectStrength(), VibrationEffect.EFFECT_STRENGTH_STRONG); in scale_withPrebakedEffect_setsEffectStrengthBasedOnSettings()
[all …]
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
DQuad.java67 public Quad scaled(float s) { in scaled() method in Quad
71 public Quad scaled(float x, float y) { in scaled() method in Quad
DRectangle.java82 public Rectangle scaled(float s) { in scaled() method in Rectangle
87 public Rectangle scaled(float x, float y) { in scaled() method in Rectangle
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibrationScaler.java172 VibrationEffect.Composed scaled = in scale() local
175 scaled.validate(); in scale()
176 return scaled; in scale()
/frameworks/proto_logging/stats/express/catalog/
Dwear_notifications.cfg5 …age asset for bridged notifications. Logged as histogram value with 1.35 scaled bins in range [0, …
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DDrawOverlayFilter.java69 box = box.translated(1.0f, 1.0f).scaled(2.0f); in process()
DDrawRectFilter.java93 box = box.scaled(2.0f).translated(-1.0f, -1.0f); in process()
/frameworks/base/core/java/android/view/
DPointerIcon.java462 Bitmap scaled = Bitmap.createBitmap(scaledWidth, scaledHeight, bitmap.getConfig()); in getBitmapFromDrawable() local
463 Canvas canvas = new Canvas(scaled); in getBitmapFromDrawable()
467 return scaled; in getBitmapFromDrawable()
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/hdr/
DGainmapTransformsTest.kt68 findViewById<Button>(R.id.scaled)!!.setOnClickListener { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/udfps/
DSinglePointerTouchProcessorTest.kt570 sensorBounds = ROTATION_0_NATIVE_SENSOR_BOUNDS.scaled(scaleFactor), in toOverlayParams()
571 overlayBounds = ROTATION_0_NATIVE_SENSOR_BOUNDS.scaled(scaleFactor), in toOverlayParams()
741 private fun Rect.scaled(scaleFactor: Float) = Rect(this).apply { scale(scaleFactor) } in copy() method
/frameworks/base/core/java/android/os/
DVibrationEffect.java895 Composed scaled = new Composed(scaledSegments, mRepeatIndex); in scale() local
896 scaled.validate(); in scale()
897 return scaled; in scale()
/frameworks/base/core/java/android/widget/
DAnalogClock.java691 boolean scaled = false; in onDraw()
694 scaled = true; in onDraw()
743 if (scaled) { in onDraw()
/frameworks/layoutlib/validator/resources/
Dstrings.properties165 …ers to read. Consider using a larger size or specifying the text size in scaled pixels (<tt>sp</tt…
166 result_message_fixed_text_size = Consider specifying the text size in scaled pixels (<tt>sp</tt>).
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt15905 Landroid/filterfw/geometry/Quad;->scaled(F)Landroid/filterfw/geometry/Quad;
15906 Landroid/filterfw/geometry/Quad;->scaled(FF)Landroid/filterfw/geometry/Quad;
15918 Landroid/filterfw/geometry/Rectangle;->scaled(F)Landroid/filterfw/geometry/Rectangle;
15919 Landroid/filterfw/geometry/Rectangle;->scaled(FF)Landroid/filterfw/geometry/Rectangle;