Searched refs:topLeft (Results 1 - 15 of 15) 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/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_pic_param_set.h55 u32 *topLeft; member in struct:__anon761
H A Dh264bsd_slice_group_map.c73 u32 *topLeft,
212 topLeft top_left[] values
228 u32 *topLeft,
243 ASSERT(topLeft);
255 ASSERT( topLeft[group] <= bottomRight[group] &&
257 yTopLeft = topLeft[group] / picWidth;
258 xTopLeft = topLeft[group] % picWidth;
559 pps->topLeft, pps->bottomRight, picWidth, picHeight);
225 DecodeForegroundLeftOverMap( u32 *map, u32 numSliceGroups, u32 *topLeft, u32 *bottomRight, u32 picWidth, u32 picHeight) argument
H A Dh264bsd_pic_param_set.c179 ALLOCATE(pPicParamSet->topLeft,
183 if (pPicParamSet->topLeft == NULL ||
191 pPicParamSet->topLeft[i] = value;
H A Dh264bsd_storage.c248 FREE(pStorage->pps[id]->topLeft);
257 FREE(pStorage->pps[id]->topLeft);
834 ASSERT(pps->topLeft);
838 if (pps->topLeft[i] > pps->bottomRight[i] ||
842 if ( (pps->topLeft[i] % sps->picWidthInMbs) >
H A Dh264bsd_decoder.c291 FREE(picParamSet.topLeft);
559 FREE(pStorage->pps[i]->topLeft);
/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/android/support/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
471 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/android/support/v7/app/
H A DWindowDecorActionBar.java797 int topLeft[] = {0, 0};
798 mContainerView.getLocationInWindow(topLeft);
799 startingY -= topLeft[1];
846 int topLeft[] = {0, 0};
847 mContainerView.getLocationInWindow(topLeft);
848 endingY -= topLeft[1];
/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;

Completed in 434 milliseconds