/frameworks/minikin/tests/unittest/ |
D | AndroidLineBreakerHelperTest.cpp | 28 AndroidLineWidth lineWidth(-10 /* first width */, 1 /* first count */, 0 /* rest width */, in TEST() local 31 EXPECT_LE(0.0f, lineWidth.getMin()); in TEST() 33 EXPECT_LE(0.0f, lineWidth.getAt(i)); in TEST() 37 AndroidLineWidth lineWidth(0 /* first width */, 0 /* first count */, -10 /* rest width */, in TEST() local 40 EXPECT_LE(0.0f, lineWidth.getMin()); in TEST() 42 EXPECT_LE(0.0f, lineWidth.getAt(i)); in TEST() 47 AndroidLineWidth lineWidth(0 /* first width */, 0 /* first count */, 0 /* rest width */, in TEST() local 50 EXPECT_LE(0.0f, lineWidth.getMin()); in TEST() 52 EXPECT_LE(0.0f, lineWidth.getAt(i)); in TEST()
|
D | OptimalLineBreakerTest.cpp | 77 float lineWidth, bool ignoreKerning) { in doLineBreak() argument 91 return doLineBreak(textBuffer, *measuredText, strategy, frequency, lineWidth); in doLineBreak() 96 float lineWidth) { in doLineBreakForJapanese() argument 109 HyphenationFrequency::None, lineWidth); in doLineBreakForJapanese() 112 const Range& noHyphenRange, float lineWidth) { in doLineBreakWithNoHyphenSpan() argument 141 HyphenationFrequency::Normal, lineWidth); in doLineBreakWithNoHyphenSpan() 145 HyphenationFrequency frequency, float lineWidth) { in doLineBreakForBounds() argument 159 RectangleLineWidth rectangleLineWidth(lineWidth); in doLineBreakForBounds() 166 float lineWidth) { in doLineBreak() argument 167 RectangleLineWidth rectangleLineWidth(lineWidth); in doLineBreak() [all …]
|
D | GreedyLineBreakerTest.cpp | 81 float lineWidth) { in doLineBreak() argument 82 return doLineBreak(textBuffer, doHyphenation, "en-US", lineWidth); in doLineBreak() 87 float lineWidth) { in doLineBreakForJapanese() argument 100 RectangleLineWidth rectangleLineWidth(lineWidth); in doLineBreakForJapanese() 108 float lineWidth) { in doLineBreakForKorean() argument 121 RectangleLineWidth rectangleLineWidth(lineWidth); in doLineBreakForKorean() 128 const std::string& lang, float lineWidth) { in doLineBreak() argument 142 RectangleLineWidth rectangleLineWidth(lineWidth); in doLineBreak() 149 const Range& noHyphenRange, float lineWidth) { in doLineBreakWithNoHyphenSpan() argument 181 RectangleLineWidth rectangleLineWidth(lineWidth); in doLineBreakWithNoHyphenSpan() [all …]
|
/frameworks/minikin/libs/minikin/ |
D | LineBreaker.cpp | 26 const MeasuredText& measuredText, const LineWidth& lineWidth, in breakIntoLines() argument 29 return breakLineGreedy(textBuffer, measuredText, lineWidth, tabStops, in breakIntoLines() 32 return breakLineOptimal(textBuffer, measuredText, lineWidth, strategy, frequency, justified, in breakIntoLines()
|
D | OptimalLineBreaker.cpp | 152 std::pair<float, float> computePenalties(const Run& run, const LineWidth& lineWidth, in computePenalties() argument 157 float hyphenPenalty = 0.5 * paint->size * paint->scaleX * lineWidth.getAt(0); in computePenalties() 264 const LineWidth& lineWidth, HyphenationFrequency frequency, in populateCandidates() argument 266 const ParaWidth minLineWidth = lineWidth.getMin(); in populateCandidates() 293 auto penalties = computePenalties(*run, lineWidth, frequency, isJustified); in populateCandidates() 351 const MeasuredText& measuredText, const LineWidth& lineWidth, 416 const LineWidth& lineWidth, in computeBreaks() argument 436 float width = lineWidth.getAt(lineNumberLast); in computeBreaks() 445 const float widthNew = lineWidth.getAt(lineNumber); in computeBreaks() 524 const LineWidth& lineWidth, BreakStrategy strategy, in breakLineOptimal() argument [all …]
|
D | GreedyLineBreaker.cpp | 60 BreakPoint(uint32_t offset, float lineWidth, StartHyphenEdit startHyphen, in BreakPoint() 63 lineWidth(lineWidth), in BreakPoint() 67 float lineWidth; member 76 void breakLineAt(uint32_t offset, float lineWidth, float remainingNextLineWidth, 143 void GreedyLineBreaker::breakLineAt(uint32_t offset, float lineWidth, float remainingNextLineWidth, in breakLineAt() argument 149 mBreakPoints.emplace_back(offset, lineWidth - edgeLetterSpacing, mStartHyphenEdit, in breakLineAt() 524 out.bounds.emplace_back(0, extent.ascent, breakPoint.lineWidth, extent.descent); in getResult() 538 out.bounds.emplace_back(0, extent.ascent, breakPoint.lineWidth, extent.descent); in getResult() 541 out.widths.push_back(breakPoint.lineWidth); in getResult()
|
/frameworks/av/cmds/screenrecord/ |
D | Overlay.cpp | 347 const int lineWidth = 4; in doDrawInfoPage() local 350 glScissor(0, 0, width, lineWidth); in doDrawInfoPage() 352 glScissor(0, height - lineWidth, width, lineWidth); in doDrawInfoPage() 354 glScissor(0, 0, lineWidth, height); in doDrawInfoPage() 356 glScissor(width - lineWidth, 0, lineWidth, height); in doDrawInfoPage()
|
/frameworks/base/libs/hwui/ |
D | FrameInfoVisualizer.cpp | 154 float lineWidth = baseLineWidth; in initializeRects() local 168 lineWidth *= 2; in initializeRects() 171 rect[ri + 0] = right - lineWidth; in initializeRects() 175 right -= lineWidth; in initializeRects()
|
/frameworks/minikin/include/minikin/ |
D | AndroidLineBreakerHelper.h | 96 AndroidLineWidth lineWidth(firstWidth, firstWidthLineCount, restWidth, mIndents, in computeBreaks() 98 return breakIntoLines(textBuf, mStrategy, mFrequency, mIsJustified, measuredText, lineWidth, in computeBreaks()
|
D | LineBreaker.h | 122 const MeasuredText& measuredText, const LineWidth& lineWidth,
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | GLES20Canvas.java | 497 int color, float lineWidth) { in draw() argument 498 prepareDraw(offset, color, lineWidth); in draw() 502 private void prepareDraw(int offset, int color, float lineWidth) { in prepareDraw() argument 505 if (lineWidth > 0) { in prepareDraw() 506 GLES20.glLineWidth(lineWidth); in prepareDraw()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/chart/ |
D | LineChart.kt | 203 ds.lineWidth = 2f in updateLineChartWithData()
|
/frameworks/base/core/java/android/view/ |
D | ViewGroup.java | 4144 int lineLength, int lineWidth) { in drawRectCorners() argument 4145 drawCorner(canvas, paint, x1, y1, lineLength, lineLength, lineWidth); in drawRectCorners() 4146 drawCorner(canvas, paint, x1, y2, lineLength, -lineLength, lineWidth); in drawRectCorners() 4147 drawCorner(canvas, paint, x2, y1, -lineLength, lineLength, lineWidth); in drawRectCorners() 4148 drawCorner(canvas, paint, x2, y2, -lineLength, -lineLength, lineWidth); in drawRectCorners() 4215 int lineWidth = dipsToPixels(1); in onDebugDraw() local 4220 paint, lineLength, lineWidth); in onDebugDraw()
|
/frameworks/native/vulkan/nulldrv/ |
D | null_driver_gen.h | 129 VKAPI_ATTR void CmdSetLineWidth(VkCommandBuffer commandBuffer, float lineWidth);
|
D | null_driver.cpp | 1386 void CmdSetLineWidth(VkCommandBuffer cmdBuffer, float lineWidth) { in CmdSetLineWidth() argument
|
/frameworks/native/vulkan/libvulkan/ |
D | api_gen.cpp | 491 VKAPI_ATTR void CmdSetLineWidth(VkCommandBuffer commandBuffer, float lineWidth); 1314 VKAPI_ATTR void CmdSetLineWidth(VkCommandBuffer commandBuffer, float lineWidth) { in CmdSetLineWidth() argument 1315 GetData(commandBuffer).dispatch.CmdSetLineWidth(commandBuffer, lineWidth); in CmdSetLineWidth() 2351 VKAPI_ATTR void vkCmdSetLineWidth(VkCommandBuffer commandBuffer, float lineWidth) { in vkCmdSetLineWidth() argument 2352 vulkan::api::CmdSetLineWidth(commandBuffer, lineWidth); in vkCmdSetLineWidth()
|