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

/frameworks/base/core/java/com/android/internal/policy/
H A DDockedDividerUtils.java58 * @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) { argument
67 if (topLeft) {
/frameworks/base/core/java/android/transition/
H A DChangeBounds.java86 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
483 setTopLeft(PointF topLeft) argument
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
H A DQuad.java89 * @param topLeft the top-left of the quad
94 public static Quad fromLineAndHeight(PointF topLeft, PointF topRight, float height) { argument
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() { method in class:Quad
188 PointF topLeft = rotatePoint(topLeft(), cente
319 Quad(PointF topLeft, PointF topRight, PointF bottomLeft, PointF bottomRight) argument
[all...]
/frameworks/support/transition/src/main/java/androidx/transition/
H A DChangeBounds.java87 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
472 setTopLeft(PointF topLeft) argument
[all...]
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DStyledCornersBitmapDrawable.java480 private void setCornerStyles(int topLeft, int topRight, int bottomRight, int bottomLeft) { argument
481 boolean changed = mTopLeftCornerStyle != topLeft
486 mTopLeftCornerStyle = topLeft;
/frameworks/native/services/surfaceflinger/tests/
H A DTransaction_test.cpp247 void expectQuadrant(const Rect& rect, const Color& topLeft, const Color& topRight, argument
257 expectColor(Rect(rect.left, rect.top, centerX - offsetX, centerY - offsetY), topLeft, local
346 void fillLayerQuadrant(const sp<SurfaceControl>& layer, const Color& topLeft, argument
355 fillBufferColor(buffer, Rect(0, 0, halfW, halfH), topLeft);

Completed in 76 milliseconds