/frameworks/base/libs/hwui/ |
H A D | TessellationCache.cpp | 189 static void mapPointFakeZ(Vector3& point, const mat4* transformXY, const mat4* transformZ) { argument 191 point.z = transformZ->mapZ(point); 194 transformXY->mapPoint(point.x, point.y);
|
H A D | PathTessellator.cpp | 23 ALOGD("point %d at %f %f, alpha %f", \ 28 ALOGD("point %d at %f %f", i, buffer[i].x, buffer[i].y); \ 165 * Outset the bounds of point data (for line endpoints or points) to account for stroke 202 * Fills a vertexBuffer with non-alpha vertices, zig-zagging at each perimeter point to create a 339 * 1 - create the AA perimeter of unit width, by zig-zagging at each point around the perimeter of 351 // generate alpha points - fill Alpha vertex gaps in between each point with 363 // AA point offset from original point is that point's normal, such that each side is offset 385 // triangle strip that fills the hull, repeating the first inner point t 431 const Vertex& point = isFirst ? vertices.front() : vertices.back(); local 910 addPoint(const SkPoint& point) argument [all...] |
H A D | SpotShadow.cpp | 102 static float angle(const Vector2& point, const Vector2& center) { argument 103 return atan2(point.y - center.y, point.x - center.x); 114 * @param p1 The first point defining the line segment 115 * @param p2 The second point defining the line segment 121 // intersection point should stay on both the ray and the edge of (p1, p2). 178 // Remove the middle point of the three last 199 // Remove the middle point of the three last 232 * Sort points about a center point 278 * Test whether a point i [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Path_Delegate.java | 510 Point2D.Float point = points.get(i); 511 float distance = previousPoint != null ? (float) previousPoint.distance(point) : .0f; 513 result[i * 3 + 1] = point.x; 514 result[i * 3 + 2] = point.y; 517 previousPoint = point; 634 * Set the beginning of the next contour to the point (x,y). 644 * Set the beginning of the next contour relative to the last point on the 660 * Add a line from the last point to the specified point (x,y). 661 * If no moveTo() call has been made for this contour, the first point i [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | CompatibilityInfo.java | 379 public void translatePointInScreenToAppWindow(PointF point) { argument 382 point.x *= scale; 383 point.y *= scale;
|
/frameworks/base/media/mca/filterpacks/native/base/ |
H A D | geometry.cpp | 130 const Point& Quad::point(int ix) const { function in class:android::filterfw::Quad
|
/frameworks/native/opengl/libagl/ |
H A D | state.cpp | 92 c->point.size = TRI_ONE; 147 c->point.smooth = enabled; 492 c->point.size = TRI_FROM_FIXED(gglFloatToFixed(size)); 502 c->point.size = TRI_FROM_FIXED(size);
|
/frameworks/rs/api/ |
H A D | rs_object_info.spec | 305 Returns the Allocation for a given pointer. The pointer should point within a valid
|
H A D | rs_value_types.spec | 27 <tr><td>Floating point: </td> <td> </td> <td>half </td> <td>float </td> <td>double</td></tr> 92 summary: 16 bit floating point value 94 A 16 bit floating point value.
|
H A D | rs_math.spec | 1129 The precision is that of a 16 bit floating point value. 1145 The precision is that of a 16 bit floating point value. 1161 The precision is that of a 16 bit floating point value. 1228 summary: Creates a floating point from mantissa and exponent 1230 Returns the floating point created from the mantissa and exponent, 1740 ret: #2#1, "Floating point portion of the value." 1782 Returns a half-precision floating point NaN value (Not a Number). 2222 expected from using 16 bit floating point values. 2249 expected from using 16 bit floating point values. 2276 expected from using 16 bit floating point value [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Graphics.cpp | 263 SkIPoint* GraphicsJNI::jpoint_to_ipoint(JNIEnv* env, jobject obj, SkIPoint* point) argument 267 point->set(env->GetIntField(obj, gPoint_xFieldID), 269 return point; 280 SkPoint* GraphicsJNI::jpointf_to_point(JNIEnv* env, jobject obj, SkPoint* point) argument 284 point->set(env->GetIntField(obj, gPointF_xFieldID), 286 return point;
|
H A D | Path.cpp | 269 const SkPoint& point) { 274 segmentPoints.push_back(point); 320 // Subdivide a section of the Bezier curve, set the mid-point and the mid-t value. 337 // errorSquared as a metric. Cubic Bezier curves can have an inflection point that improperly 340 // the point. It is clearly not the case that we can linearly interpolate at that point. 368 // Found an inflection point. No need to double-check. 412 // Returns a float[] with each point along the path represented by 3 floats 413 // * fractional length along the path that the point resides 416 // Note that more than one point ma 268 addMove(std::vector<SkPoint>& segmentPoints, std::vector<float>& lengths, const SkPoint& point) argument 459 const SkPoint& point = segmentPoints[i]; local [all...] |
/frameworks/base/core/java/android/view/ |
H A D | AccessibilityInteractionController.java | 732 private void applyAppScaleAndMagnificationSpecIfNeeded(Point point, argument 740 point.x *= applicationScale; 741 point.y *= applicationScale; 745 point.x *= spec.scale; 746 point.y *= spec.scale; 747 point.x += (int) spec.offsetX; 748 point.y += (int) spec.offsetY;
|
H A D | ViewGroup.java | 167 // Lazily-created holder for point computations. 1510 * determine which of our children is the new target; at that point we will 1516 * is also no longer under the drag point. 1557 // Find the frontmost child view that lies under the given point, and calculate 1585 final float[] point = getTempPoint(); 1586 point[0] = tx; 1587 point[1] = ty; 1588 transformPointToViewLocal(point, child); 1590 mCurrentDragStartEvent.mX = point[0]; 1591 mCurrentDragStartEvent.mY = point[ 2613 transformPointToViewLocal(float[] point, View child) argument [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | Serializer.cpp | 514 const char *const VolumeTraits::volumePointTag = "point"; 565 Vector<int32_t> point; local 566 collectionFromString<DefaultTraits<int32_t> >((const char*)pointDefinition, point, ","); 567 if (point.size() != 2) { 572 element->add(CurvePoint(point[0], point[1]));
|
/frameworks/base/core/java/android/gesture/ |
H A D | GestureUtils.java | 474 GesturePoint point = originalPoints.get(i); 476 points[index] = point.x; 477 points[index + 1] = point.y;
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.cpp | 234 source_coords_[index] = quad.point(i).x(); 235 source_coords_[index+1] = quad.point(i).y(); 250 target_coords_[index] = (quad.point(i).x() * 2.0) - 1.0; 251 target_coords_[index+1] = (quad.point(i).y() * 2.0) - 1.0;
|
/frameworks/native/include/ui/ |
H A D | Region.h | 54 bool contains(const Point& point) const;
|
/frameworks/native/opengl/tests/angeles/ |
H A D | demo.c | 177 static void superShapeMap(VECTOR3 *point, float r1, float r2, float t, float p) argument 180 point->x = (float)(cos(t) * cos(p) / r1 / r2); 181 point->y = (float)(sin(t) * cos(p) / r1 / r2); 182 point->z = (float)(sin(p) / r2);
|
/frameworks/support/v7/mediarouter/ |
H A D | Android.mk | 110 # to mediarouter, so we'll have to point doclava at the sources for
|
/frameworks/native/libs/ui/ |
H A D | Region.cpp | 230 bool Region::contains(const Point& point) const { 231 return contains(point.x, point.y);
|
/frameworks/base/core/java/android/text/ |
H A D | Layout.java | 520 // Adjust the point at which to start rendering depending on the 1424 public void getCursorPath(int point, Path dest, argument 1428 int line = getLineForOffset(point); 1433 float h1 = getPrimaryHorizontal(point, clamped) - 0.5f; 1434 float h2 = isLevelBoundary(point) ? getSecondaryHorizontal(point, clamped) - 0.5f : h1;
|
/frameworks/base/core/java/android/widget/ |
H A D | AbsListView.java | 2132 // Check if our previous measured size was at a point where we should scroll later. 3371 * Maps a point to a position in the list. 3375 * @return The position of the item which contains the specified point, or 3376 * {@link #INVALID_POSITION} if the point does not intersect an item. 3400 * Maps a point to a the rowId of the item which intersects that point. 3404 * @return The rowId of the item which contains the specified point, or {@link #INVALID_ROW_ID} 3405 * if the point does not intersect an item. 3428 final float[] point = mTmpPoint; 3429 point[ [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
H A D | MultiSelectManager.java | 390 * Sets the end point for the current range selection, started by a call to 1482 * Start a band select operation at the given point. 1485 * would have a relative origin of (0, 0), even though its absolute point has a higher 1509 * absolute point has a higher y-value. 1802 * view as it relates to band selection rather than an explicit point. For example, two 1804 * selection originating within the item would select the same items no matter which point 1923 * The location of a point relative to the Limits of nearby items; consists of both an x- and 1930 RelativePoint(Point point) { argument 1931 this.xLocation = new RelativeCoordinate(mColumnBounds, point.x); 1932 this.yLocation = new RelativeCoordinate(mRowBounds, point [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.h | 501 bool addSyncPoint(const std::shared_ptr<SyncPoint>& point);
|