/third_party/skia/tests/ |
H A D | TextureBindingsResetTest.cpp | 96 surf->getCanvas()->scale(0.25, 0.25); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
/third_party/skia/third_party/externals/freetype/include/freetype/ |
H A D | ftcolor.h | 482 * depending on whether or not a center is specified, whether the scale 1129 * tables. Used for scaling downstream paints by a given x and y~scale, 1134 * file has 'PaintScaleUniform*' set, the scale values are set 1151 * x~coordinate of center point to scale from represented as a 1155 * y~coordinate of center point to scale from represented as a 1360 FT_PaintScale scale; member 1558 * clip box is computed taking scale and transformations configured on 1567 * To retrieve the clip box in font units, reset scale to units-per-em
|
/third_party/skia/third_party/externals/freetype/src/autofit/ |
H A D | afhints.h | 296 FT_Fixed scale; /* used to speed up interpolation between edges */ member
|
/third_party/skia/third_party/externals/freetype/src/truetype/ |
H A D | ttinterp.h | 128 const FT_ULong scale; member
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | BranchProbability.h | 81 uint64_t scale(uint64_t Num) const;
|
/third_party/skia/tools/viewer/ |
H A D | Viewer.h | 47 bool onPinch(skui::InputState state, float scale, float x, float y) override;
|
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/util/ |
H A D | SkottieView.java | 58 .scale(s, s)); in onRenderFrame()
|
/third_party/skia/gm/ |
H A D | convexpaths.cpp | 239 canvas->scale(2.0f/3, 2.0f/3);
|
H A D | highcontrastfilter.cpp | 150 canvas->scale(kSize, kSize);
|
H A D | dstreadshuffle.cpp | 189 canvas->scale(5.f, 5.f);
|
/third_party/skia/experimental/docs/ |
H A D | canvasBackend.js | 165 ctx.scale(resScale, resScale);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/ |
H A D | datepicker_column_pattern.cpp | 653 const RefPtr<TextLayoutProperty>& textLayoutProperty, uint32_t index, uint32_t showCount, bool isDown, double scale) in TextPropertiesLinearAnimation() 670 if (scale >= FONTWEIGHT) { in TextPropertiesLinearAnimation() 676 if (scale >= FONTWEIGHT) { in TextPropertiesLinearAnimation() 685 if (scale < FONTWEIGHT) { in TextPropertiesLinearAnimation() 690 void DatePickerColumnPattern::UpdateTextPropertiesLinear(bool isDown, double scale) in UpdateTextPropertiesLinear() argument 707 TextPropertiesLinearAnimation(textLayoutProperty, index, showCount, isDown, scale); in UpdateTextPropertiesLinear() 652 TextPropertiesLinearAnimation( const RefPtr<TextLayoutProperty>& textLayoutProperty, uint32_t index, uint32_t showCount, bool isDown, double scale) TextPropertiesLinearAnimation() argument
|
/foundation/arkui/ace_engine/test/unittest/core/event/ |
H A D | gesture_event_hub_test_ng_property_config.cpp | 370 * @tc.expected: scale is true. in HWTEST_F() 374 float scale = gestureEventHub->GetPixelMapScale(height, width); in HWTEST_F() local 375 EXPECT_TRUE(scale); in HWTEST_F() 998 auto scale = guestureEventHub->GetPixelMapScale(1, 0); in HWTEST_F() local 999 EXPECT_EQ(scale, 1.0f); in HWTEST_F() 1005 scale = guestureEventHub->GetPixelMapScale(0, 1); in HWTEST_F() 1006 EXPECT_EQ(scale, 1.0f); in HWTEST_F()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/overlay/ |
H A D | overlay_manager_dialog_test_ng.cpp | 663 NG::ScaleOptions scale(1.0f, 1.0f, 1.0f, 0.5_pct, 0.5_pct); in HWTEST_F() 664 auto scaleTransition = AceType::MakeRefPtr<NG::ChainedScaleEffect>(scale); in HWTEST_F() 722 NG::ScaleOptions scale(1.0f, 1.0f, 1.0f, 0.5_pct, 0.5_pct); in HWTEST_F() 723 auto scaleTransition = AceType::MakeRefPtr<NG::ChainedScaleEffect>(scale); in HWTEST_F() 789 NG::ScaleOptions scale(1.0f, 1.0f, 1.0f, 0.5_pct, 0.5_pct); in HWTEST_F() 790 auto scaleTransition = AceType::MakeRefPtr<NG::ChainedScaleEffect>(scale); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | skia_decoration_painter.cpp | 933 void SkiaDecorationPainter::PaintGrayScale(const SkRRect& rRect, SkCanvas* canvas, float scale) in PaintGrayScale() argument 935 if (GreatNotEqual(scale, 0.0)) { in PaintGrayScale() 942 matrix[0] = matrix[5] = matrix[10] = 0.2126f * scale; in PaintGrayScale() 943 matrix[1] = matrix[6] = matrix[11] = 0.7152f * scale; in PaintGrayScale() 944 matrix[2] = matrix[7] = matrix[12] = 0.0722f * scale; in PaintGrayScale() 945 matrix[18] = 1.0f * scale; in PaintGrayScale()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/ |
H A D | drawing_decoration_painter.cpp | 909 void DrawingDecorationPainter::PaintGrayScale(const RSRoundRect& rRect, RSCanvas* canvas, float scale) in PaintGrayScale() argument 911 if (GreatNotEqual(scale, 0.0)) { in PaintGrayScale() 918 matrix[0] = matrix[5] = matrix[10] = 0.2126f * scale; in PaintGrayScale() 919 matrix[1] = matrix[6] = matrix[11] = 0.7152f * scale; in PaintGrayScale() 920 matrix[2] = matrix[7] = matrix[12] = 0.0722f * scale; in PaintGrayScale() 921 matrix[18] = 1.0f * scale; in PaintGrayScale()
|
/third_party/ffmpeg/libavcodec/ |
H A D | mpegaudiodec_template.c | 244 /* scale factor multiply for layer 1 */ in decode_init_static() 417 /* scale factors */ in mp_decode_layer1() 470 int scale, qindex, bits, steps, k, l, m, b; in mp_decode_layer2() local 506 /* scale codes */ in mp_decode_layer2() 518 /* scale factors */ in mp_decode_layer2() 559 scale = scale_factors[ch][i][k]; in mp_decode_layer2() 570 l2_unscale_group(steps, v2 & 15, scale); in mp_decode_layer2() 572 l2_unscale_group(steps, (v2 >> 4) & 15, scale); in mp_decode_layer2() 574 l2_unscale_group(steps, v2 >> 8 , scale); in mp_decode_layer2() 578 v = l1_unscale(bits - 1, v, scale); in mp_decode_layer2() [all...] |
/third_party/lame/libmp3lame/ |
H A D | lame.c | 678 /* mapping VBR scale to internal VBR quality settings */ in lame_init_params() 1240 m[0][0] *= gfp->scale; in lame_init_params() 1241 m[0][1] *= gfp->scale; in lame_init_params() 1242 m[1][0] *= gfp->scale; in lame_init_params() 1243 m[1][1] *= gfp->scale; in lame_init_params() 1435 MSGF(gfc, "\tscaling: %g\n", gfp->scale); in lame_print_internals() 1614 /* find the gain and scale change required for no clipping */ in save_gain_values() 1924 /* input is assumed to be normalized to +/- 32768 for full scale */ in lame_encode_buffer_float() 1934 /* input is assumed to be normalized to +/- 1.0 for full scale */ in lame_encode_buffer_ieee_float() 1944 /* input is assumed to be normalized to +/- 1.0 for full scale */ in lame_encode_buffer_interleaved_ieee_float() [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_tex.c | 186 nir_ssa_def *scale = nir_frcp(b, txs); in lower_offset() local 191 scale)); in lower_offset() 228 nir_ssa_def *scale = nir_frcp(b, txs); in lower_rect() local 236 nir_src_for_ssa(nir_fmul(b, coords, scale))); in lower_rect() 246 nir_ssa_def *scale = nir_build_load_texture_rect_scaling(b, 32, idx); in lower_rect_tex_scale() local 254 nir_src_for_ssa(nir_fmul(b, coords, scale))); in lower_rect_tex_scale()
|
/third_party/littlefs/scripts/ |
H A D | plot.py | 94 # figure out prefix and scale 113 # figure out prefix and scale 279 # scale if we're printing with dots or braille 294 def scale(self, x, y): member in Plot 295 # scale and clamp 321 # scale 322 x, y = self.scale(x, y) 331 # scale 332 x1, y1 = self.scale(x1, y1) 333 x2, y2 = self.scale(x 792 def scale(self, width, height): global() member in Grid [all...] |
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_draw.cpp | 580 ctx->vp_state.viewport_states[i].translate[0] - ctx->vp_state.viewport_states[i].scale[0], in zink_draw() 581 ctx->vp_state.viewport_states[i].translate[1] - ctx->vp_state.viewport_states[i].scale[1], in zink_draw() 582 MAX2(ctx->vp_state.viewport_states[i].scale[0] * 2, 1), in zink_draw() 583 ctx->vp_state.viewport_states[i].scale[1] * 2, in zink_draw() 586 ctx->vp_state.viewport_states[i].translate[2] - ctx->vp_state.viewport_states[i].scale[2], in zink_draw() 588 CLAMP(ctx->vp_state.viewport_states[i].translate[2] + ctx->vp_state.viewport_states[i].scale[2], in zink_draw()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderDerivateTests.cpp | 361 const tcu::Vec4& scale, in verifyConstantDerivate() 379 const tcu::Vec4 resDerivate = readDerivate(result, scale, bias, x, y); in verifyConstantDerivate() 1032 const tcu::Vec4 scale = isX ? xScale : yScale; in verify() local 1039 reference = reference * scale; in verify() 1179 // No scale or bias used for accuracy. in LinearDerivateCase() 1185 // Compute scale - bias that normalizes to 0..1 range. in LinearDerivateCase() 1337 const tcu::Vec4 scale = isX ? xScale : yScale; in verify() local 1344 reference = reference * scale; in verify() 1475 // No scale or bias used for accuracy. in TextureDerivateCase() 1481 // Compute scale in TextureDerivateCase() 355 verifyConstantDerivate(tcu::TestLog& log, const tcu::ConstPixelBufferAccess& result, const tcu::PixelBufferAccess& errorMask, glu::DataType dataType, const tcu::Vec4& reference, const tcu::Vec4& threshold, const tcu::Vec4& scale, const tcu::Vec4& bias, VerificationLogging logPolicy = LOG_ALL) verifyConstantDerivate() argument [all...] |
/third_party/skia/third_party/externals/imgui/backends/ |
H A D | imgui_impl_vulkan.cpp | 406 // Setup scale and translation: in ImGui_ImplVulkan_SetupRenderState() 409 float scale[2]; in ImGui_ImplVulkan_SetupRenderState() local 410 scale[0] = 2.0f / draw_data->DisplaySize.x; in ImGui_ImplVulkan_SetupRenderState() 411 scale[1] = 2.0f / draw_data->DisplaySize.y; in ImGui_ImplVulkan_SetupRenderState() 413 translate[0] = -1.0f - draw_data->DisplayPos.x * scale[0]; in ImGui_ImplVulkan_SetupRenderState() 414 translate[1] = -1.0f - draw_data->DisplayPos.y * scale[1]; in ImGui_ImplVulkan_SetupRenderState() 415 vkCmdPushConstants(command_buffer, bd->PipelineLayout, VK_SHADER_STAGE_VERTEX_BIT, sizeof(float) * 0, sizeof(float) * 2, scale); in ImGui_ImplVulkan_SetupRenderState() 423 // Avoid rendering when minimized, scale coordinates for retina displays (screen coordinates != framebuffer coordinates) in ImGui_ImplVulkan_RenderDrawData() 767 // Constants: we are using 'vec2 offset' and 'vec2 scale' instead of a full 3d projection matrix in ImGui_ImplVulkan_CreatePipelineLayout() 942 // Constants: we are using 'vec2 offset' and 'vec2 scale' instea in ImGui_ImplVulkan_CreateDeviceObjects() [all...] |
/third_party/optimized-routines/math/test/rtest/ |
H A D | dotest.c | 63 static uint32 doubletop(int x, int scale); 64 static uint32 floatval(int x, int scale); 2155 static uint32 doubletop(int x, int scale) { in doubletop() argument 2156 int e = 0x412 + scale; in doubletop() 2162 static uint32 floatval(int x, int scale) { in floatval() argument 2163 int e = 0x95 + scale; in floatval()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_lens_correction.cpp | 518 const real64 scale = 0.1 * k5; 522 roots [numRoots++] = scale * (offset + sDiscrim); 523 roots [numRoots++] = scale * (offset - sDiscrim); 555 const real64 scale = sqrt (21.0) / (42.0 * k7); 561 const real64 sDiscrim1 = scale * sqrt (discrim1); 572 const real64 sDiscrim2 = scale * sqrt (discrim2); 2227 // Find origin and scale. 2250 // Find maximum scale factor. 2268 // Allocate 16-bit scale table.
|