Home
last modified time | relevance | path

Searched refs:topLeft (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
DQuad.java94 public static Quad fromLineAndHeight(PointF topLeft, PointF topRight, float height) { in fromLineAndHeight() argument
95 PointF dp = new PointF(topRight.x - topLeft.x, topRight.y - topLeft.y); in fromLineAndHeight()
98 PointF p2 = new PointF(topLeft.x - np.x, topLeft.y + np.y); in fromLineAndHeight()
100 return new Quad(topLeft, topRight, p2, p3); in fromLineAndHeight()
147 public PointF topLeft() { in topLeft() method in Quad
188 PointF topLeft = rotatePoint(topLeft(), center, cosa, sina); in rotated() local
193 return new Quad(topLeft, topRight, bottomLeft, bottomRight); in rotated()
319 private Quad(PointF topLeft, PointF topRight, PointF bottomLeft, PointF bottomRight) { in Quad() argument
320 mTopLeft = topLeft; in Quad()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_slice_group_map.c73 u32 *topLeft,
228 u32 *topLeft, in DecodeForegroundLeftOverMap() argument
243 ASSERT(topLeft); in DecodeForegroundLeftOverMap()
255 ASSERT( topLeft[group] <= bottomRight[group] && in DecodeForegroundLeftOverMap()
257 yTopLeft = topLeft[group] / picWidth; in DecodeForegroundLeftOverMap()
258 xTopLeft = topLeft[group] % picWidth; in DecodeForegroundLeftOverMap()
559 pps->topLeft, pps->bottomRight, picWidth, picHeight); in h264bsdDecodeSliceGroupMap()
Dh264bsd_pic_param_set.c179 ALLOCATE(pPicParamSet->topLeft, in h264bsdDecodePicParamSet()
183 if (pPicParamSet->topLeft == NULL || in h264bsdDecodePicParamSet()
191 pPicParamSet->topLeft[i] = value; in h264bsdDecodePicParamSet()
Dh264bsd_storage.c248 FREE(pStorage->pps[id]->topLeft); in h264bsdStorePicParamSet()
257 FREE(pStorage->pps[id]->topLeft); in h264bsdStorePicParamSet()
834 ASSERT(pps->topLeft); in CheckPps()
838 if (pps->topLeft[i] > pps->bottomRight[i] || in CheckPps()
842 if ( (pps->topLeft[i] % sps->picWidthInMbs) > in CheckPps()
Dh264bsd_pic_param_set.h55 u32 *topLeft; member
Dh264bsd_decoder.c291 FREE(picParamSet.topLeft); in h264bsdDecode()
559 FREE(pStorage->pps[i]->topLeft); in h264bsdShutdown()
/frameworks/base/core/java/android/transition/
DChangeBounds.java89 public void set(ViewBounds viewBounds, PointF topLeft) {
90 viewBounds.setTopLeft(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);
482 public void setTopLeft(PointF topLeft) { in setTopLeft() argument
483 mLeft = Math.round(topLeft.x); in setTopLeft()
[all …]
/frameworks/base/core/java/com/android/internal/policy/
DDockedDividerUtils.java62 public static void sanitizeStackBounds(Rect bounds, boolean topLeft) { in sanitizeStackBounds() argument
67 if (topLeft) { in sanitizeStackBounds()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DStatsFilter.java84 regionscore(pixelBuffer, width, height, quad.topLeft().x, quad.topLeft().y, in calcMeanAndStd()
DImageShader.java420 setSourceCoords(new float[] { quad.topLeft().x, quad.topLeft().y, in setSourceQuad()
468 setTargetCoords(new float[] { quad.topLeft().x, quad.topLeft().y, in setTargetQuad()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DStyledCornersBitmapDrawable.java480 private void setCornerStyles(int topLeft, int topRight, int bottomRight, int bottomLeft) { in setCornerStyles() argument
481 boolean changed = mTopLeftCornerStyle != topLeft in setCornerStyles()
486 mTopLeftCornerStyle = topLeft; in setCornerStyles()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DWindowDecorActionBar.java773 int topLeft[] = {0, 0}; in doShow() local
774 mContainerView.getLocationInWindow(topLeft); in doShow()
775 startingY -= topLeft[1]; in doShow()
823 int topLeft[] = {0, 0}; in doHide() local
824 mContainerView.getLocationInWindow(topLeft); in doHide()
825 endingY -= topLeft[1]; in doHide()
/frameworks/base/core/java/com/android/internal/app/
DWindowDecorActionBar.java775 int topLeft[] = {0, 0}; in doShow() local
776 mContainerView.getLocationInWindow(topLeft); in doShow()
777 startingY -= topLeft[1]; in doShow()
836 int topLeft[] = {0, 0}; in doHide() local
837 mContainerView.getLocationInWindow(topLeft); in doHide()
838 endingY -= topLeft[1]; in doHide()
/frameworks/base/core/java/android/gesture/
DGestureUtils.java228 float topLeft = (float) Math.sqrt(xFloorSq + yFloorSq); in plot()
232 float sum = topLeft + topRight + btmLeft + btmRight; in plot()
234 float value = topLeft / sum; in plot()