Home
last modified time | relevance | path

Searched refs:topOffset (Results 1 – 7 of 7) sorted by relevance

/external/perfetto/ui/src/frontend/
Dnotes_panel.ts165 const topOffset = 10; constant
170 ctx.moveTo(x, topOffset);
171 ctx.lineTo(x, topOffset + AREA_TRIANGLE_WIDTH);
172 ctx.lineTo(x + AREA_TRIANGLE_WIDTH, topOffset);
173 ctx.lineTo(x, topOffset);
179 ctx.moveTo(xEnd, topOffset);
180 ctx.lineTo(xEnd, topOffset + AREA_TRIANGLE_WIDTH);
181 ctx.lineTo(xEnd - AREA_TRIANGLE_WIDTH, topOffset);
182 ctx.lineTo(xEnd, topOffset);
190 ctx.moveTo(startDraw, topOffset);
[all …]
/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/
DCameraManager.java198 int topOffset = (screenResolution.y - height) / 2; in getFramingRect() local
199 framingRect = new Rect(leftOffset, topOffset, leftOffset + width, topOffset + height); in getFramingRect()
247 int topOffset = (screenResolution.y - height) / 2; in setManualFramingRect() local
248 framingRect = new Rect(leftOffset, topOffset, leftOffset + width, topOffset + height); in setManualFramingRect()
/external/skia/src/core/
DSkGlyph.cpp190 SkScalar topOffset, SkScalar bottomOffset, const SkPath& path) { in calculate_path_gap() argument
230 auto addPts = [&expandGap, &pts, topOffset, bottomOffset](int ptCount) { in calculate_path_gap()
232 if (topOffset < pts[i].fY && pts[i].fY < bottomOffset) { in calculate_path_gap()
246 addLine(topOffset); in calculate_path_gap()
255 if (topOffset > quadBottom) { break; } in calculate_path_gap()
256 addQuad(topOffset); in calculate_path_gap()
271 if (topOffset > quadBottom) { break; } in calculate_path_gap()
272 addCubic(topOffset); in calculate_path_gap()
/external/skia/src/gpu/
DGrNativeRect.h62 void setRelativeTo(GrSurfaceOrigin origin, int surfaceHeight, int leftOffset, int topOffset, in setRelativeTo()
67 fY = surfaceHeight - topOffset - height; in setRelativeTo()
69 fY = topOffset; in setRelativeTo()
/external/skqp/src/gpu/gl/
DGrGLIRect.h63 int topOffset, in setRelativeTo()
70 fBottom = glRect.fBottom + (glRect.fHeight - topOffset - height); in setRelativeTo()
72 fBottom = glRect.fBottom + topOffset; in setRelativeTo()
/external/icu/icu4c/source/common/
Ducnv_io.cpp1148 uint32_t i, count, tocLength, topOffset; in ucnv_swapAliases() local
1208 topOffset=offsets[i-1]+toc[i-1]; in ucnv_swapAliases()
1216 if((length-headerSize)<(2*(int32_t)topOffset)) { in ucnv_swapAliases()
1347 return headerSize+2*(int32_t)topOffset; in ucnv_swapAliases()
/external/doclava/res/assets/templates-sdk/assets/js/
Ddocs.js1855 var topOffset = $widget.offset().top;
1894 var height = $(window).height() - topOffset - padBottom;