HomeSort by relevance Sort by last modified time
    Searched full:slope (Results 1 - 25 of 115) sorted by null

1 2 3 4 5

  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
HermiteInterpolatorTests.java 68 // XY-slope at p0=3.0 (-0.75/-0.25)
69 assertFloatEquals("slope x p0", -0.25f, mInterpolator.mSlope1X);
70 assertFloatEquals("slope y p0", -0.75f, mInterpolator.mSlope1Y);
71 // XY-slope at p1=1/3.0 (0.50/1.50)
72 assertFloatEquals("slope x p1", 1.50f, mInterpolator.mSlope2X);
73 assertFloatEquals("slope y p1", 0.50f, mInterpolator.mSlope2Y);
104 // XY-slope at p1=1/3.0 (0.50/1.50)
105 assertFloatEquals("slope x p1", 1.50f, mInterpolator.mSlope1X);
106 assertFloatEquals("slope y p1", 0.50f, mInterpolator.mSlope1Y);
107 // XY-slope at p2=3.0 (1.50/0.50
    [all...]
  /frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Vignette.java 37 private float slope = 20.0f; field in class:Vignette
57 t.setText("Slope");
84 slope = (float)progress;
102 center_y, scale, shade, slope); local
107 center_y, scale, shade, slope); local
112 scale, shade, slope); local
117 scale, shade, slope); local
  /frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Vignette.java 33 private float slope = 20.0f; field in class:Vignette
53 t.setText("Slope");
80 slope = (float)progress;
98 center_y, scale, shade, slope); local
103 center_y, scale, shade, slope); local
108 scale, shade, slope); local
113 scale, shade, slope); local
  /frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Vignette.java 37 private float slope = 20.0f; field in class:Vignette
57 t.setText("Slope");
84 slope = (float)progress;
102 center_y, scale, shade, slope); local
107 center_y, scale, shade, slope); local
112 scale, shade, slope); local
117 scale, shade, slope); local
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
HermiteInterpolator.java 35 /** The slope of the tangent at the start point. */
37 /** The slope of the tangent at the end point. */
70 * {@link #mP2X}, and {@link #mP2Y}. The slope of the tangents at start and end points will be
92 // Calculate the slope of the tangent at p1.
95 // The slope of the tangent is half of the vector p0->p2.
100 // B(bx,by) is the slope vector of the tangent at p2.
107 // The slope of the tangent is the mirror image of vector B to vector A.
116 // Calculate the slope of the tangent at p2.
119 // The slope of the tangent is half of the vector p1->p3.
124 // B(bx,by) is the slope vector of the tangent at p1
    [all...]
  /frameworks/av/media/libstagefright/codecs/aacenc/src/
spreading.c 42 /* slope to higher frequencies */
47 /* slope to lower frequencies */
  /external/skia/legacy/src/core/
SkScan_Antihair.cpp 89 static SkFixed hline(int x, int stopx, SkFixed fy, SkFixed /*slope*/,
152 static SkFixed vline(int y, int stopy, SkFixed fx, SkFixed /*slope*/,
204 SkFixed slope, SkBlitter*, int);
233 SkFixed fstart, slope;
246 slope = 0;
249 slope = fastfixdiv(y1 - y0, x1 - x0);
250 SkASSERT(slope >= -SK_Fixed1 && slope <= SK_Fixed1);
251 fstart += (slope * (32 - (x0 & 63)) + 32) >> 6;
270 fstart += slope * (clip->fLeft - istart)
    [all...]
SkScan_Hairline.cpp 98 SkFixed slope = SkFixedDiv(dy, dx);
99 SkFixed startY = SkFDot6ToFixed(y0) + (slope * ((32 - x0) & 63) >> 6);
101 horiline(ix0, ix1, startY, slope, blitter);
113 SkFixed slope = SkFixedDiv(dx, dy);
114 SkFixed startX = SkFDot6ToFixed(x0) + (slope * ((32 - y0) & 63) >> 6);
116 vertline(iy0, iy1, startX, slope, blitter);
SkEdge.cpp 68 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); local
70 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, (32 - y0) & 63)); // + SK_Fixed1/2
71 fDX = slope;
108 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); local
110 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, (32 - y0) & 63)); // + SK_Fixed1/2
111 fDX = slope;
  /external/skia/bench/
bench_util.py 206 self.slope = B
216 str(self.slope),
224 """Finds the minimal slope given one standard deviation."""
225 slope = self.slope
232 if slope < 0:
233 lower_left_y = slope*regr_start + intercept - error
234 upper_right_y = slope*regr_end + intercept + error
237 elif slope > 0:
238 upper_left_y = slope*regr_start + intercept + erro
    [all...]
  /external/webkit/Source/WebCore/svg/
