Searched refs:lineWidth (Results 1 - 21 of 21) sorted by relevance

/frameworks/minikin/tests/unittest/
H A DAndroidLineBreakerHelperTest.cpp28 AndroidLineWidth lineWidth(-10 /* first width */, 1 /* first count */, 0 /* rest width */,
31 EXPECT_LE(0.0f, lineWidth.getMin());
33 EXPECT_LE(0.0f, lineWidth.getAt(i));
37 AndroidLineWidth lineWidth(0 /* first width */, 0 /* first count */, -10 /* rest width */,
40 EXPECT_LE(0.0f, lineWidth.getMin());
42 EXPECT_LE(0.0f, lineWidth.getAt(i));
47 AndroidLineWidth lineWidth(0 /* first width */, 0 /* first count */, 0 /* rest width */,
50 EXPECT_LE(0.0f, lineWidth.getMin());
52 EXPECT_LE(0.0f, lineWidth.getAt(i));
H A DGreedyLineBreakerTest.cpp60 float charWidth, float lineWidth) {
61 return doLineBreak(textBuffer, doHyphenation, charWidth, "en-US", lineWidth);
65 float charWidth, const std::string& lang, float lineWidth) {
70 RectangleLineWidth rectangleLineWidth(lineWidth);
59 doLineBreak(const U16StringPiece& textBuffer, bool doHyphenation, float charWidth, float lineWidth) argument
64 doLineBreak(const U16StringPiece& textBuffer, bool doHyphenation, float charWidth, const std::string& lang, float lineWidth) argument
H A DOptimalLineBreakerTest.cpp60 HyphenationFrequency frequency, float charWidth, float lineWidth) {
61 return doLineBreak(textBuffer, strategy, frequency, charWidth, "en-US", lineWidth);
66 const std::string& lang, float lineWidth) {
71 return doLineBreak(textBuffer, *measuredText, strategy, frequency, lineWidth);
76 float lineWidth) {
77 RectangleLineWidth rectangleLineWidth(lineWidth);
59 doLineBreak(const U16StringPiece& textBuffer, BreakStrategy strategy, HyphenationFrequency frequency, float charWidth, float lineWidth) argument
64 doLineBreak(const U16StringPiece& textBuffer, BreakStrategy strategy, HyphenationFrequency frequency, float charWidth, const std::string& lang, float lineWidth) argument
74 doLineBreak(const U16StringPiece& textBuffer, const MeasuredText& measuredText, BreakStrategy strategy, HyphenationFrequency frequency, float lineWidth) argument
/frameworks/minikin/libs/minikin/
H A DLineBreaker.cpp26 const MeasuredText& measuredText, const LineWidth& lineWidth,
29 return breakLineGreedy(textBuffer, measuredText, lineWidth, tabStops,
32 return breakLineOptimal(textBuffer, measuredText, lineWidth, strategy, frequency,
24 breakIntoLines(const U16StringPiece& textBuffer, BreakStrategy strategy, HyphenationFrequency frequency, bool justified, const MeasuredText& measuredText, const LineWidth& lineWidth, const TabStops& tabStops) argument
H A DOptimalLineBreaker.cpp129 std::pair<float, float> computePenalties(const Run& run, const LineWidth& lineWidth, argument
134 float hyphenPenalty = 0.5 * paint->size * paint->scaleX * lineWidth.getAt(0);
208 const LineWidth& lineWidth, HyphenationFrequency frequency,
210 const ParaWidth minLineWidth = lineWidth.getMin();
225 auto penalties = computePenalties(*run, lineWidth, frequency, isJustified);
274 const MeasuredText& measuredText, const LineWidth& lineWidth,
336 const LineWidth& lineWidth,
354 float width = lineWidth.getAt(lineNumberLast);
363 const float widthNew = lineWidth.getAt(lineNumber);
421 const LineWidth& lineWidth, BreakStrateg
207 populateCandidates(const U16StringPiece& textBuf, const MeasuredText& measured, const LineWidth& lineWidth, HyphenationFrequency frequency, bool isJustified) argument
333 computeBreaks(const OptimizeContext& context, const U16StringPiece& textBuf, const MeasuredText& measured, const LineWidth& lineWidth, BreakStrategy strategy, bool justified) argument
420 breakLineOptimal(const U16StringPiece& textBuf, const MeasuredText& measured, const LineWidth& lineWidth, BreakStrategy strategy, HyphenationFrequency frequency, bool justified) argument
[all...]
H A DGreedyLineBreaker.cpp57 BreakPoint(uint32_t offset, float lineWidth, StartHyphenEdit startHyphen, argument
60 lineWidth(lineWidth),
64 float lineWidth; member in struct:minikin::__anon1299::GreedyLineBreaker::BreakPoint
73 void breakLineAt(uint32_t offset, float lineWidth, float remainingNextLineWidth,
130 void GreedyLineBreaker::breakLineAt(uint32_t offset, float lineWidth, float remainingNextLineWidth, argument
135 mBreakPoints.emplace_back(offset, lineWidth, mStartHyphenEdit, thisLineEndHyphen);
372 out.widths.push_back(breakPoint.lineWidth);
/frameworks/layoutlib/bridge/src/android/text/
H A DLineBreaker.java35 public LineBreaker(@NonNull List<Primitive> primitives, @NonNull LineWidth lineWidth, argument
38 mLineWidth = lineWidth;
H A DGreedyLineBreaker.java32 public GreedyLineBreaker(@NonNull List<Primitive> primitives, @NonNull LineWidth lineWidth, argument
34 super(primitives, lineWidth, tabStops);
H A DOptimizingLineBreaker.java38 public OptimizingLineBreaker(@NonNull List<Primitive> primitives, @NonNull LineWidth lineWidth, argument
40 super(primitives, lineWidth, tabStops);
/frameworks/av/cmds/screenrecord/
H A DOverlay.cpp344 const int lineWidth = 4; local
347 glScissor(0, 0, width, lineWidth);
349 glScissor(0, height - lineWidth, width, lineWidth);
351 glScissor(0, 0, lineWidth, height);
353 glScissor(width - lineWidth, 0, lineWidth, height);
/frameworks/base/libs/hwui/
H A DFrameInfoVisualizer.cpp147 float lineWidth = baseLineWidth; local
161 lineWidth *= 2;
164 rect[ri + 0] = right - lineWidth;
168 right -= lineWidth;
/frameworks/minikin/include/minikin/
H A DAndroidLineBreakerHelper.h102 AndroidLineWidth lineWidth(firstWidth, firstWidthLineCount, restWidth, mIndents,
104 return breakIntoLines(textBuf, mStrategy, mFrequency, mIsJustified, measuredText, lineWidth,
H A DLineBreaker.h123 const MeasuredText& measuredText, const LineWidth& lineWidth,
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java497 int color, float lineWidth) {
498 prepareDraw(offset, color, lineWidth);
502 private void prepareDraw(int offset, int color, float lineWidth) { argument
505 if (lineWidth > 0) {
506 GLES20.glLineWidth(lineWidth);
496 draw(int type, int offset, int count, float x, float y, float width, float height, int color, float lineWidth) argument
/frameworks/base/core/java/android/view/
H A DViewGroup.java3956 int lineLength, int lineWidth) {
3957 drawCorner(canvas, paint, x1, y1, lineLength, lineLength, lineWidth);
3958 drawCorner(canvas, paint, x1, y2, lineLength, -lineLength, lineWidth);
3959 drawCorner(canvas, paint, x2, y1, -lineLength, lineLength, lineWidth);
3960 drawCorner(canvas, paint, x2, y2, -lineLength, -lineLength, lineWidth);
4027 int lineWidth = dipsToPixels(1);
4032 paint, lineLength, lineWidth);
3955 drawRectCorners(Canvas canvas, int x1, int y1, int x2, int y2, Paint paint, int lineLength, int lineWidth) argument
/frameworks/native/vulkan/nulldrv/
H A Dnull_driver_gen.h127 VKAPI_ATTR void CmdSetLineWidth(VkCommandBuffer commandBuffer, float lineWidth);
H A Dnull_driver.cpp1355 void CmdSetLineWidth(VkCommandBuffer cmdBuffer, float lineWidth) { argument
/frameworks/native/vulkan/libvulkan/
H A Dapi_gen.cpp441 VKAPI_ATTR void CmdSetLineWidth(VkCommandBuffer commandBuffer, float lineWidth);
1147 VKAPI_ATTR void CmdSetLineWidth(VkCommandBuffer commandBuffer, float lineWidth) { argument
1148 GetData(commandBuffer).dispatch.CmdSetLineWidth(commandBuffer, lineWidth);
1978 VKAPI_ATTR void vkCmdSetLineWidth(VkCommandBuffer commandBuffer, float lineWidth) { argument
1979 vulkan::api::CmdSetLineWidth(commandBuffer, lineWidth);
/frameworks/base/core/java/android/widget/
H A DTextView.java12444 final float lineWidth = textView.mLayout.getLineWidth(0);
12446 mGhostStart = lineWidth - textWidth + gap;
12448 mGhostOffset = lineWidth + gap;
12449 mFadeStop = lineWidth + textWidth / 6.0f;
12450 mMaxFadeScroll = mGhostStart + lineWidth + lineWidth;
/frameworks/native/vulkan/include/vulkan/
H A Dvulkan_core.h2260 float lineWidth; member in struct:VkPipelineRasterizationStateCreateInfo
2804 typedef void (VKAPI_PTR *PFN_vkCmdSetLineWidth)(VkCommandBuffer commandBuffer, float lineWidth);
3368 float lineWidth);
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 541 milliseconds