/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/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...] |
/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...] |
/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) {
|
/cts/tests/tests/view/src/android/view/cts/ |
PixelCopyGLProducerCtsActivity.java | 46 public QuadColorGLRenderer(int topLeft, int topRight, int bottomLeft, int bottomRight) { 47 mTopLeftColor = topLeft;
|
/external/clang/test/FixIt/ |
typo.c | 27 topleft.x = 3.14, // expected-error{{field designator 'topleft' does not refer to any field in type 'struct Rectangle'; did you mean 'top_left'?}}
|
/external/eigen/test/ |
eigen2support.cpp | 39 VERIFY_IS_EQUAL((m1.corner(TopLeft,1,1)), (m1.block(0,0,1,1))); 40 VERIFY_IS_EQUAL((m1.template corner<1,1>(TopLeft)), (m1.template block<1,1>(0,0)));
|
geo_alignedbox.cpp | 133 Vector2f topLeft; topLeft << m[0], M[1]; 135 VERIFY_IS_APPROX( topLeft, box.corner( BoxType::TopLeft ) );
|
/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());
|
/external/skia/src/gpu/ccpr/ |
GrCCCoverageProcessor_GSImpl.cpp | 208 g->codeAppendf("float2 topleft = %s[i];", hullPts); 214 g->codeAppend ("float2 leftbloat = float2(topleft.y > bottomleft.y ? +bloat : -bloat, " 215 "topleft.x > bottomleft.x ? -bloat : bloat);"); 216 g->codeAppend ("float2 upbloat = float2(topright.y > topleft.y ? +bloat : -bloat, " 217 "topright.x > topleft.x ? -bloat : +bloat);"); 230 g->codeAppendf( "%s(topleft + float2(-leftbloat.y, leftbloat.x));", emitVertexFn); 234 g->codeAppendf( "%s(topleft + leftbloat);", emitVertexFn); 238 g->codeAppendf("%s(topleft + upbloat);", emitVertexFn);
|
/external/skqp/src/gpu/ccpr/ |
GrCCCoverageProcessor_GSImpl.cpp | 199 g->codeAppendf("float2 topleft = %s[i];", hullPts); 205 g->codeAppend ("float2 leftbloat = float2(topleft.y > bottomleft.y ? +bloat : -bloat, " 206 "topleft.x > bottomleft.x ? -bloat : bloat);"); 207 g->codeAppend ("float2 upbloat = float2(topright.y > topleft.y ? +bloat : -bloat, " 208 "topright.x > topleft.x ? -bloat : +bloat);"); 221 g->codeAppendf( "%s(topleft + float2(-leftbloat.y, leftbloat.x));", emitVertexFn); 225 g->codeAppendf( "%s(topleft + leftbloat);", emitVertexFn); 229 g->codeAppendf("%s(topleft + upbloat);", emitVertexFn);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
StatsFilter.java | 84 regionscore(pixelBuffer, width, height, quad.topLeft().x, quad.topLeft().y,
|
/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);
|
/external/pdfium/xfa/fxfa/parser/ |
cxfa_box.cpp | 266 fillPath.AddArc(rtDraw.TopLeft(), rtDraw.Size(), 332 arcPath.AddArc(rtWidget.TopLeft(), rtWidget.Size(), 3.0f * FX_PI / 4.0f, 338 arcPath.AddArc(rtWidget.TopLeft(), rtWidget.Size(), -1.0f * FX_PI / 4.0f, 345 arcPath.AddArc(rtWidget.TopLeft(), rtWidget.Size(), 3.0f * FX_PI / 4.0f, 351 arcPath.AddArc(rtWidget.TopLeft(), rtWidget.Size(), -1.0f * FX_PI / 4.0f,
|
cxfa_draw.cpp | 46 (void*)XFA_AttributeEnum::TopLeft},
|
cxfa_exclgroup.cpp | 47 (void*)XFA_AttributeEnum::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;
|
/external/skia/gm/ |
simple_magnification.cpp | 65 * BottomLeft origin + 1-wide inset | TopLeft origin + 1-wide inset 67 * BottomLeft origin + 7-wide inset | TopLeft origin + 7-wide inset
|
/external/skqp/gm/ |
simple_magnification.cpp | 64 * BottomLeft origin + 1-wide inset | TopLeft origin + 1-wide inset 66 * BottomLeft origin + 7-wide inset | TopLeft origin + 7-wide inset
|
/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 + ")");
|
/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,
|
/external/pdfium/xfa/fwl/ |
cfwl_widget.cpp | 179 ret = GetMatrix().Transform(ret + GetWidgetRect().TopLeft()); 186 return ret + form1->GetWidgetRect().TopLeft(); 192 ret += form1->GetWidgetRect().TopLeft(); 193 ret -= form2->GetWidgetRect().TopLeft(); 201 pWidget->GetWidgetRect().TopLeft();
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/ |
HolidayBorderPanel.java | 384 Color topleft = null; local 389 topleft = light; 393 topleft = dark; 398 g.setColor(topleft);
|