SVGComponentTransferFunctionElement.h 49 DECLARE_ANIMATED_NUMBER(Slope, slope)
SVGComponentTransferFunctionElement.cpp 36 DEFINE_ANIMATED_NUMBER(SVGComponentTransferFunctionElement, SVGNames::slopeAttr, Slope, slope)
148 func.slope = slope();
SVGComponentTransferFunctionElement.idl 42 readonly attribute SVGAnimatedNumber slope;
  /external/skia/src/core/
SkScan_Antihair.cpp 100 virtual SkFixed drawCap(int x, SkFixed fy, SkFixed slope, int mod64) = 0;
101 virtual SkFixed drawLine(int x, int stopx, SkFixed fy, SkFixed slope) = 0;
109 virtual SkFixed drawCap(int x, SkFixed fy, SkFixed slope, int mod64) SK_OVERRIDE {
131 SkFixed slope) SK_OVERRIDE {
405 SkFixed fstart, slope;
423 slope = 0;
426 slope = fastfixdiv(y1 - y0, x1 - x0);
427 SkASSERT(slope >= -SK_Fixed1 && slope <= SK_Fixed1);
428 fstart += (slope * (32 - (x0 & 63)) + 32) >> 6
    [all...]
SkEdge.h 128 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0);
131 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2
132 fDX = slope;
SkEdge.cpp 74 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); local
77 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2
78 fDX = slope;
115 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); local
118 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2
119 fDX = slope;
  /external/webkit/Source/WebCore/platform/graphics/
FloatPoint.cpp 83 float slope = (p2.y() - p1.y()) / (p2.x() - p1.x()); local
84 c = p1.y() - slope * p1.x();
85 return slope;
  /frameworks/av/media/libstagefright/codecs/amrwbenc/src/
isp_isf.c 51 /* acos(isp[i])= ind*128 + ( ( isp[i]-table[ind] ) * slope[ind] )/2048 */
52 L_tmp = vo_L_mult(vo_sub(isp[i], table[ind]), slope[ind]);
53 isf[i] = vo_round((L_tmp << 4)); /* (isp[i]-table[ind])*slope[ind])>>11 */
  /external/quake/quake/src/QW/client/
d_sprite.c 204 float du, dv, vtop, vbottom, slope; local
229 slope = du / dv;
230 u_step = (int)(slope * 0x10000);
232 u = (int)((pvert->u + (slope * (vtop - pvert->v))) * 0x10000) +
266 float du, dv, vtop, vbottom, slope, uvert, unext, vvert, vnext; local
309 slope = du / dv;
310 u_step = (int)(slope * 0x10000);
312 u = (int)((uvert + (slope * (vtop - vvert))) * 0x10000) +
  /external/quake/quake/src/WinQuake/
d_sprite.cpp 204 float du, dv, vtop, vbottom, slope; local
229 slope = du / dv;
230 u_step = (int)(slope * 0x10000);
232 u = (int)((pvert->u + (slope * (vtop - pvert->v))) * 0x10000) +
266 float du, dv, vtop, vbottom, slope, uvert, unext, vvert, vnext; local
309 slope = du / dv;
310 u_step = (int)(slope * 0x10000);
312 u = (int)((uvert + (slope * (vtop - vvert))) * 0x10000) +
  /external/webkit/Source/WebCore/platform/graphics/filters/
FEComponentTransfer.h 45 , slope(0)
55 float slope; member in struct:WebCore::ComponentTransferFunction
  /external/aac/libFDK/include/
FDK_tools_rom.h 134 * \brief Helper table for window slope mapping. You should prefer the usage of the
141 * \brief Window slope access helper. Obtain a window of given length and shape.
142 * \param length Length of the window slope.
143 * \param shape Shape index of the window slope. 0: sine window, 1: Kaiser-Bessel. Any other
145 * \param Pointer to window slope or NULL if the requested window slope is not available.
  /external/aac/libAACenc/src/
transform.cpp 117 fl: left window slope length
118 nl: left window slope offset
119 fr: right window slope length
120 nr: right window slope offset
174 /* Left window slope offset */
183 /* Left window slope */
191 /* Right window slope offset */
200 /* Right window slope */
  /frameworks/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
yuv.rs 104 const float slope = 20.0f;
108 float lumen = vignetteShade / (1.0f + exp((sqrt(f) - range) * slope)) + (1.0f - vignetteShade);
  /device/samsung/tuna/liblight/
lights.c 37 // Slope values, based on total blink of 1000ms
42 // brightness at mid-slope, on 0 - 127 scale
152 // scale slope times based on flashOnMS

Completed in 1003 milliseconds

1 2 3 4 5