/kernel/linux/linux-5.10/drivers/gpu/drm/panel/ |
H A D | panel-raydium-rm67191.c | 266 struct rad_panel *rad = to_rad_panel(panel); in rad_panel_prepare() local 269 if (rad->prepared) in rad_panel_prepare() 272 ret = regulator_bulk_enable(rad->num_supplies, rad->supplies); in rad_panel_prepare() 276 if (rad->reset) { in rad_panel_prepare() 277 gpiod_set_value_cansleep(rad->reset, 1); in rad_panel_prepare() 279 gpiod_set_value_cansleep(rad->reset, 0); in rad_panel_prepare() 283 rad->prepared = true; in rad_panel_prepare() 290 struct rad_panel *rad = to_rad_panel(panel); in rad_panel_unprepare() local 293 if (!rad in rad_panel_unprepare() 318 struct rad_panel *rad = to_rad_panel(panel); rad_panel_enable() local 403 struct rad_panel *rad = to_rad_panel(panel); rad_panel_disable() local 466 struct rad_panel *rad = mipi_dsi_get_drvdata(dsi); rad_bl_get_brightness() local 487 struct rad_panel *rad = mipi_dsi_get_drvdata(dsi); rad_bl_update_status() local 520 rad_init_regulators(struct rad_panel *rad) rad_init_regulators() argument 620 struct rad_panel *rad = mipi_dsi_get_drvdata(dsi); rad_panel_remove() local 635 struct rad_panel *rad = mipi_dsi_get_drvdata(dsi); rad_panel_shutdown() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/ |
H A D | panel-raydium-rm67191.c | 267 struct rad_panel *rad = to_rad_panel(panel); in rad_panel_prepare() local 270 if (rad->prepared) in rad_panel_prepare() 273 ret = regulator_bulk_enable(rad->num_supplies, rad->supplies); in rad_panel_prepare() 277 if (rad->reset) { in rad_panel_prepare() 278 gpiod_set_value_cansleep(rad->reset, 1); in rad_panel_prepare() 280 gpiod_set_value_cansleep(rad->reset, 0); in rad_panel_prepare() 284 rad->prepared = true; in rad_panel_prepare() 291 struct rad_panel *rad = to_rad_panel(panel); in rad_panel_unprepare() local 294 if (!rad in rad_panel_unprepare() 319 struct rad_panel *rad = to_rad_panel(panel); rad_panel_enable() local 404 struct rad_panel *rad = to_rad_panel(panel); rad_panel_disable() local 467 struct rad_panel *rad = mipi_dsi_get_drvdata(dsi); rad_bl_get_brightness() local 488 struct rad_panel *rad = mipi_dsi_get_drvdata(dsi); rad_bl_update_status() local 521 rad_init_regulators(struct rad_panel *rad) rad_init_regulators() argument 621 struct rad_panel *rad = mipi_dsi_get_drvdata(dsi); rad_panel_remove() local 634 struct rad_panel *rad = mipi_dsi_get_drvdata(dsi); rad_panel_shutdown() local [all...] |
/third_party/skia/bench/ |
H A D | BlurRectBench.cpp | 29 BlurRectBench(SkScalar rad) { in BlurRectBench() argument 30 fRadius = rad; in BlurRectBench() 79 BlurRectDirectBench(SkScalar rad) : INHERITED(rad) { in BlurRectDirectBench() argument 82 if (SkScalarFraction(rad) != 0) { in BlurRectDirectBench() 83 name.printf("blurrect_direct_%.2f", SkScalarToFloat(rad)); in BlurRectDirectBench() 85 name.printf("blurrect_direct_%d", SkScalarRoundToInt(rad)); in BlurRectDirectBench() 106 BlurRectSeparableBench(SkScalar rad) : INHERITED(rad) { } in BlurRectSeparableBench() argument 131 BlurRectBoxFilterBench(SkScalar rad) argument 159 BlurRectGaussianBench(SkScalar rad) BlurRectGaussianBench() argument [all...] |
H A D | PolyUtilsBench.cpp | 121 SkScalar rad = 0; variable 124 *poly->push() = SkPoint::Make(c + SkScalarCos(rad) * r1, c + SkScalarSin(rad) * r1); 125 rad += drad; 126 *poly->push() = SkPoint::Make(c + SkScalarCos(rad) * r2, c + SkScalarSin(rad) * r2); 127 rad += drad; 146 SkScalar rad = 0; variable 149 *poly->push() = SkPoint::Make(c + SkScalarCos(rad) * r, c + SkScalarSin(rad) * 170 SkScalar rad = -SK_ScalarPI / 2; global() variable 195 SkScalar rad = 0; global() variable 220 SkScalar rad = 0; global() variable [all...] |
H A D | MorphologyBench.cpp | 36 MorphologyBench(SkScalar rad, MorphologyType style) in MorphologyBench() argument 38 fRadius = rad; in MorphologyBench() 40 const char* name = rad > 0 ? gStyleName[style] : "none"; in MorphologyBench() 41 if (SkScalarFraction(rad) != 0) { in MorphologyBench() 42 fName.printf("morph_%.2f_%s", SkScalarToFloat(rad), name); in MorphologyBench() 44 fName.printf("morph_%d_%s", SkScalarRoundToInt(rad), name); in MorphologyBench()
|
H A D | BlurBench.cpp | 37 BlurBench(SkScalar rad, SkBlurStyle bs) { in BlurBench() argument 38 fRadius = rad; in BlurBench() 40 const char* name = rad > 0 ? gStyleName[bs] : "none"; in BlurBench() 42 if (SkScalarFraction(rad) != 0) { in BlurBench() 43 fName.printf("blur_%.2f_%s_%s", SkScalarToFloat(rad), name, quality); in BlurBench() 45 fName.printf("blur_%d_%s_%s", SkScalarRoundToInt(rad), name, quality); in BlurBench()
|
/third_party/skia/tests/ |
H A D | TracingTest.cpp | 118 SkScalar rad = SkDegreesToRadians(SkIntToScalar(i)); in test_trace_counters() local 119 TRACE_COUNTER1("skia", "sin", SkScalarSin(rad) * 1000.0f + 1000.0f); in test_trace_counters() 129 SkScalar rad = SkDegreesToRadians(SkIntToScalar(i)); in test_trace_counters() local 130 TRACE_COUNTER1("skia", "sin", SkScalarSin(rad) * 1000.0f + 1000.0f); in test_trace_counters() 131 TRACE_COUNTER1("skia", "cos", SkScalarCos(rad) * 1000.0f + 1000.0f); in test_trace_counters() 142 SkScalar rad = SkDegreesToRadians(SkIntToScalar(i)); in test_trace_counters() local 144 "sin", SkScalarSin(rad) * 1000.0f + 1000.0f, in test_trace_counters() 145 "cos", SkScalarCos(rad) * 1000.0f + 1000.0f); in test_trace_counters()
|
H A D | RRectInPathTest.cpp | 175 const SkScalar rad = 12814; in test_tricky_radii() local 176 const SkVector vec[] = { { rad, rad }, { 0, rad }, { rad, rad }, { 0, rad } }; in test_tricky_radii() 200 const SkScalar rad = 40; in test_empty_crbug_458524() local 201 rr.setRectXY(bounds, rad, rad); in test_empty_crbug_458524() 416 set_radii(SkVector radii[4], int index, float rad) set_radii() argument 426 const float rad = 33436320; test_skbug_3239() local [all...] |
H A D | PolyUtilsTest.cpp | 201 SkScalar rad = 0; in DEF_TEST() local 204 *poly.push() = SkPoint::Make(c + SkScalarCos(rad) * r1, c + SkScalarSin(rad) * r1); in DEF_TEST() 205 rad += drad; in DEF_TEST() 206 *poly.push() = SkPoint::Make(c + SkScalarCos(rad) * r2, c + SkScalarSin(rad) * r2); in DEF_TEST() 207 rad += drad; in DEF_TEST()
|
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/ |
H A D | Matrix.java | 139 * Rotates this Matrix along the x-axis by rad radians 143 public Matrix rotateX(float rad) { in rotateX() argument 144 nRotate(this.mNativeInstance, 1, 0, 0, rad); in rotateX() 149 * Rotates this Matrix along the y-axis by rad radians 153 public Matrix rotateY(float rad) { in rotateY() argument 154 nRotate(this.mNativeInstance, 0, 1, 0, rad); in rotateY() 159 * Rotates this Matrix along the z-axis by rad radians 163 public Matrix rotateZ(float rad) { in rotateZ() argument 164 nRotate(this.mNativeInstance, 0, 0, 1, rad); in rotateZ() 169 * Rotates this Matrix along the (x,y,z) axis by rad radian 173 rotate(float x, float y, float z, float rad) rotate() argument 210 nRotate(long mNativeInstance, float x, float y, float z, float rad) nRotate() argument [all...] |
/third_party/skia/docs/examples/ |
H A D | Path_incReserve.cpp | 10 SkScalar rad = SK_ScalarPI * 2 * i / sides; in REG_FIDDLE() 11 path->lineTo(SkScalarCos(rad) * size, SkScalarSin(rad) * size); in REG_FIDDLE()
|
/third_party/python/Lib/turtledemo/ |
H A D | fractalcurves.py | 47 def fractalgon(self, n, rad, lev, dir): 52 edge = 2 * rad * math.sin(math.pi / n) 54 self.fd(rad) 62 self.bk(rad)
|
/third_party/skia/gm/ |
H A D | backdrop.cpp | 27 static sk_sp<SkShader> make_shader(SkScalar cx, SkScalar cy, SkScalar rad) { in make_shader() argument 44 const SkScalar cx = 128, cy = 128, rad = 100; in do_draw() local 46 p.setShader(make_shader(cx, cy, rad)); in do_draw() 48 canvas->drawCircle(cx, cy, rad, p); in do_draw()
|
H A D | addarc.cpp | 95 const SkScalar rad = SkDegreesToRadians(deg); in DEF_SIMPLE_GM() local 96 SkScalar rx = SkScalarCos(rad) * R; in DEF_SIMPLE_GM() 97 SkScalar ry = SkScalarSin(rad) * R; in DEF_SIMPLE_GM() 102 SkScalar arcLen = rad * R; in DEF_SIMPLE_GM()
|
/third_party/jerryscript/jerry-core/ecma/base/ |
H A D | ecma-helpers-number.c | 775 int32_t rad = ecma_number_to_int32 (radix_num); in ecma_number_parse_int() local 781 if (rad != 0) in ecma_number_parse_int() 784 if (rad < 2 || rad > 36) in ecma_number_parse_int() 789 else if (rad != 16) in ecma_number_parse_int() 797 rad = 10; in ecma_number_parse_int() 810 rad = 16; in ecma_number_parse_int() 836 current_number = rad; in ecma_number_parse_int() 839 if (!(current_number < rad)) in ecma_number_parse_int() 878 multiplier *= (ecma_number_t) rad; in ecma_number_parse_int() [all...] |
/third_party/skia/src/gpu/ops/ |
H A D | StrokeRectOp.cpp | 65 const SkScalar rad = SkScalarHalf(width); in init_nonaa_stroke_rect_strip() local 67 verts[0].set(rect.fLeft + rad, rect.fTop + rad); in init_nonaa_stroke_rect_strip() 68 verts[1].set(rect.fLeft - rad, rect.fTop - rad); in init_nonaa_stroke_rect_strip() 69 verts[2].set(rect.fRight - rad, rect.fTop + rad); in init_nonaa_stroke_rect_strip() 70 verts[3].set(rect.fRight + rad, rect.fTop - rad); in init_nonaa_stroke_rect_strip() 71 verts[4].set(rect.fRight - rad, rec in init_nonaa_stroke_rect_strip() 139 SkScalar rad = SkScalarHalf(fStrokeWidth); NonAAStrokeRectOp() local [all...] |
/third_party/skia/modules/canvaskit/ |
H A D | util.js | 8 function radiansToDegrees(rad) { 9 return (rad / Math.PI) * 180;
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/ |
H A D | path_interior.cpp | 78 const float rad = rect.Width() / 8; // 8 用于计算矩形的内边距 in draw_sence() local 93 OH_Drawing_RoundRect* rr = OH_Drawing_RoundRectCreate(r, rad, rad); in draw_sence() 104 rr = OH_Drawing_RoundRectCreate(r, rad, rad); in draw_sence()
|
H A D | dashing.cpp | 135 float rad = -M_PI_2; in make_path_star() local 142 rad += drad; in make_path_star() 143 OH_Drawing_PathLineTo(path, cos(rad), sin(rad)); in make_path_star() 144 DrawPathGetBound(r, cos(rad), sin(rad)); in make_path_star()
|
H A D | add_arc.cpp | 76 const float rad = (deg) * (FLOAT_PI / 180); in OnTestFunction() local 77 float rx = cosf(rad) * R; in OnTestFunction() 78 float ry = sinf(rad) * R; in OnTestFunction()
|
/third_party/cups-filters/filter/pdftopdf/ |
H A D | qpdf_pdftopdf.cc | 147 Matrix &Matrix::rotate(double rad) // {{{ in rotate() argument 151 tmp.ctm[0]=cos(rad); in rotate() 152 tmp.ctm[1]=sin(rad); in rotate() 153 tmp.ctm[2]=-sin(rad); in rotate() 154 tmp.ctm[3]=cos(rad); in rotate()
|
/third_party/skia/modules/skottie/src/effects/ |
H A D | DropShadowEffect.cpp | 60 const auto rad = SkDegreesToRadians(90 - fDirection); variable 61 fDropShadow->setOffset(SkVector::Make( fDistance * SkScalarCos(rad), 62 -fDistance * SkScalarSin(rad)));
|
H A D | ShadowStyles.cpp | 44 const auto rad = SkDegreesToRadians(180 + fAngle), // 0deg -> left (style) variable 48 const auto offset = SkV2{ fDistance * SkScalarCos(rad), 49 -fDistance * SkScalarSin(rad)};
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_acrusher.c | 277 double rad, sunder, smax, sover; in config_input() local 284 rad = s->lforange / 2.; in config_input() 285 s->smin = FFMAX(s->samples - rad, 1.); in config_input() 286 sunder = s->samples - rad - s->smin; in config_input() 287 smax = FFMIN(s->samples + rad, 250.); in config_input() 288 sover = s->samples + rad - smax; in config_input()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/ |
H A D | rs_spring_model.h | 83 double rad = dampedAngularVelocity_ * time; in CalculateDisplacement() local 84 RSAnimatableType coeffPeriod = initialOffset_ * cos(rad) + coeffScale_ * sin(rad); in CalculateDisplacement()
|