/external/opencv3/modules/imgproc/test/ |
test_boundingrect.cpp | 64 template <typename T> cv::Rect get_bounding_rect(const vector <Point_<T> > src); 78 template <typename T> cv::Rect CV_BoundingRectTest::get_bounding_rect(const vector <Point_<T> > src) 92 return Rect((int)min_w, (int)min_h, (int)max_w-(int)min_w + 1, (int)max_h-(int)min_h + 1); 109 cv::Rect right = get_bounding_rect <T> (src); 111 cv::Rect rect[2] = { boundingRect(src), boundingRect(Mat(src)) }; local 113 for (int i = 0; i < 2; ++i) if (rect[i] != right) 126 cout << "Right rect (x, y, w, h): [" << right.x << ", " << right.y << ", " << right.width << ", " << right.height << "]" << endl; 127 cout << "Result rect (x, y, w, h): [" << rect[i].x << ", " << rect[i].y << ", " << rect[i].width << ", " << rect[i].height << "]" << endl [all...] |
/hardware/qcom/display/msm8909/libqdutils/ |
cb_utils.cpp | 30 /* get union of two rects into 3rd rect */ 39 int clear (copybit_device_t *copybit, private_handle_t* hnd, hwc_rect_t& rect) 42 copybit_rect_t clear_rect = {rect.left, rect.top,rect.right,rect.bottom}; 64 Rect fbFrameRect(fbFrame.left,fbFrame.top,fbFrame.right,fbFrame.bottom); 70 Rect tmpRect(dirtyRect.left,dirtyRect.top,dirtyRect.right, 85 Rect tmpRect(displayFrame.left,displayFrame.top, 98 Rect tmpRect(displayFrame.left,displayFrame.top,displayFrame.right [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
RenderingRequest.java | 21 import android.graphics.Rect; 36 private Rect mBounds = null; 37 private Rect mDestination = null; 38 private Rect mIconBounds = null; 56 RenderingRequestCaller caller, Rect bounds, Rect destination) { 110 request.setIconBounds(new Rect(0, 0, w, h)); 166 public Rect getBounds() { 170 public void setBounds(Rect bounds) { 182 public Rect getDestination() [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
ViewGroupOverlayTest.java | 22 import android.graphics.Rect; 92 final List<Pair<Rect, Integer>> colorRectangles = new ArrayList<>(); 93 colorRectangles.add(new Pair<>(new Rect(10, 20, 30, 40), Color.RED)); 122 final List<Pair<Rect, Integer>> colorRectangles = new ArrayList<>(); 123 colorRectangles.add(new Pair<>(new Rect(10, 20, 30, 40), Color.RED)); 124 colorRectangles.add(new Pair<>(new Rect(60, 30, 90, 50), Color.GREEN)); 125 colorRectangles.add(new Pair<>(new Rect(40, 60, 80, 90), Color.BLUE)); 132 colorRectangles.add(new Pair<>(new Rect(10, 20, 30, 40), Color.RED)); 133 colorRectangles.add(new Pair<>(new Rect(40, 60, 80, 90), Color.BLUE)); 158 final List<Pair<Rect, Integer>> colorRectangles = new ArrayList<>() [all...] |
/external/opencv3/modules/java/src/ |
imgproc+Subdiv2D.java | 15 import org.opencv.core.Rect; 57 // C++: Subdiv2D(Rect rect) 60 //javadoc: Subdiv2D::Subdiv2D(rect) 61 public Subdiv2D(Rect rect) 64 nativeObj = Subdiv2D_1(rect.x, rect.y, rect.width, rect.height) [all...] |
/hardware/qcom/display/msm8996/sdm/libs/utils/ |
rect.cpp | 31 #include <utils/rect.h> 39 bool IsValid(const LayerRect &rect) { 40 return ((rect.bottom > rect.top) && (rect.right > rect.left)); 55 void Normalize(const uint32_t &align_x, const uint32_t &align_y, LayerRect *rect) { 56 rect->left = ROUND_UP_ALIGN_UP(rect->left, align_x); 57 rect->right = ROUND_UP_ALIGN_DOWN(rect->right, align_x) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
EclipseControl.java | 25 import android.graphics.Rect; 61 private Rect mImageBounds; 102 public void setScrImageInfo(Matrix scrToImg, Rect imageBounds) { 104 mImageBounds = new Rect(imageBounds); 231 RectF rect = new RectF(cx - rx, cy - ry, cx + rx, cy + ry); local 236 paintOvallines(canvas, rect, paint, cx, cy, rx, ry); 240 paintOvallines(canvas, rect, paint, cx, cy, rx, ry); 244 Canvas canvas, RectF rect, Paint paint, float cx, float cy, float rx, float ry) { 245 canvas.drawOval(rect, paint); 254 rect.left = cx - dx [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
BaseWrapContentTest.java | 29 import android.graphics.Rect; 203 BaseWrapContentWithAspectRatioTest.WrapContentAdapter adapter, Rect[] expected, 210 Rect padding = mWrapContentConfig.padding; 216 Rect tmp = new Rect(); 224 Rect boundingBox = new Rect(0, 0, 0, 0); 225 for (Rect rect : expected) { 226 boundingBox.union(rect); 462 Rect rect = new Rect(layoutManager.getDecoratedLeft(child) - lp.leftMargin, local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdiplusheaders.h | 171 Effect *effect, RECT *ROI, 172 RECT *outputRect, Bitmap **output); 208 Bitmap* Clone(const RectF& rect, PixelFormat format) const; 209 Bitmap* Clone(const Rect& rect, PixelFormat format) const; 215 Status ApplyEffect(Effect *effect, RECT *ROI); 227 Status LockBits(const Rect *rect, UINT flags, PixelFormat format, 495 Region(const RectF& rect); 496 Region(const Rect& rect) [all...] |
/external/mesa3d/src/gallium/targets/graw-gdi/ |
graw_gdi.c | 71 RECT rect; local 97 SetRect(&rect, 0, 0, width, height); 98 AdjustWindowRectEx(&rect, style, FALSE, 0); 106 rect.right - rect.left, 107 rect.bottom - rect.top,
|
/external/pdfium/fpdfsdk/include/pdfwindow/ |
PWL_ListCtrl.h | 29 CPDF_Rect InToOut(const CPDF_Rect& rect) const; 30 CPDF_Rect OutToIn(const CPDF_Rect& rect) const;
|
/external/pdfium/xfa/src/fwl/src/core/ |
fwl_widgetimp.cpp | 16 FWL_ERR IFWL_Widget::GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize) {
18 ->GetWidgetRect(rect, bAutoSize);
20 FWL_ERR IFWL_Widget::GetGlobalRect(CFX_RectF& rect) {
21 return static_cast<CFWL_WidgetImp*>(GetImpl())->GetGlobalRect(rect);
23 FWL_ERR IFWL_Widget::SetWidgetRect(const CFX_RectF& rect) {
24 return static_cast<CFWL_WidgetImp*>(GetImpl())->SetWidgetRect(rect);
26 FWL_ERR IFWL_Widget::GetClientRect(CFX_RectF& rect) {
27 return static_cast<CFWL_WidgetImp*>(GetImpl())->GetClientRect(rect);
167 FWL_ERR CFWL_WidgetImp::GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize) {
171 rect.Inflate(fEdge, fEdge); 438 CFX_RectF rect; local 653 CFX_RectF rect; local 863 CFX_RectF rect; local [all...] |
/external/proguard/docs/ |
screenshots.html | 32 <area shape="rect" coords="2,7,46,16" alt="ProGuard" href="screenshot_gui1.gif" target="other"> 33 <area shape="rect" coords="2,17,46,27" alt="Input/Output" href="screenshot_gui2.gif" target="other"> 34 <area shape="rect" coords="2,28,46,37" alt="Shrinking" href="screenshot_gui3.gif" target="other"> 35 <area shape="rect" coords="2,38,46,48" alt="Optimization" href="screenshot_gui4.gif" target="other"> 36 <area shape="rect" coords="2,49,46,58" alt="Obfuscation" href="screenshot_gui5.gif" target="other"> 37 <area shape="rect" coords="2,59,46,69" alt="Information" href="screenshot_gui6.gif" target="other"> 38 <area shape="rect" coords="2,70,46,79" alt="Process" href="screenshot_gui7.gif" target="other"> 39 <area shape="rect" coords="2,80,46,90" alt="ReTrace" href="screenshot_gui8.gif" target="other">
|
/external/skia/platform_tools/android/apps/canvasproof/src/main/java/org/skia/canvasproof/ |
GaneshPictureRenderer.java | 16 import android.graphics.Rect; 49 static public Rect cullRect(long picturePtr) { 50 Rect rect = new Rect(); local 52 GaneshPictureRenderer.GetCullRect(rect, picturePtr); 56 return rect; 119 private static native void GetCullRect(Rect r, long picture);
|
/external/skia/src/core/ |
SkNinePatchIter.h | 17 * Disect a ninepatch request into an sequence of src-rect / dst-rect pairs
|
/external/skia/src/gpu/batches/ |
GrClearBatch.h | 20 GrClearBatch(const SkIRect& rect, GrColor color, GrRenderTarget* rt) 22 , fRect(rect) 25 fBounds = SkRect::Make(rect); 35 string.printf("Color: 0x%08x, Rect [L: %d, T: %d, R: %d, B: %d], RT: %d", 76 GrClearStencilClipBatch(const SkIRect& rect, bool insideClip, GrRenderTarget* rt) 78 , fRect(rect) 81 fBounds = SkRect::Make(rect); 91 string.printf("Rect [L: %d, T: %d, R: %d, B: %d], IC: %d, RT: 0x%p",
|
/external/webrtc/webrtc/modules/desktop_capture/ |
cropped_desktop_frame.h | 18 // Always takes ownership of |frame|. Returns NULL if |rect| is not contained 21 const DesktopRect& rect);
|
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
peers.ui | 6 <rect> 11 </rect>
|
/frameworks/av/media/libstagefright/yuv/ |
YUVCanvas.cpp | 23 #include <ui/Rect.h> 42 void YUVCanvas::FillYUVRectangle(const Rect& rect, 44 for (int32_t y = rect.top; y < rect.bottom; ++y) { 45 for (int32_t x = rect.left; x < rect.right; ++x) { 52 const Rect& srcRect,
|
/frameworks/base/core/java/android/service/wallpaper/ |
IWallpaperEngine.aidl | 19 import android.graphics.Rect; 28 void setDisplayPadding(in Rect padding);
|
IWallpaperService.aidl | 19 import android.graphics.Rect; 28 int reqWidth, int reqHeight, in Rect padding);
|
/frameworks/base/libs/hwui/font/ |
Font.h | 30 #include "../Rect.h" 105 uint32_t, uint32_t, Rect*, const float*); 117 uint32_t bitmapW, uint32_t bitmapH, Rect *bounds, const float* positions); 120 int numGlyphs, Rect *bounds, const float* positions); 130 Rect* bounds, const float* pos); 133 Rect* bounds, const float* pos); 136 Rect* bounds, const float* pos); 139 Rect* bounds, const float* pos);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
FitWindowsViewGroup.java | 19 import android.graphics.Rect; 27 void onFitSystemWindows(Rect insets);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
Insettable.java | 19 import android.graphics.Rect; 27 void setInsets(Rect insets);
|
/prebuilts/tools/common/proguard/proguard4.7/docs/ |
screenshots.html | 30 <area shape="rect" coords="2,7,46,16" alt="ProGuard" href="screenshot_gui1.gif" target="other"> 31 <area shape="rect" coords="2,17,46,27" alt="Input/Output" href="screenshot_gui2.gif" target="other"> 32 <area shape="rect" coords="2,28,46,37" alt="Shrinking" href="screenshot_gui3.gif" target="other"> 33 <area shape="rect" coords="2,38,46,48" alt="Optimization" href="screenshot_gui4.gif" target="other"> 34 <area shape="rect" coords="2,49,46,58" alt="Obfuscation" href="screenshot_gui5.gif" target="other"> 35 <area shape="rect" coords="2,59,46,69" alt="Information" href="screenshot_gui6.gif" target="other"> 36 <area shape="rect" coords="2,70,46,79" alt="Process" href="screenshot_gui7.gif" target="other"> 37 <area shape="rect" coords="2,80,46,90" alt="ReTrace" href="screenshot_gui8.gif" target="other">
|