/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | Gains.h | 32 static float volIndexToDb(const VolumeCurvePoint *point, int indexMin, int indexMax,
|
H A D | StreamDescriptor.h | 49 void setVolumeCurvePoint(device_category deviceCategory, const VolumeCurvePoint *point); 103 const VolumeCurvePoint *point);
|
H A D | VolumeCurve.h | 59 void add(const CurvePoint &point) { mCurvePoints.add(point); } argument
|
/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]));
|
H A D | StreamDescriptor.cpp | 77 const VolumeCurvePoint *point) 79 mVolumeCurve[deviceCategory] = point; 127 const VolumeCurvePoint *point) 129 editValueAt(stream).setVolumeCurvePoint(deviceCategory, point); 76 setVolumeCurvePoint(device_category deviceCategory, const VolumeCurvePoint *point) argument 125 setVolumeCurvePoint(audio_stream_type_t stream, device_category deviceCategory, const VolumeCurvePoint *point) argument
|
/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/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;
|
H A D | OrientedBoundingBox.java | 57 float[] point = new float[2]; 58 point[0] = -width / 2; 59 point[1] = height / 2; 63 matrix.mapPoints(point); 64 path.moveTo(point[0], point[1]); 66 point[0] = -width / 2; 67 point[1] = -height / 2; 68 matrix.mapPoints(point); 69 path.lineTo(point[ [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | ParameterUtils.java | 46 /** Upper/left minimal point of a normalized rectangle */ 48 /** Lower/right maximal point of a normalized rectangle */ 943 Rect activeArray, ZoomData zoomData, Point point, boolean usePreviewCrop) { 944 Rect pointedRect = new Rect(point.x, point.y, point.x, point.y); 978 // Move the rect so that the [-1000,-1000] point ends up at the preview [left, top] 942 convertCameraPointToActiveArrayPoint( Rect activeArray, ZoomData zoomData, Point point, boolean usePreviewCrop) argument
|
/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/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...] |
H A D | ViewRootImpl.java | 1833 // point of drawing it we will hold off and schedule 2071 // By this point all views have been sized and positioned 2801 // rendering at this point would lock it forever and prevent hardware renderer 3320 // At this point the resources have been updated to 6007 PointF point = new PointF(newX, newY); 6008 mTranslator.translatePointInScreenToAppWindow(point); 6009 newX = (int) (point.x + 0.5); 6010 newY = (int) (point.y + 0.5);
|
/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/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 | GraphicsJNI.h | 48 static SkIPoint* jpoint_to_ipoint(JNIEnv*, jobject jpoint, SkIPoint* point); 49 static void ipoint_to_jpoint(const SkIPoint& point, JNIEnv*, jobject jpoint); 51 static SkPoint* jpointf_to_point(JNIEnv*, jobject jpointf, SkPoint* point); 52 static void point_to_jpointf(const SkPoint& point, JNIEnv*, jobject jpointf);
|
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/graphics/java/android/graphics/ |
H A D | Point.java | 45 * Set the point's x and y coordinates 53 * Negate the point's coordinates 61 * Offset the point's coordinates by dx, dy 69 * Returns true if the point's coordinates equal (x,y) 80 Point point = (Point) o; 82 if (x != point.x) return false; 83 if (y != point.y) return false; 114 * Write this point to the specified parcel. To restore a point from 116 * @param out The parcel to write the point' [all...] |
/frameworks/base/libs/hwui/ |
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...] |
H A D | SpotShadow.h | 45 const Vector2& point, float dx, float dy);
|
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);
|
/frameworks/base/media/java/android/media/ |
H A D | FaceDetector.java | 54 * Sets the position of the mid-point between the eyes. 55 * @param point the PointF coordinates (float values) of the 56 * face's mid-point 58 public void getMidPoint(PointF point) { argument 60 point.set(mMidPointX, mMidPointY);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
H A D | Point.java | 52 public Point plus(Point point) { argument 53 return this.plus(point.x, point.y); 60 public Point minus(Point point) { argument 61 return this.minus(point.x, point.y);
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | geometry.cpp | 131 const Point& Quad::point(int ix) const { function in class:android::filterfw::Quad
|