Searched refs:topLeft (Results 1 - 12 of 12) sorted by relevance

/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/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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DStatsFilter.java84 regionscore(pixelBuffer, width, height, quad.topLeft().x, quad.topLeft().y,
H A DImageShader.java420 setSourceCoords(new float[] { quad.topLeft().x, quad.topLeft().y,
468 setTargetCoords(new float[] { quad.topLeft().x, quad.topLeft().y,
/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/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/base/core/java/com/android/internal/app/
H A DWindowDecorActionBar.java772 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];
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/
H A DWindowDecorActionBar.java798 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];
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DScreenDecorations.java221 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/
H A DGestureUtils.java228 float topLeft = (float) Math.sqrt(xFloorSq + yFloorSq);
232 float sum = topLeft + topRight + btmLeft + btmRight;
234 float value = topLeft / sum;
/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 1129 milliseconds