Home
last modified time | relevance | path

Searched refs:scaleFactor (Results 1 – 25 of 44) 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/skia/src/core/
DSkDevice.cpp406 ScaleFactor scaleFactor; in LogDrawScaleFactor() local
408 scaleFactor = kLargeDownscale_ScaleFactor; in LogDrawScaleFactor()
410 scaleFactor = kDownscale_ScaleFactor; in LogDrawScaleFactor()
412 scaleFactor = kUpscale_ScaleFactor; in LogDrawScaleFactor()
414 scaleFactor = kNoScale_ScaleFactor; in LogDrawScaleFactor()
419 SK_HISTOGRAM_ENUMERATION("DrawScaleFactor.NoneFilterQuality", scaleFactor, in LogDrawScaleFactor()
423 SK_HISTOGRAM_ENUMERATION("DrawScaleFactor.LowFilterQuality", scaleFactor, in LogDrawScaleFactor()
427 SK_HISTOGRAM_ENUMERATION("DrawScaleFactor.MediumFilterQuality", scaleFactor, in LogDrawScaleFactor()
431 SK_HISTOGRAM_ENUMERATION("DrawScaleFactor.HighFilterQuality", scaleFactor, in LogDrawScaleFactor()
437 SK_HISTOGRAM_ENUMERATION("DrawScaleFactor.AnyFilterQuality", scaleFactor, in LogDrawScaleFactor()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/
DClassifierActivity.java172 final float scaleFactor = 2; in renderDebug() local
173 matrix.postScale(scaleFactor, scaleFactor); in renderDebug()
175 canvas.getWidth() - copy.getWidth() * scaleFactor, in renderDebug()
176 canvas.getHeight() - copy.getHeight() * scaleFactor); in renderDebug()
DDetectorActivity.java174 final float scaleFactor = 2; in onPreviewSizeChosen()
175 matrix.postScale(scaleFactor, scaleFactor); in onPreviewSizeChosen()
177 canvas.getWidth() - copy.getWidth() * scaleFactor, in onPreviewSizeChosen()
178 canvas.getHeight() - copy.getHeight() * scaleFactor); in onPreviewSizeChosen()
/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/aac/libFDK/include/
Dqmf.h208 QMF_SCALE_FACTOR *scaleFactor, /*!< Scale factors of QMF data */
219 QMF_SCALE_FACTOR *scaleFactor, /*!< Scale factors of QMF data */
230 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()
/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/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.cpp102 SkScalar scaleFactor = SkScalarInvert(scales[arraySize - i - 1]); in onDraw() local
103 canvas->scale(scaleFactor, scaleFactor); in onDraw()
106 y += font.getMetrics(nullptr)*scaleFactor; in onDraw()
/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/tensorflow/tensorflow/lite/examples/android/app/src/main/java/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/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/libFDK/src/
Dqmf.cpp532 QMF_SCALE_FACTOR *scaleFactor, const LONG *timeIn, /*!< Time signal */ in qmfAnalysisFiltering() argument
539 scaleFactor->lb_scale = in qmfAnalysisFiltering()
541 scaleFactor->lb_scale -= anaQmf->filterScale; in qmfAnalysisFiltering()
563 QMF_SCALE_FACTOR *scaleFactor, const INT_PCM *timeIn, /*!< Time signal */ in qmfAnalysisFiltering() argument
570 scaleFactor->lb_scale = in qmfAnalysisFiltering()
572 scaleFactor->lb_scale -= anaQmf->filterScale; in qmfAnalysisFiltering()
1107 int scaleFactor = synQmf->outScalefactor in qmfGetOutScalefactor() local
1112 return scaleFactor; in qmfGetOutScalefactor()
/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()

12