/frameworks/native/libs/gui/tests/ |
H A D | FillBuffer.h | 30 const android_native_rect_t& rect);
|
H A D | SurfaceTextureClient_test.cpp | 478 android_native_rect_t rect = {-2, -13, 40, 18}; local 479 native_window_set_crop(mANW.get(), &rect);
|
/frameworks/native/libs/ui/ |
H A D | GraphicBuffer.cpp | 172 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 D | Region.cpp | 267 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 D | hwcCommit.cpp | 452 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 D | hwcRects.cpp | 298 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 D | hwcTestLib.cpp | 186 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 D | hwcTestLib.h | 111 std::string hwcTestRect2str(const struct hwc_rect& rect);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | SearchPanelCircleView.java | 305 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 D | AlternateRecentsComponent.java | 411 // 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 D | SpaceNode.java | 34 public void onSpaceNodeMeasured(SpaceNode node, Rect rect); argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | RecentsView.java | 403 // 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 D | TaskStackViewLayoutAlgorithm.java | 31 * 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 D | TaskViewTransform.java | 35 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 D | ExpandableOutlineView.java | 64 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 D | PhoneWindow.java | 2907 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 D | ScreenMagnifier.java | 309 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 D | AccessibilityController.java | 574 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 D | WindowManagerService.java | 3346 // 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 D | com_android_server_input_InputWindowHandle.cpp | 138 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 D | ImageShader.java | 415 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 D | Quad.java | 57 * @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 D | FaceSquareFilter.java | 72 // 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 D | FaceSquareFilterTest.java | 70 face.rect = faceRect;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 443 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...] |