Home
last modified time | relevance | path

Searched refs:scaleFactor (Results 1 – 25 of 41) sorted by relevance

12

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowScaleGestureDetector.java15 private float scaleFactor = 1; field in ShadowScaleGestureDetector
37 scaleFactor = 1; in reset()
46 public void setScaleFactor(float scaleFactor) { in setScaleFactor() argument
47 this.scaleFactor = scaleFactor; in setScaleFactor()
52 return scaleFactor; in getScaleFactor()
DNativeInput.java122 static void scaleAxisValue(PointerCoords c, int axis, float scaleFactor) { in scaleAxisValue() argument
125 c.setAxisValue(axis, value * scaleFactor); in scaleAxisValue()
129 public void scale(float scaleFactor) { in scale() argument
132 scaleAxisValue(this, AMOTION_EVENT_AXIS_X, scaleFactor); in scale()
133 scaleAxisValue(this, AMOTION_EVENT_AXIS_Y, scaleFactor); in scale()
134 scaleAxisValue(this, AMOTION_EVENT_AXIS_TOUCH_MAJOR, scaleFactor); in scale()
135 scaleAxisValue(this, AMOTION_EVENT_AXIS_TOUCH_MINOR, scaleFactor); in scale()
136 scaleAxisValue(this, AMOTION_EVENT_AXIS_TOOL_MAJOR, scaleFactor); in scale()
137 scaleAxisValue(this, AMOTION_EVENT_AXIS_TOOL_MINOR, scaleFactor); in scale()
634 public void scale(float scaleFactor) { in scale() argument
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DContinuedFraction.java149 double scaleFactor = 1d; in evaluate() local
160 lastScaleFactor = scaleFactor; in evaluate()
161 scaleFactor *= scale; in evaluate()
163 p2 = p1 / lastScaleFactor + (b / scaleFactor * p0); in evaluate()
164 q2 = q1 / lastScaleFactor + (b / scaleFactor * q0); in evaluate()
166 p2 = (a / scaleFactor * p1) + p0 / lastScaleFactor; in evaluate()
167 q2 = (a / scaleFactor * q1) + q0 / lastScaleFactor; in evaluate()
/external/skqp/src/core/
DSkDevice.cpp412 ScaleFactor scaleFactor; in LogDrawScaleFactor() local
414 scaleFactor = kLargeDownscale_ScaleFactor; in LogDrawScaleFactor()
416 scaleFactor = kDownscale_ScaleFactor; in LogDrawScaleFactor()
418 scaleFactor = kUpscale_ScaleFactor; in LogDrawScaleFactor()
420 scaleFactor = kNoScale_ScaleFactor; in LogDrawScaleFactor()
425 SK_HISTOGRAM_ENUMERATION("DrawScaleFactor.NoneFilterQuality", scaleFactor, in LogDrawScaleFactor()
429 SK_HISTOGRAM_ENUMERATION("DrawScaleFactor.LowFilterQuality", scaleFactor, in LogDrawScaleFactor()
433 SK_HISTOGRAM_ENUMERATION("DrawScaleFactor.MediumFilterQuality", scaleFactor, in LogDrawScaleFactor()
437 SK_HISTOGRAM_ENUMERATION("DrawScaleFactor.HighFilterQuality", scaleFactor, in LogDrawScaleFactor()
443 SK_HISTOGRAM_ENUMERATION("DrawScaleFactor.AnyFilterQuality", scaleFactor, in LogDrawScaleFactor()
/external/aac/libFDK/include/
Dqmf.h229 QMF_SCALE_FACTOR *scaleFactor, /*!< Scale factors of QMF data */
241 QMF_SCALE_FACTOR *scaleFactor, /*!< Scale factors of QMF data */
282 const QMF_SCALE_FACTOR *scaleFactor, /*!< Scale factors of QMF data */
295 const QMF_SCALE_FACTOR *scaleFactor, /*!< Scale factors of QMF data */
Dqmf_pcm.h369 const QMF_SCALE_FACTOR *scaleFactor, in qmfSynthesisFiltering() argument
385 scaleFactor->hb_scale - synQmf->filterScale; in qmfSynthesisFiltering()
387 scaleFactor->ov_lb_scale - synQmf->filterScale; in qmfSynthesisFiltering()
389 scaleFactor->lb_scale - synQmf->filterScale; in qmfSynthesisFiltering()
595 QMF_SCALE_FACTOR *scaleFactor, in qmfAnalysisFiltering() argument
603 scaleFactor->lb_scale = in qmfAnalysisFiltering()
605 scaleFactor->lb_scale -= anaQmf->filterScale; in qmfAnalysisFiltering()
/external/skia/src/core/
DSkDevice.cpp429 ScaleFactor scaleFactor; in LogDrawScaleFactor() local
431 scaleFactor = kLargeDownscale_ScaleFactor; in LogDrawScaleFactor()
433 scaleFactor = kDownscale_ScaleFactor; in LogDrawScaleFactor()
435 scaleFactor = kUpscale_ScaleFactor; in LogDrawScaleFactor()
437 scaleFactor = kNoScale_ScaleFactor; in LogDrawScaleFactor()
442 SK_HISTOGRAM_ENUMERATION("DrawScaleFactor.NoneFilterQuality", scaleFactor, in LogDrawScaleFactor()
446 SK_HISTOGRAM_ENUMERATION("DrawScaleFactor.LowFilterQuality", scaleFactor, in LogDrawScaleFactor()
450 SK_HISTOGRAM_ENUMERATION("DrawScaleFactor.MediumFilterQuality", scaleFactor, in LogDrawScaleFactor()
454 SK_HISTOGRAM_ENUMERATION("DrawScaleFactor.HighFilterQuality", scaleFactor, in LogDrawScaleFactor()
460 SK_HISTOGRAM_ENUMERATION("DrawScaleFactor.AnyFilterQuality", scaleFactor, in LogDrawScaleFactor()
DSkGpuBlurUtils.cpp59 static float adjust_sigma(float sigma, int maxTextureSize, int *scaleFactor, int *radius) { in adjust_sigma() argument
60 *scaleFactor = 1; in adjust_sigma()
62 *scaleFactor *= 2; in adjust_sigma()
64 if (*scaleFactor > maxTextureSize) { in adjust_sigma()
65 *scaleFactor = maxTextureSize; in adjust_sigma()
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
DClassifierActivity.java192 final float scaleFactor = 2; in renderDebug() local
193 matrix.postScale(scaleFactor, scaleFactor); in renderDebug()
195 canvas.getWidth() - copy.getWidth() * scaleFactor, in renderDebug()
196 canvas.getHeight() - copy.getHeight() * scaleFactor); in renderDebug()
DDetectorActivity.java216 final float scaleFactor = 2; in onPreviewSizeChosen()
217 matrix.postScale(scaleFactor, scaleFactor); in onPreviewSizeChosen()
219 canvas.getWidth() - copy.getWidth() * scaleFactor, in onPreviewSizeChosen()
220 canvas.getHeight() - copy.getHeight() * scaleFactor); in onPreviewSizeChosen()
DStylizeActivity.java585 final float scaleFactor = in renderDebug() local
591 matrix.postScale(scaleFactor, scaleFactor); in renderDebug()
607 final float scaleFactor = 2; in renderDebug() local
608 matrix.postScale(scaleFactor, scaleFactor); in renderDebug()
610 canvas.getWidth() - copy.getWidth() * scaleFactor, in renderDebug()
611 canvas.getHeight() - copy.getHeight() * scaleFactor); in renderDebug()
/external/skqp/experimental/canvaskit/htmlcanvas/
Dradialgradient.js66 var scaleFactor = (Math.abs(sx) + Math.abs(sy))/2;
68 var sr1 = r1 * scaleFactor;
69 var sr2 = r2 * scaleFactor;
/external/skia/modules/canvaskit/htmlcanvas/
Dradialgradient.js66 var scaleFactor = (Math.abs(sx) + Math.abs(sy))/2;
68 var sr1 = r1 * scaleFactor;
69 var sr2 = r2 * scaleFactor;
/external/llvm/lib/Transforms/Instrumentation/
DCFGMST.h109 uint64_t scaleFactor = BBWeight; in buildEdges() local
111 if (scaleFactor < UINT64_MAX / CriticalEdgeMultiplier) in buildEdges()
112 scaleFactor *= CriticalEdgeMultiplier; in buildEdges()
114 scaleFactor = UINT64_MAX; in buildEdges()
117 Weight = BPI->getEdgeProbability(&*BB, TargetBB).scale(scaleFactor); in buildEdges()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DCFGMST.h130 uint64_t scaleFactor = BBWeight; in buildEdges() local
132 if (scaleFactor < UINT64_MAX / CriticalEdgeMultiplier) in buildEdges()
133 scaleFactor *= CriticalEdgeMultiplier; in buildEdges()
135 scaleFactor = UINT64_MAX; in buildEdges()
138 Weight = BPI->getEdgeProbability(&*BB, TargetBB).scale(scaleFactor); in buildEdges()
/external/webrtc/webrtc/modules/utility/source/
Dfile_player_impl.cc193 int32_t FilePlayerImpl::SetAudioScaling(float scaleFactor) in SetAudioScaling() argument
195 if((scaleFactor >= 0)&&(scaleFactor <= 2.0)) in SetAudioScaling()
197 _scaling = scaleFactor; in SetAudioScaling()
/external/replicaisland/src/com/replica/replicaisland/
DTimeSystem.java116 public void appyScale(float scaleFactor, float duration, boolean ease) { in appyScale() argument
117 mTargetScale = scaleFactor; in appyScale()
/external/skqp/gm/
Ddftext.cpp104 SkScalar scaleFactor = SkScalarInvert(scales[arraySize - i - 1]); in onDraw() local
105 canvas->scale(scaleFactor, scaleFactor); in onDraw()
108 y += font.getMetrics(nullptr)*scaleFactor; in onDraw()
/external/skia/gm/
Ddftext.cpp120 SkScalar scaleFactor = SkScalarInvert(scales[arraySize - i - 1]); in onDraw() local
121 canvas->scale(scaleFactor, scaleFactor); in onDraw()
124 y += font.getMetrics(nullptr)*scaleFactor; in onDraw()
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/env/
DImageUtils.java329 final float scaleFactor = Math.max(scaleFactorX, scaleFactorY); in getTransformationMatrix() local
330 matrix.postScale(scaleFactor, scaleFactor); in getTransformationMatrix()
/external/aac/libAACdec/src/
Daacdec_pns.cpp275 static void ScaleBand(FIXP_DBL *RESTRICT spec, int size, int scaleFactor, in ScaleBand() argument
281 sfMatissa = MantissaTable[scaleFactor & 0x03][0]; in ScaleBand()
284 sfExponent = (scaleFactor >> 2) + 1; in ScaleBand()
/external/swiftshader/src/WSI/
DMetalSurface.mm84 CGFloat scaleFactor = layer.contentsScale;
85 drawSize.width = trunc(drawSize.width * scaleFactor);
86 drawSize.height = trunc(drawSize.height * scaleFactor);
/external/skia/modules/skparagraph/src/
DTextLine.cpp465 SkScalar scaleFactor = style.getFontSize() / 14.f; in computeDecorationPaint() local
478 const SkScalar intervals[] = {1.0f * scaleFactor, 1.5f * scaleFactor, in computeDecorationPaint()
479 1.0f * scaleFactor, 1.5f * scaleFactor}; in computeDecorationPaint()
490 const SkScalar intervals[] = {4.0f * scaleFactor, 2.0f * scaleFactor, in computeDecorationPaint()
491 4.0f * scaleFactor, 2.0f * scaleFactor}; in computeDecorationPaint()
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/
DDrawManager.java424 float scaleFactor = 1 / (size * 10); in getTextScaleMatrix() local
427 android.opengl.Matrix.scaleM(initScale, 0, scaleFactor, scaleFactor, scaleFactor); in getTextScaleMatrix()
/external/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/
DDrawManager.java424 float scaleFactor = 1 / (size * 10); in getTextScaleMatrix() local
427 android.opengl.Matrix.scaleM(initScale, 0, scaleFactor, scaleFactor, scaleFactor); in getTextScaleMatrix()

12