Home
last modified time | relevance | path

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

/external/perfetto/ui/src/frontend/
Dnotes_panel.ts215 const topOffset = 10; constant
220 ctx.moveTo(x, topOffset);
221 ctx.lineTo(x, topOffset + AREA_TRIANGLE_WIDTH);
222 ctx.lineTo(x + AREA_TRIANGLE_WIDTH, topOffset);
223 ctx.lineTo(x, topOffset);
229 ctx.moveTo(xEnd, topOffset);
230 ctx.lineTo(xEnd, topOffset + AREA_TRIANGLE_WIDTH);
231 ctx.lineTo(xEnd - AREA_TRIANGLE_WIDTH, topOffset);
232 ctx.lineTo(xEnd, topOffset);
240 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/gpu/ganesh/
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/skia/src/core/
DSkGlyph.cpp251 SkScalar topOffset, SkScalar bottomOffset, const SkPath& path) { in calculate_path_gap() argument
291 auto addPts = [&expandGap, &pts, topOffset, bottomOffset](int ptCount) { in calculate_path_gap()
293 if (topOffset < pts[i].fY && pts[i].fY < bottomOffset) { in calculate_path_gap()
307 addLine(topOffset); in calculate_path_gap()
316 if (topOffset > quadBottom) { break; } in calculate_path_gap()
317 addQuad(topOffset); in calculate_path_gap()
332 if (topOffset > quadBottom) { break; } in calculate_path_gap()
333 addCubic(topOffset); in calculate_path_gap()
/external/cronet/third_party/icu/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/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;