/third_party/skia/modules/skparagraph/src/ |
D | Decorations.cpp | 195 SkScalar scaleFactor = textStyle.getFontSize() / 14.f; in calculatePaint() local 201 const SkScalar intervals[] = {1.0f * scaleFactor, 1.5f * scaleFactor, in calculatePaint() 202 1.0f * scaleFactor, 1.5f * scaleFactor}; in calculatePaint() 213 const SkScalar intervals[] = {4.0f * scaleFactor, 2.0f * scaleFactor, in calculatePaint() 214 4.0f * scaleFactor, 2.0f * scaleFactor}; in calculatePaint()
|
/third_party/flutter/flutter/packages/flutter/test/widgets/ |
D | listener_test.dart | 125 const double scaleFactor = 2; 131 transform: Matrix4.identity()..scale(scaleFactor), 168 ..scale(1 / scaleFactor, 1 / scaleFactor, 1.0); 178 expect(move.localPosition, const Offset(50, 50) + moved / scaleFactor); 181 expect(move.localDelta, moved / scaleFactor); 184 expect(up.localPosition, const Offset(50, 50) + moved / scaleFactor); 203 const double scaleFactor = 2; 208 transform: Matrix4.identity()..scale(scaleFactor), 246 ..scale(1 / scaleFactor, 1 / scaleFactor, 1.0) 257 expect(move.localPosition, const Offset(50, 50) + moved / scaleFactor); [all …]
|
/third_party/openGLES/extensions/QCOM/ |
D | QCOM_frame_extrapolation.txt | 55 float scaleFactor); 64 uint output, float scaleFactor); 75 frame contents at two points in time. <scaleFactor> defines the amount 79 For example, a value of 1.0 for <scaleFactor> will produce an 82 for 'scaleFactor' targets a time that is a half step in the 90 Negative <scaleFactor> values produce frames targeting times before 107 INVALID_VALUE is generated if scaleFactor is equal to 0.
|
/third_party/flutter/skia/src/core/ |
D | SkDevice.cpp | 439 ScaleFactor scaleFactor; in LogDrawScaleFactor() local 441 scaleFactor = kLargeDownscale_ScaleFactor; in LogDrawScaleFactor() 443 scaleFactor = kDownscale_ScaleFactor; in LogDrawScaleFactor() 445 scaleFactor = kUpscale_ScaleFactor; in LogDrawScaleFactor() 447 scaleFactor = kNoScale_ScaleFactor; in LogDrawScaleFactor() 452 SK_HISTOGRAM_ENUMERATION("DrawScaleFactor.NoneFilterQuality", scaleFactor, in LogDrawScaleFactor() 456 SK_HISTOGRAM_ENUMERATION("DrawScaleFactor.LowFilterQuality", scaleFactor, in LogDrawScaleFactor() 460 SK_HISTOGRAM_ENUMERATION("DrawScaleFactor.MediumFilterQuality", scaleFactor, in LogDrawScaleFactor() 464 SK_HISTOGRAM_ENUMERATION("DrawScaleFactor.HighFilterQuality", scaleFactor, in LogDrawScaleFactor() 470 SK_HISTOGRAM_ENUMERATION("DrawScaleFactor.AnyFilterQuality", scaleFactor, in LogDrawScaleFactor()
|
D | SkGpuBlurUtils.cpp | 59 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()
|
/third_party/skia/modules/canvaskit/htmlcanvas/ |
D | radialgradient.js | 66 var scaleFactor = (Math.abs(sx) + Math.abs(sy))/2; 68 var sr1 = r1 * scaleFactor; 69 var sr2 = r2 * scaleFactor;
|
/third_party/flutter/skia/modules/canvaskit/htmlcanvas/ |
D | radialgradient.js | 66 var scaleFactor = (Math.abs(sx) + Math.abs(sy))/2; 68 var sr1 = r1 * scaleFactor; 69 var sr2 = r2 * scaleFactor;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | CFGMST.h | 129 uint64_t scaleFactor = BBWeight; in buildEdges() local 131 if (scaleFactor < UINT64_MAX / CriticalEdgeMultiplier) in buildEdges() 132 scaleFactor *= CriticalEdgeMultiplier; in buildEdges() 134 scaleFactor = UINT64_MAX; in buildEdges() 137 Weight = BPI->getEdgeProbability(&*BB, TargetBB).scale(scaleFactor); in buildEdges()
|
/third_party/flutter/skia/modules/skparagraph/src/ |
D | TextLine.cpp | 340 SkScalar scaleFactor = style.getFontSize() / 14.f; in computeDecorationPaint() local 353 const SkScalar intervals[] = {1.0f * scaleFactor, 1.5f * scaleFactor, in computeDecorationPaint() 354 1.0f * scaleFactor, 1.5f * scaleFactor}; in computeDecorationPaint() 365 const SkScalar intervals[] = {4.0f * scaleFactor, 2.0f * scaleFactor, in computeDecorationPaint() 366 4.0f * scaleFactor, 2.0f * scaleFactor}; in computeDecorationPaint() 376 SkScalar wavelength = scaleFactor * style.getDecorationThicknessMultiplier(); in computeDecorationPaint()
|
/third_party/flutter/skia/gm/ |
D | dftext.cpp | 120 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()
|
/third_party/skia/gm/ |
D | dftext.cpp | 120 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()
|
D | backdrop.cpp | 40 static void do_draw(SkCanvas* canvas, bool useClip, bool useHintRect, SkScalar scaleFactor) { in do_draw() argument 61 auto rec = SkCanvasPriv::ScaledBackdropLayer(drawrptr, nullptr, blur.get(), scaleFactor, 0); in do_draw()
|
D | shadowutils.cpp | 305 SkScalar scaleFactor = sk_float_pow(2.0, -i); variable 307 canvas->scale(scaleFactor, scaleFactor);
|
/third_party/skia/tools/viewer/ |
D | ImGuiLayer.cpp | 72 void ImGuiLayer::setScaleFactor(float scaleFactor) { in setScaleFactor() argument 73 ImGui::GetStyle().ScaleAllSizes(scaleFactor); in setScaleFactor() 78 cfg.SizePixels = 13 * scaleFactor; in setScaleFactor() 79 atlas.AddFontDefault(&cfg)->DisplayOffset.y = scaleFactor; in setScaleFactor()
|
D | Viewer.cpp | 404 fImGuiLayer.setScaleFactor(fWindow->scaleFactor()); 405 fStatsLayer.setDisplayScale((fZoomUI ? 2.0f : 1.0f) * fWindow->scaleFactor()); 703 fStatsLayer.setDisplayScale((fZoomUI ? 2.0f : 1.0f) * fWindow->scaleFactor()); in __anond302c07f2002() 1141 SkScalar scaleFactor = 1.0; in setCurrentSlide() local 1143 scaleFactor = fWindow->scaleFactor(); in setCurrentSlide() 1145 fSlides[slide]->load(SkIntToScalar(fWindow->width()) / scaleFactor, in setCurrentSlide() 1146 SkIntToScalar(fWindow->height()) / scaleFactor); in setCurrentSlide() 1217 zoomScale *= fWindow->scaleFactor(); in computePreTouchMatrix() 1646 SkScalar scaleFactor = 1.0; in onResize() local 1648 scaleFactor = fWindow->scaleFactor(); in onResize() [all …]
|
/third_party/flutter/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/ |
D | DrawManager.java | 424 float scaleFactor = 1 / (size * 10); in getTextScaleMatrix() local 427 android.opengl.Matrix.scaleM(initScale, 0, scaleFactor, scaleFactor, scaleFactor); in getTextScaleMatrix()
|
/third_party/skia/third_party/externals/swiftshader/src/WSI/ |
D | MetalSurface.mm | 88 CGFloat scaleFactor = layer.contentsScale; 89 drawSize.width = trunc(drawSize.width * scaleFactor); 90 drawSize.height = trunc(drawSize.height * scaleFactor);
|
/third_party/skia/tools/sk_app/mac/ |
D | Window_mac.h | 36 float scaleFactor() const override;
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/ |
D | vktRayQueryDirectionTests.cpp | 156 tcu::Mat3 getScaleMatrix (float scaleFactor) in getScaleMatrix() argument 160 scaleFactor, 0.f, 0.f, in getScaleMatrix() 161 0.f, scaleFactor, 0.f, in getScaleMatrix() 162 0.f, 0.f, scaleFactor, in getScaleMatrix()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | CharsetRecog_mbcs.java | 124 double scaleFactor = 90.0 / maxVal; in match() local 125 confidence = (int)(Math.log(commonCharCount+1) * scaleFactor + 10); in match()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CharsetRecog_mbcs.java | 123 double scaleFactor = 90.0 / maxVal; in match() local 124 confidence = (int)(Math.log(commonCharCount+1) * scaleFactor + 10); in match()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | csrmbcs.cpp | 226 double scaleFactor = 90.0 / maxVal; in match_mbcs() local 227 confidence = (int32_t)(log((double)commonCharCount+1) * scaleFactor + 10.0); in match_mbcs()
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | csrmbcs.cpp | 226 double scaleFactor = 90.0 / maxVal; in match_mbcs() local 227 confidence = (int32_t)(log((double)commonCharCount+1) * scaleFactor + 10.0); in match_mbcs()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | csrmbcs.cpp | 226 double scaleFactor = 90.0 / maxVal; in match_mbcs() local 227 confidence = (int32_t)(log((double)commonCharCount+1) * scaleFactor + 10.0); in match_mbcs()
|
/third_party/icu/icu4c/source/i18n/ |
D | csrmbcs.cpp | 226 double scaleFactor = 90.0 / maxVal; in match_mbcs() local 227 confidence = (int32_t)(log((double)commonCharCount+1) * scaleFactor + 10.0); in match_mbcs()
|