/external/chromium_org/third_party/WebKit/Source/platform/text/ |
H A D | StringTruncator.h | 41 static String centerTruncate(const String&, float maxWidth, const Font&); 42 static String rightTruncate(const String&, float maxWidth, const Font&);
|
H A D | StringTruncator.cpp | 106 static String truncateString(const String& string, float maxWidth, const Font& font, TruncationFunction truncateToBuffer) 111 ASSERT(maxWidth >= 0); 130 if (width <= maxWidth) 139 if (currentEllipsisWidth >= maxWidth) { 145 ASSERT(widthForLargestKnownToFit <= maxWidth); 146 ASSERT(widthForSmallestKnownToNotFit > maxWidth); 150 keepCount = static_cast<unsigned>(maxWidth * ratio); 166 if (width <= maxWidth) { 186 String StringTruncator::centerTruncate(const String& string, float maxWidth, const Font& font) 188 return truncateString(string, maxWidth, fon [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | FixedTableLayout.h | 36 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit& maxWidth) OVERRIDE; 37 virtual void applyPreferredLogicalWidthQuirks(LayoutUnit& minWidth, LayoutUnit& maxWidth) const OVERRIDE;
|
H A D | TableLayout.h | 42 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit& maxWidth) = 0; 43 virtual void applyPreferredLogicalWidthQuirks(LayoutUnit& minWidth, LayoutUnit& maxWidth) const = 0;
|
H A D | AutoTableLayout.h | 39 virtual void computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit& maxWidth) OVERRIDE; 40 virtual void applyPreferredLogicalWidthQuirks(LayoutUnit& minWidth, LayoutUnit& maxWidth) const OVERRIDE;
|
H A D | RenderSlider.cpp | 79 if (styleToUse->maxWidth().isFixed()) { 80 m_maxPreferredLogicalWidth = min(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->maxWidth().value())); 81 m_minPreferredLogicalWidth = min(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->maxWidth().value()));
|
H A D | FixedTableLayout.cpp | 178 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 D | RenderScrollbarPart.cpp | 104 int maxWidth = style()->maxWidth().isMaxSizeNone() ? w : calcScrollbarThicknessUsing(MaxSize, style()->maxWidth(), visibleSize); local 105 setWidth(std::max(minWidth, std::min(maxWidth, w)));
|
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | PageScaleConstraintsSet.cpp | 171 if (description.maxWidth.isAuto() || description.maxWidth.type() == ExtendToZoom) 173 if (useWideViewport || description.maxWidth.type() == DeviceWidth) 192 if (wideViewportQuirkEnabled && (!useWideViewport || description.maxWidth.type() == DeviceWidth)) { 199 if (useWideViewport && (description.maxWidth.isAuto() || description.maxWidth.type() == ExtendToZoom) && description.zoom != 1.0f) { 203 const float nonWideScale = description.zoom < 1 && description.maxWidth.type() != DeviceWidth && description.maxWidth.type() != DeviceHeight ? -1 : oldInitialScale; 206 if (m_userAgentConstraints.initialScale != -1 && (description.maxWidth.type() == DeviceWidth || ((description.maxWidth [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/autofill/ |
H A D | autofill_suggestion_container.h | 48 maxWidth:(CGFloat)maxWidth;
|
H A D | autofill_bubble_controller.h | 35 - (CGFloat)maxWidth;
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | ViewportDescription.h | 82 Length maxWidth; member in struct:blink::ViewportDescription 104 && maxWidth == other.maxWidth
|
H A D | ViewportDescription.cpp | 83 Length copyMaxWidth = maxWidth; 86 if (isLegacyViewportType() && maxWidth.isAuto()) { 234 if (maxWidth.type() == blink::Fixed) { 240 int viewportWidth = maxWidth.intValue(); 248 } else if (maxWidth.type() == blink::DeviceWidth || maxWidth.type() == blink::ExtendToZoom) {
|
/external/smali/util/src/main/java/org/jf/util/ |
H A D | StringWrapper.java | 45 * @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/deqp/modules/egl/ |
H A D | teglMemoryStressTests.cpp | 66 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/chromium_org/chrome/browser/ui/cocoa/find_bar/ |
H A D | find_bar_cocoa_controller.h | 76 // |maxWidth|). 77 - (void)positionFindBarViewAtMaxY:(CGFloat)maxY maxWidth:(CGFloat)maxWidth;
|
/external/chromium_org/chrome/browser/resources/feedback/js/ |
H A D | take_screenshot.js | 37 maxWidth: 4096,
|
/external/chromium_org/chrome/browser/ui/cocoa/extensions/ |
H A D | browser_actions_container_view.h | 78 @property(nonatomic) CGFloat maxWidth; variable
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
H A D | fullscreen_exit_bubble_controller.h | 56 - (void)positionInWindowAtTop:(CGFloat)maxY width:(CGFloat)maxWidth;
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/ |
H A D | DropdownPopupWindow.java | 132 int maxWidth = 0; 145 maxWidth = Math.max(maxWidth, itemView.getMeasuredWidth()); 147 return maxWidth;
|
/external/chromium_org/extensions/renderer/resources/ |
H A D | app_window_custom_bindings.js | 70 Object.defineProperty(Bounds.prototype, 'maxWidth', { 72 return appWindowData[privates(this).boundsKey_].maxWidth; 74 set: function(maxWidth) { 75 updateSizeConstraints(privates(this).boundsKey_, { maxWidth: maxWidth }); 107 Bounds.prototype.setMaximumSize = function(maxWidth, maxHeight) { 109 { maxWidth: maxWidth, maxHeight: maxHeight }); 291 maxWidth: params.innerBounds.maxWidth, [all...] |
/external/chromium_org/third_party/mozilla/ |
H A D | NSString+Utils.mm | 268 - (void)truncateToWidth:(float)maxWidth 273 if ([self sizeWithAttributes:attributes].width <= maxWidth) 277 // which fits best into maxWidth. 279 float width = maxWidth; 294 if (width > maxWidth) { 299 else if (width == maxWidth) { 310 if (width != maxWidth)
|
/external/chromium_org/ui/file_manager/image_loader/ |
H A D | image_loader.js | 143 * - maxWidth, maxHeight: for maximum dimensions, 170 if (options.maxWidth && targetWidth > options.maxWidth) { 171 var scale = options.maxWidth / targetWidth;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
H A D | StyleBoxData.h | 52 const Length& maxWidth() const { return m_maxWidth; } function in class:blink::StyleBoxData
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/settings/ |
H A D | FrameworkBlackboxDialog.js | 82 var maxWidth = Math.min(540, this._relativeToElement.offsetWidth - 10); 83 maxWidth = Math.max(minWidth, maxWidth); 85 this._dialogElement.style.width = maxWidth + "px";
|