/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/ |
Quad.java | 89 * @param topLeft the top-left of the quad 94 public static Quad fromLineAndHeight(PointF topLeft, PointF topRight, float height) { 95 PointF dp = new PointF(topRight.x - topLeft.x, topRight.y - topLeft.y); 98 PointF p2 = new PointF(topLeft.x - np.x, topLeft.y + np.y); 100 return new Quad(topLeft, topRight, p2, p3); 147 public PointF topLeft() { 188 PointF topLeft = rotatePoint(topLeft(), center, cosa, sina) [all...] |
/external/skia/debugger/QT/ |
SkListWidget.cpp | 35 painter->drawLine(r.topLeft(),r.topRight()); 38 painter->drawLine(r.topLeft(),r.bottomLeft()); 48 painter->drawLine(r.topLeft(),r.topRight()); 51 painter->drawLine(r.topLeft(),r.bottomLeft());
|
/external/skqp/debugger/QT/ |
SkListWidget.cpp | 35 painter->drawLine(r.topLeft(),r.topRight()); 38 painter->drawLine(r.topLeft(),r.bottomLeft()); 48 painter->drawLine(r.topLeft(),r.topRight()); 51 painter->drawLine(r.topLeft(),r.bottomLeft());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
IncludeOverlay.java | 79 ControlPoint topLeft = LayoutPoint.create(mCanvas, mask.x, mask.y).toControl(); 82 int x1 = topLeft.x; 83 int y1 = topLeft.y;
|
MarqueeGesture.java | 80 LayoutPoint topLeft = ControlPoint.create(mCanvas, x, y).toLayout(); 82 mCanvas.getSelectionManager().selectWithin(topLeft, bottomRight, mInitialSelection);
|
ViewHierarchy.java | 386 * @param topLeft The top left corner of the selection rectangle. 392 LayoutPoint topLeft, 394 Rectangle selectionRectangle = new Rectangle(topLeft.x, topLeft.y, bottomRight.x 395 - topLeft.x, bottomRight.y - topLeft.y);
|
GCWrapper.java | 418 public void drawString(@NonNull String string, @NonNull Point topLeft) { 419 drawString(string, topLeft.x, topLeft.y);
|
/cts/tests/tests/view/src/android/view/cts/ |
PixelCopyGLProducerCtsActivity.java | 46 public QuadColorGLRenderer(int topLeft, int topRight, int bottomLeft, int bottomRight) { 47 mTopLeftColor = topLeft;
|
/frameworks/base/core/java/com/android/internal/policy/ |
DockedDividerUtils.java | 58 * @param topLeft Pass true if the bounds are at the top/left of the screen, false if they are 62 public static void sanitizeStackBounds(Rect bounds, boolean topLeft) { 67 if (topLeft) {
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
StatsFilter.java | 84 regionscore(pixelBuffer, width, height, quad.topLeft().x, quad.topLeft().y,
|
/frameworks/base/core/java/android/transition/ |
ChangeBounds.java | 86 new Property<ViewBounds, PointF>(PointF.class, "topLeft") { 88 public void set(ViewBounds viewBounds, PointF topLeft) { 89 viewBounds.setTopLeft(topLeft); 129 new Property<View, PointF>(PointF.class, "topLeft") { 131 public void set(View view, PointF topLeft) { 132 int left = Math.round(topLeft.x); 133 int top = Math.round(topLeft.y); 148 public void set(View view, PointF topLeft) { 149 int left = Math.round(topLeft.x); 150 int top = Math.round(topLeft.y) [all...] |
/frameworks/support/transition/src/main/java/androidx/transition/ |
ChangeBounds.java | 87 new Property<ViewBounds, PointF>(PointF.class, "topLeft") { 89 public void set(ViewBounds viewBounds, PointF topLeft) { 90 viewBounds.setTopLeft(topLeft); 130 new Property<View, PointF>(PointF.class, "topLeft") { 132 public void set(View view, PointF topLeft) { 133 int left = Math.round(topLeft.x); 134 int top = Math.round(topLeft.y); 149 public void set(View view, PointF topLeft) { 150 int left = Math.round(topLeft.x); 151 int top = Math.round(topLeft.y) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
TestGraphics.java | 90 public void drawString(@NonNull String string, @NonNull Point topLeft) { 91 mDrawn.add("drawString(" + string + "," + topLeft + ")");
|
/external/skia/tools/sk_app/win/ |
Window_win.cpp | 306 POINT topLeft = {0, 0}; 307 ClientToScreen(hWnd, &topLeft); 322 LONG tx = (ti.x / 100) - topLeft.x; 323 LONG ty = (ti.y / 100) - topLeft.y;
|
/packages/services/Car/evs/app/ |
RenderTopView.cpp | 305 const android::vec3 topLeft(left, top, 0.0f); 310 GLfloat vertsPos[] = { topLeft[X], topLeft[Y], topLeft[Z],
|
/external/eigen/test/ |
geo_alignedbox.cpp | 133 Vector2f topLeft; topLeft << m[0], M[1]; 135 VERIFY_IS_APPROX( topLeft, box.corner( BoxType::TopLeft ) );
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
CrossAppDragAndDropTests.java | 173 private String getResizeTaskCommand(int taskId, Point topLeft, Point bottomRight) 175 return AM_RESIZE_TASK + taskId + " " + topLeft.x + " " + topLeft.y + " " + bottomRight.x 232 Point topLeft = new Point(leftSide ? 0 : displaySize.x / 2, 0); 234 executeShellCommand(getResizeTaskCommand(getActivityTaskId(componentName), topLeft,
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
StyledCornersBitmapDrawable.java | 480 private void setCornerStyles(int topLeft, int topRight, int bottomRight, int bottomLeft) { 481 boolean changed = mTopLeftCornerStyle != topLeft 486 mTopLeftCornerStyle = topLeft;
|
/external/skqp/src/gpu/ccpr/ |
GrCCPathParser.cpp | 68 Sk4f topLeft = devPt; 79 topLeft = Sk4f::Min(topLeft, devPt); 85 topLeft.store(topLeftPts);
|
/frameworks/base/core/java/com/android/internal/app/ |
WindowDecorActionBar.java | 772 int topLeft[] = {0, 0}; 773 mContainerView.getLocationInWindow(topLeft); 774 startingY -= topLeft[1]; 833 int topLeft[] = {0, 0}; 834 mContainerView.getLocationInWindow(topLeft); 835 endingY -= topLeft[1]; [all...] |
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/ |
WindowDecorActionBar.java | 798 int topLeft[] = {0, 0}; 799 mContainerView.getLocationInWindow(topLeft); 800 startingY -= topLeft[1]; 847 int topLeft[] = {0, 0}; 848 mContainerView.getLocationInWindow(topLeft); 849 endingY -= topLeft[1]; [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
ScreenDecorations.java | 221 View topLeft = mOverlay.findViewById(R.id.left); 227 updateView(topLeft, Gravity.TOP | Gravity.LEFT, 0); 232 updateView(topLeft, Gravity.TOP | Gravity.LEFT, 0); 237 updateView(topLeft, Gravity.BOTTOM | Gravity.LEFT, 270); 242 updateView(topLeft, Gravity.BOTTOM | Gravity.RIGHT, 180);
|
/frameworks/base/core/java/android/gesture/ |
GestureUtils.java | 228 float topLeft = (float) Math.sqrt(xFloorSq + yFloorSq); 232 float sum = topLeft + topRight + btmLeft + btmRight; 234 float value = topLeft / sum;
|
/packages/apps/Music/src/com/android/music/ |
VerticalTextSpinner.java | 272 final int topLeft = 0; 290 canvas.clipRect(topLeft, topTop, topRight, topBottom);
|
/external/skia/src/gpu/ccpr/ |
GrCCPathParser.cpp | 70 Sk4f topLeft = devPt; 81 topLeft = Sk4f::Min(topLeft, devPt); 87 topLeft.store(topLeftPts);
|