Searched refs:rect (Results 26 - 50 of 130) sorted by last modified time

123456

/frameworks/native/libs/gui/tests/
H A DFillBuffer.h30 const android_native_rect_t& rect);
H A DSurfaceTextureClient_test.cpp478 android_native_rect_t rect = {-2, -13, 40, 18}; local
479 native_window_set_crop(mANW.get(), &rect);
/frameworks/native/libs/ui/
H A DGraphicBuffer.cpp172 status_t GraphicBuffer::lock(uint32_t usage, const Rect& rect, void** vaddr) argument
174 if (rect.left < 0 || rect.right > this->width ||
175 rect.top < 0 || rect.bottom > this->height) {
177 rect.left, rect.top, rect.right, rect.bottom,
181 status_t res = getBufferMapper().lock(handle, usage, rect, vadd
192 lockYCbCr(uint32_t usage, const Rect& rect, android_ycbcr *ycbcr) argument
219 lockAsync(uint32_t usage, const Rect& rect, void** vaddr, int fenceFd) argument
239 lockAsyncYCbCr(uint32_t usage, const Rect& rect, android_ycbcr *ycbcr, int fenceFd) argument
[all...]
H A DRegion.cpp267 Rect rect(l,t,r,b);
269 mStorage.insertAt(rect, where, 1);
438 virtual void operator()(const Rect& rect) { argument
440 // rect.left, rect.top, rect.right, rect.bottom);
442 if (cur->top != rect.top) {
444 } else if (cur->right == rect.left) {
445 cur->right = rect
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp452 Rectangle rect(format->format, startDim);
454 rectList.push_back(rect);
651 Rectangle rect(format, startDim, startDim);
652 rect.displayFrame.left = x;
653 rect.displayFrame.top = y;
654 rect.displayFrame.right = x + startDim.width();
655 rect.displayFrame.bottom = y + startDim.height();
657 rectList.push_back(rect);
677 Rectangle rect(format, startDim);
683 rect
[all...]
H A DhwcRects.cpp298 Rectangle rect = parseRect(rectDesc); local
301 rectangle.push_back(rect);
369 Rectangle rect; local
383 rect.format = format->format;
386 rect.displayFrame = hwcTestParseHwcRect(in, error);
395 rect.sourceDim = HwcTestDim(rect.displayFrame.right
396 - rect.displayFrame.left,
397 rect.displayFrame.bottom
398 - rect
[all...]
H A DhwcTestLib.cpp186 hwc_rect rect; local
188 rect.left = rect.top = 0;
190 rect.right = this->_w;
191 rect.bottom = this->_h;
193 return rect;
197 string hwcTestRect2str(const struct hwc_rect& rect) argument
202 out << rect.left << ", ";
203 out << rect.top << ", ";
204 out << rect
214 struct hwc_rect rect; local
[all...]
H A DhwcTestLib.h111 std::string hwcTestRect2str(const struct hwc_rect& rect);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSearchPanelCircleView.java305 Rect rect = exitAnimationRunning ? mCircleRect : mStaticRect;
306 float translationX = (rect.left + rect.right) / 2.0f - mLogo.getWidth() / 2.0f;
307 float translationY = (rect.top + rect.bottom) / 2.0f - mLogo.getHeight() / 2.0f;
329 private void updateCircleRect(Rect rect, float offset, boolean useStaticSize) { argument
339 rect.set(left, top, (int) (left + circleSize), (int) (top + circleSize));
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DAlternateRecentsComponent.java411 // Update the destination rect
416 Rect toTaskRect = toTransform.rect;
441 /** Returns the transition rect for the given task id. */
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DSpaceNode.java34 public void onSpaceNodeMeasured(SpaceNode node, Rect rect); argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DRecentsView.java403 // and then offset to the expected transform rect, but bound this to just
404 // outside the display rect (to ensure we don't animate from too far away)
407 offsetX = transform.rect.left;
463 b, offsetX, offsetY, transform.rect.width(), transform.rect.height(),
H A DTaskStackViewLayoutAlgorithm.java31 * stack rect), and p = 1 at the start of the curve and the bottom of the stack rect.
80 // Compute the task rect
174 transformOut.rect.set(mTaskRect);
182 transformOut.rect.set(mTaskRect);
194 transformOut.rect.set(mTaskRect);
195 transformOut.rect.offset(0, transformOut.translationY);
196 Utilities.scaleRectAboutCenter(transformOut.rect, transformOut.scale);
H A DTaskViewTransform.java35 public Rect rect = new Rect(); field in class:TaskViewTransform
49 rect.set(o.rect);
61 rect.setEmpty();
147 " scale: " + scale + " alpha: " + alpha + " visible: " + visible + " rect: " + rect +
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DExpandableOutlineView.java64 protected void setOutlineRect(RectF rect) { argument
65 if (rect != null) {
66 setOutlineRect(rect.left, rect.top, rect.right, rect.bottom);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindow.java2907 final Rect rect = mTempRect;
2911 mContentParent.computeSystemWindowInsets(insets, rect);
2912 final int newMargin = rect.top == 0 ? insets.getSystemWindowInsetTop() : 0;
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DScreenMagnifier.java309 private void getMagnifiedFrameInContentCoords(Rect rect) { argument
311 mMagnifiedBounds.getBounds(rect);
312 rect.offset((int) -spec.offsetX, (int) -spec.offsetY);
313 rect.scale(1.0f / spec.scale);
/frameworks/base/services/core/java/com/android/server/wm/
H A DAccessibilityController.java574 public void getMagnifiedFrameInContentCoordsLocked(Rect rect) { argument
576 mMagnifiedBounds.getBounds(rect);
577 rect.offset((int) -spec.offsetX, (int) -spec.offsetY);
578 rect.scale(1.0f / spec.scale);
746 Slog.i(LOG_TAG, "Dirty rect: " + mDirtyRect);
H A DWindowManagerService.java3346 // Determine the visible rect to calculate the thumbnail clip
11352 final Rect rect = new Rect();
11353 mDisplaySettings.getOverscanLocked(displayInfo.name, rect);
11355 displayInfo.overscanLeft = rect.left;
11356 displayInfo.overscanTop = rect.top;
11357 displayInfo.overscanRight = rect.right;
11358 displayInfo.overscanBottom = rect.bottom;
/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputWindowHandle.cpp138 const SkIRect& rect = it.rect(); local
139 mInfo->addTouchableRegion(Rect(rect.fLeft, rect.fTop, rect.fRight, rect.fBottom));
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DImageShader.java415 public void setSourceRect(RectF rect) { argument
416 setSourceRect(rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top);
460 public void setTargetRect(RectF rect) { argument
461 setTargetCoords(new float[] { rect.left, rect
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
H A DQuad.java57 * @param rect a RectF instance.
60 public static Quad fromRect(RectF rect) { argument
61 return new Quad(new PointF(rect.left, rect.top),
62 new PointF(rect.right, rect.top),
63 new PointF(rect.left, rect.bottom),
64 new PointF(rect.right, rect
112 fromRotatedRect(RectF rect, float angle) argument
125 fromTransformedRect(RectF rect, Matrix matrix) argument
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DFaceSquareFilter.java72 // For every face in faces, draw a white rect around the
73 // face following the rect member of the Face
84 Rect tempRect = faces[i].rect;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
H A DFaceSquareFilterTest.java70 face.rect = faceRect;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java443 Rectangle rect = canvasDelegate.getSnapshot().getClip().getBounds();
444 if (rect != null && rect.isEmpty() == false) {
445 bounds.left = rect.x;
446 bounds.top = rect.y;
447 bounds.right = rect.x + rect.width;
448 bounds.bottom = rect.y + rect.height;
1016 private int saveLayerAlpha(RectF rect, in argument
1022 saveLayer(RectF rect, Paint_Delegate paint, int saveFlags) argument
[all...]

Completed in 3279 milliseconds

123456