Searched defs:by (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/
H A DSpotShadow.java10 * Unless required by applicable law or agreed to in writing, software
174 private static boolean rightTurn(float ax, float ay, float bx, float by, float cx, float cy) { argument
175 return (bx - ax) * (cy - ay) - (by - ay) * (cx - ax) > 0.00001;
323 * This function do Quick Sort by comparing X axis only.<br>
447 * This calculates a collection of triangles that represent the shadow cast by a polygonal
/frameworks/base/libs/hwui/
H A DBakedOpDispatcher.cpp10 * Unless required by applicable law or agreed to in writing, software
115 // enforces ops drawn by this function to have a pure translate or
471 int by = bx + 1; local
480 ColorTextureVertex::set(vertex++, vertices[bx], vertices[by], u1, v1, colors[bx / 2]);
483 ColorTextureVertex::set(vertex++, vertices[bx], vertices[by], u1, v1, colors[bx / 2]);
489 * TODO: handle alpha_8 textures correctly by applying paint color, but *not*
572 // Mask the ripple path by the local space projection mask in local space.
631 // only fill + default miter is supported by drawConvexPath, since others must handle joins
H A DPathTessellator.cpp10 * Unless required by applicable law or agreed to in writing, software
85 * will be offset by 1.0
172 // hairline, outset by (0.5f + fudge factor) in post-scaling space
176 // non hairline, outset by half stroke width pre-scaled, and fudge factor post scaled
339 * 1 - create the AA perimeter of unit width, by zig-zagging at each point around the perimeter of
352 // alpha 0 vertex, offset by a scaled normal.
364 // by .5 pixels
415 // TODO: this normal should be scaled by radialScale if extra != 0, see totalOffsetFromNormals()
434 // To account for square cap, move the primary cap vertices (that create the AA edge) by the
1040 // Get a threshold in path coordinates, by scalin
1092 recursiveQuadraticBezierVertices( float ax, float ay, float bx, float by, float cx, float cy, const PathApproximationInfo& approximationInfo, std::vector<Vertex>& outputVertices, int depth) argument
[all...]
H A DSpotShadow.cpp10 * Unless required by applicable law or agreed to in writing, software
72 * Normal here is defined against the edge by the current vertex and the next vertex.
89 // The index of the vertex described by this data.
107 * Calculate the intersection of a ray with the line segment defined by two points.
141 * Sort points by their X coordinates
226 bool SpotShadow::ccw(float ax, float ay, float bx, float by, argument
228 return (bx - ax) * (cy - ay) - (by - ay) * (cx - ax) > EPSILON;
243 * Swap points pointed to by i and j
437 // When centroid is covered by all circles from outline, then we consider
497 // Compute the umbra by th
[all...]
/frameworks/native/opengl/libs/ETC1/
H A Detc1.cpp9 // Unless required by applicable law or agreed to in writing, software
22 <internalformat> is given by ETC1_RGB8_OES.
30 by the following 64 bit integer:
254 int by = 0; local
256 by = 2;
259 int yy = by + y;
340 int by = 0; local
342 by = 2;
345 int yy = by + y;
/frameworks/base/graphics/java/android/graphics/
H A DColorSpace.java10 * Unless required by applicable law or agreed to in writing, software
37 * Each color space is characterized by a {@link Model color model} that defines
42 * color space, defined by {@link #getMinValue(int)} and {@link #getMaxValue(int)}
98 * <p>You can easily convert to {@link Named#SRGB sRGB} by omitting the second
123 * <p>Public static methods provided by this class, such as {@link #get(Named)}
155 * is used by the profile connection space in ICC profiles.
213 * {@link ColorSpace} can be obtained by calling {@link ColorSpace#get(Named)}:</p>
816 * A color model is required by a {@link ColorSpace} to describe the
819 * as represented by a tuple of 3 numbers (red, green and blue).
902 * <li>Ad-hoc names, often generated procedurally or by th
3150 cross(float ax, float ay, float bx, float by) argument
[all...]

Completed in 3109 milliseconds