Searched defs:maxWidth (Results 1 - 25 of 47) sorted by relevance

12

/external/smali/util/src/main/java/org/jf/util/
H A DStringWrapper.java45 * @param maxWidth The maximum length of any line
54 public static String[] wrapString(@Nonnull String str, int maxWidth, @Nullable String[] output) { argument
56 output = new String[(int)((str.length() / maxWidth) * 1.5d + 1)];
68 } else if (i - lineStart == maxWidth) {
/external/chromium_org/chrome/browser/ui/cocoa/extensions/
H A Dbrowser_actions_container_view.h78 @property(nonatomic) CGFloat maxWidth; variable
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DStyleBoxData.h52 const Length& maxWidth() const { return m_maxWidth; } function in class:blink::StyleBoxData
/external/chromium_org/third_party/WebKit/Source/web/
H A DPopupContainerTest.cpp42 width = std::min(maxWidth, width);
49 maxWidth = max;
56 , maxWidth(width)
64 int maxWidth; member in class:MockPopupContent
H A DPopupListBox.h171 void setMaxWidth(int maxWidth) { m_maxWindowWidth = maxWidth; } argument
H A DPopupListBox.cpp464 int maxWidth = 0; local
466 maxWidth = rowRect.width() - max<int>(0, m_popupClient->clientPaddingRight());
469 maxWidth = rowRect.width() - textX;
479 textX += maxWidth - itemFont.width(textRun);
739 void PopupListBox::setMaxWidthAndLayout(int maxWidth) argument
741 m_maxWindowWidth = maxWidth;
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DFixedTableLayout.cpp178 void FixedTableLayout::computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit& maxWidth) argument
180 minWidth = maxWidth = calcWidthArray();
183 void FixedTableLayout::applyPreferredLogicalWidthQuirks(LayoutUnit& minWidth, LayoutUnit& maxWidth) const
187 minWidth = maxWidth = max<int>(minWidth, tableLogicalWidth.value() - m_table->bordersPaddingAndSpacingInRowDirection());
201 if (m_table->style()->logicalWidth().isPercent() && maxWidth < tableMaxWidth)
202 maxWidth = tableMaxWidth;
H A DRenderScrollbarPart.cpp104 int maxWidth = style()->maxWidth().isMaxSizeNone() ? w : calcScrollbarThicknessUsing(MaxSize, style()->maxWidth(), visibleSize); local
105 setWidth(std::max(minWidth, std::min(maxWidth, w)));
H A DAutoTableLayout.cpp210 void AutoTableLayout::computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit& maxWidth) argument
218 maxWidth = 0;
230 maxWidth += m_layoutStruct[i].effectiveMaxLogicalWidth;
244 maxWidth = std::max<int>(maxWidth, static_cast<int>(std::min(maxNonPercent, static_cast<float>(tableMaxWidth))));
245 maxWidth = std::max<int>(maxWidth, static_cast<int>(std::min(maxPercent, static_cast<float>(tableMaxWidth))));
248 maxWidth = std::max<int>(maxWidth, spanMaxLogicalWidth);
251 void AutoTableLayout::applyPreferredLogicalWidthQuirks(LayoutUnit& minWidth, LayoutUnit& maxWidth) cons
[all...]
H A DRenderDeprecatedFlexibleBox.cpp235 if (styleToUse->maxWidth().isFixed()) {
236 m_maxPreferredLogicalWidth = std::min(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->maxWidth().value()));
237 m_minPreferredLogicalWidth = std::min(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->maxWidth().value()));
1002 LayoutUnit maxWidth = LayoutUnit::max(); local
1004 if (child->style()->maxWidth().isFixed())
1005 maxWidth = child->style()->maxWidth().value();
1006 else if (child->style()->maxWidth().type() == Intrinsic)
1007 maxWidth = child->maxPreferredLogicalWidth();
1008 else if (child->style()->maxWidth()
[all...]
H A DTextAutosizer.cpp803 float maxWidth = widthFromBlock(result); local
811 if (width > maxWidth) {
812 maxWidth = width;
H A DRenderText.cpp770 float& minWidth, float& maxWidth, bool& stripFrontSpaces,
791 maxWidth = 0;
797 maxWidth = m_maxWidth;
812 maxWidth -= spaceWidth;
814 maxWidth += font.fontDescription().wordSpacing();
820 if (!style()->autoWrap() || minWidth > maxWidth)
821 minWidth = maxWidth;
827 firstLineMaxWidth = maxWidth;
828 lastLineMaxWidth = maxWidth;
765 trimmedPrefWidths(float leadWidth, float& firstLineMinWidth, bool& hasBreakableStart, float& lastLineMinWidth, bool& hasBreakableEnd, bool& hasBreakableChar, bool& hasBreak, float& firstLineMaxWidth, float& lastLineMaxWidth, float& minWidth, float& maxWidth, bool& stripFrontSpaces, TextDirection direction) argument
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DViewportDescription.h82 Length maxWidth; member in struct:blink::ViewportDescription
104 && maxWidth == other.maxWidth
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
H A DDrawUtils.java228 int maxWidth,
250 } else if (imageWidth <= maxWidth && imageHeight <= maxHeight) {
253 double kX = (double) maxWidth / imageWidth;
225 getThubmnail(Image image, int minWidth, int minHeight, int maxWidth, int maxHeight) argument
/external/deqp/modules/egl/
H A DteglMemoryStressTests.cpp66 MemoryAllocator (EglTestContext& eglTestCtx, EGLDisplay display, EGLConfig config, int seed, ObjectType types, int minWidth, int minHeight, int maxWidth, int maxHeight, bool use);
99 MemoryAllocator::MemoryAllocator (EglTestContext& eglTestCtx, EGLDisplay display, EGLConfig config, int seed, ObjectType types, int minWidth, int minHeight, int maxWidth, int maxHeight, bool use) argument
110 , m_maxWidth (maxWidth)
313 int maxWidth; member in struct:deqp::egl::MemoryStressCase::Spec
384 m_allocator = new MemoryAllocator(m_eglTestCtx, m_display, m_config, m_seed, m_spec.types, m_spec.minWidth, m_spec.minHeight, m_spec.maxWidth, m_spec.maxHeight, m_spec.use);
464 spec.maxWidth = 256;
478 spec.maxWidth = 256;
492 spec.maxWidth = 1024;
506 spec.maxWidth = 1024;
520 spec.maxWidth
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fFboNoAttachmentTests.cpp503 const int maxWidth = 2048; // MAX_FRAMEBUFFER_WIDTH in ES 3.1 local
515 for (int width = 16; width <= maxWidth; width *= 4)
600 const int width = rng.getInt(1, maxWidth);
/external/chromium_org/third_party/skia/src/core/
H A DSkClipStack.cpp805 int maxWidth,
812 SkIntToScalar(maxWidth), SkIntToScalar(maxHeight));
803 getConservativeBounds(int offsetX, int offsetY, int maxWidth, int maxHeight, SkRect* devBounds, bool* isIntersectionOfRects) const argument
/external/opencv/cvaux/src/
H A Dcvlcm.cpp58 float maxWidth; member in struct:CvLCM
275 float maxWidth)
279 CvLCM LCM = {NULL, VoronoiDiagram,NULL,NULL,maxWidth};
286 if( maxWidth < 0 )
376 if(pNode->radius > LCM->maxWidth)
381 if(pNode1->radius > LCM->maxWidth)
453 if(pNode0->radius <= pLCM->maxWidth && pNode1->radius <= pLCM->maxWidth)
546 if(pNode1->radius >= pLCM->maxWidth)
274 cvLinearContorModelFromVoronoiDiagram(CvVoronoiDiagram2D* VoronoiDiagram, float maxWidth) argument
/external/skia/src/core/
H A DSkClipStack.cpp805 int maxWidth,
812 SkIntToScalar(maxWidth), SkIntToScalar(maxHeight));
803 getConservativeBounds(int offsetX, int offsetY, int maxWidth, int maxHeight, SkRect* devBounds, bool* isIntersectionOfRects) const argument
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSComputedStyleDeclaration.cpp2071 const Length& maxWidth = style->maxWidth(); local
2072 if (maxWidth.isMaxSizeNone())
2074 return zoomAdjustedPixelValueForLength(maxWidth, *style);
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dfbobject.c681 GLuint minWidth = ~0, minHeight = ~0, maxWidth = 0, maxHeight = 0; local
746 maxWidth = MAX2(maxWidth, texImg->Width);
761 maxWidth = MAX2(minWidth, att->Renderbuffer->Width);
792 if (minWidth != maxWidth || minHeight != maxHeight) {
/external/deqp/modules/glshared/
H A DglsLifetimeTests.cpp492 Rectangle randomViewport (const RenderContext& ctx, GLint maxWidth, GLint maxHeight, argument
496 const GLint width = de::min(target.getWidth(), maxWidth);
497 const GLint xOff = rnd.getInt(0, width - maxWidth);
/external/mesa3d/src/mesa/main/
H A Dfbobject.c681 GLuint minWidth = ~0, minHeight = ~0, maxWidth = 0, maxHeight = 0; local
746 maxWidth = MAX2(maxWidth, texImg->Width);
761 maxWidth = MAX2(minWidth, att->Renderbuffer->Width);
792 if (minWidth != maxWidth || minHeight != maxHeight) {
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DCanvasRenderingContext2D.cpp2077 void CanvasRenderingContext2D::fillText(const String& text, float x, float y, float maxWidth) argument
2079 drawTextInternal(text, x, y, true, maxWidth, true);
2087 void CanvasRenderingContext2D::strokeText(const String& text, float x, float y, float maxWidth) argument
2089 drawTextInternal(text, x, y, false, maxWidth, true);
2133 void CanvasRenderingContext2D::drawTextInternal(const String& text, float x, float y, bool fill, float maxWidth, bool useMaxWidth) argument
2151 if (useMaxWidth && (!std::isfinite(maxWidth) || maxWidth <= 0))
2180 useMaxWidth = (useMaxWidth && maxWidth < fontWidth);
2181 float width = useMaxWidth ? maxWidth : fontWidth;
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DInspectorPageAgent.cpp1452 void InspectorPageAgent::startScreencast(ErrorString*, const String* format, const int* quality, const int* maxWidth, const int* maxHeight) argument

Completed in 347 milliseconds

12