Home
last modified time | relevance | path

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

12

/external/angle/util/windows/win32/
DWin32Window.cpp264 POINT topLeft; in WndProc() local
265 topLeft.x = winRect.left; in WndProc()
266 topLeft.y = winRect.top; in WndProc()
267 ClientToScreen(hWnd, &topLeft); in WndProc()
271 event.Move.X = topLeft.x; in WndProc()
272 event.Move.Y = topLeft.y; in WndProc()
286 POINT topLeft; in WndProc() local
287 topLeft.x = winRect.left; in WndProc()
288 topLeft.y = winRect.top; in WndProc()
289 ClientToScreen(hWnd, &topLeft); in WndProc()
[all …]
/external/skia/gm/
Dgpu_blur_utils.cpp74 src = tileInto(std::move(src), srcB, size, outset - dstB.topLeft(), mode); in slow_blur()
216 .makeOffset(srcRect.topLeft()), in run()
218 .makeOffset(srcRect.topLeft()), in run()
220 .makeOffset(srcRect.topLeft()), in run()
222 .makeOffset(srcRect.topLeft()), in run()
228 .makeOffset(srcRect.topLeft()), in run()
230 .makeOffset(srcRect.topLeft()), in run()
232 .makeOffset(srcRect.topLeft()), in run()
234 .makeOffset(srcRect.topLeft()), in run()
Dclear_swizzle.cpp71 c.rect.topLeft() + SkIPoint{4*kSize, 0});
Dtexelsubset.cpp174 SkMatrix::Translate(-texelSubset.topLeft()), textureMatrices[tm]); in onDraw()
/external/skqp/tools/sk_app/win/
DWindow_win.cpp308 POINT topLeft = {0, 0}; in WndProc() local
309 ClientToScreen(hWnd, &topLeft); in WndProc()
324 LONG tx = (ti.x / 100) - topLeft.x; in WndProc()
325 LONG ty = (ti.y / 100) - topLeft.y; in WndProc()
/external/skia/tools/sk_app/win/
DWindow_win.cpp310 POINT topLeft = {0, 0}; in WndProc() local
311 ClientToScreen(hWnd, &topLeft); in WndProc()
326 LONG tx = (ti.x / 100) - topLeft.x; in WndProc()
327 LONG ty = (ti.y / 100) - topLeft.y; in WndProc()
/external/skia/tests/
DSkRuntimeEffectTest.cpp334 SkIRect topLeft = SkIRect::MakeWH(1, 1); in make_RGBW_shader() local
335 bmp.pixmap().erase(SK_ColorRED, topLeft); in make_RGBW_shader()
336 bmp.pixmap().erase(SK_ColorGREEN, topLeft.makeOffset(1, 0)); in make_RGBW_shader()
337 bmp.pixmap().erase(SK_ColorBLUE, topLeft.makeOffset(0, 1)); in make_RGBW_shader()
338 bmp.pixmap().erase(SK_ColorWHITE, topLeft.makeOffset(1, 1)); in make_RGBW_shader()
DReadWritePixelsGpuTest.cpp464 const SkIPoint offset = rect.topLeft(); in gpu_read_pixels_test_driver()
937 SkIPoint tl = r.topLeft(); in gpu_write_pixels_test_driver()
1042 const SkIPoint offset = rect.topLeft(); in gpu_write_pixels_test_driver()
/external/eigen/test/
Dgeo_alignedbox.cpp133 Vector2f topLeft; topLeft << m[0], M[1]; in specificTest1() local
135 VERIFY_IS_APPROX( topLeft, box.corner( BoxType::TopLeft ) ); in specificTest1()
/external/skqp/src/gpu/ccpr/
DGrCCPerFlushResources.cpp301 Sk4f topLeft = devPt; in transform_path_pts() local
312 topLeft = Sk4f::Min(topLeft, devPt); in transform_path_pts()
317 if (!(Sk4f(0) == topLeft*0).allTrue() || !(Sk4f(0) == bottomRight*0).allTrue()) { in transform_path_pts()
323 topLeft.store(topLeftPts); in transform_path_pts()
/external/skia/src/pdf/
DSkKeyedImage.cpp38 img.fKey = {subset.makeOffset(fKey.fSubset.topLeft()), fKey.fID}; in subset()
/external/skia/src/gpu/
DGrDrawOpAtlas.cpp35 auto topLeft = atlasLocator.topLeft(); in validate() local
36 int plotX = topLeft.x() / fPlotWidth; in validate()
37 int plotY = topLeft.y() / fPlotHeight; in validate()
DGrDrawOpAtlas.h135 SkIPoint topLeft() const { in topLeft() function
/external/skia/src/core/
DSkImageFilterTypes.h349 LayerSpace<SkIPoint> topLeft() const { return LayerSpace<SkIPoint>(fData.topLeft()); } in topLeft() function
379 LayerSpace<SkPoint> topLeft() const { in topLeft() function
DSkGpuBlurUtils.cpp171 auto rtcToSrcOffset = dstBounds.topLeft(); in convolve_gaussian()
429 SkIVector newDstBoundsOffset = dstBounds.topLeft() - xPassDstBounds.topLeft(); in two_pass_gaussian()
682 SkRect scaledDstBounds = SkRect::Make(dstBounds.makeOffset(-srcBounds.topLeft())); in GaussianBlur()
DSkSpecialImage.cpp128 SkIRect absolute = subset.makeOffset(this->subset().topLeft()); in makeSubset()
134 SkIRect absolute = subset->makeOffset(this->subset().topLeft()); in asImage()
DSkGlyph.h201 skvx::Vec<2, int16_t> topLeft() const { return {fRect[0], fRect[1]}; } in topLeft() function
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Drasterizer_impl.h663 POS topLeft{scissor.xmin, scissor.ymin};
669 ComputeEdgeData(topLeft, bottomLeft, rastEdges[3]);
672 ComputeEdgeData(topRight, topLeft, rastEdges[6]);
713 POS topLeft{scissor.xmin, scissor.ymin};
719 ComputeEdgeData(topLeft, bottomLeft, rastEdges[3]);
722 ComputeEdgeData(topRight, topLeft, rastEdges[6]);
/external/skia/src/effects/imagefilters/
DSkBlurImageFilter.cpp624 dstBounds.offset(input->subset().topLeft()); in gpuFilter()
625 inputBounds.offset(input->subset().topLeft()); in gpuFilter()
DSkDisplacementMapImageFilter.cpp437 SkMatrix::Translate(colorSubset.topLeft()), in Make()
442 auto dispM = SkMatrix::Concat(SkMatrix::Translate(displSubset.topLeft()), offsetMatrix); in Make()
/external/skia/src/gpu/ccpr/
DGrCCPerFlushResources.cpp85 auto origin = clippedDevIBounds.topLeft() + devToAtlasOffset; in enqueueRenderedPath()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawScissorTests.cpp132 …Vec4 topLeft (-1.0f + scaleWidth * (float)m_quad.m_x, -1.0f + scaleHeight * (float)m_quad.m_… in getVertices() local
139 vertices.push_back(PositionColorVertex(topLeft, m_quad.m_color)); in getVertices()
142 vertices.push_back(PositionColorVertex(topLeft, m_quad.m_color)); in getVertices()
/external/skia/src/image/
DSkImage.cpp555 clipBounds.makeOffset(-subset.topLeft()), in makeWithFilter()
575 if (!clippedDstRect.intersect(clipBounds.makeOffset(result->subset().topLeft() - *offset))) { in makeWithFilter()
/external/pdfium/xfa/fxfa/parser/
Dattribute_values.inc135 VALUE____(0x6aea98beu, "topLeft", TopLeft)
/external/skia/include/core/
DSkRect.h149 SkIPoint topLeft() const { return {fLeft, fTop}; } in topLeft() function

12