/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderMarquee.cpp | 122 LayoutUnit contentWidth = ltr ? maxPreferredLogicalWidth() : minPreferredLogicalWidth(); 124 contentWidth += (paddingRight() - borderLeft()); 126 contentWidth = width() - contentWidth; 127 contentWidth += (paddingLeft() - borderRight()); 131 return max<LayoutUnit>(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth)); 133 return ltr ? contentWidth : clientWidth; 137 return min<LayoutUnit>(0, ltr ? (contentWidth - clientWidth) : (clientWidth - contentWidth)); [all...] |
RenderButton.cpp | 129 return marginRight() + borderRight() + paddingRight() + contentWidth();
|
RenderDetailsMarker.cpp | 109 result.transform(AffineTransform().scale(contentWidth(), contentHeight()));
|
TextAutosizer.cpp | 370 float contentWidth = renderer->contentLogicalWidth(); 372 float widthDifference = clusterTextWidth - contentWidth; 387 float contentWidth = renderer->contentLogicalWidth(); 389 return contentWidth > clusterTextWidth;
|
RenderBox.h | 155 LayoutRect paddingBoxRect() const { return LayoutRect(borderLeft(), borderTop(), contentWidth() + paddingLeft() + paddingRight(), contentHeight() + paddingTop() + paddingBottom()); } 160 LayoutRect contentBoxRect() const { return LayoutRect(borderLeft() + paddingLeft(), borderTop() + paddingTop(), contentWidth(), contentHeight()); } 213 LayoutUnit contentWidth() const { return clientWidth() - paddingLeft() - paddingRight(); } 215 LayoutUnit contentLogicalWidth() const { return style()->isHorizontalWritingMode() ? contentWidth() : contentHeight(); } 216 LayoutUnit contentLogicalHeight() const { return style()->isHorizontalWritingMode() ? contentHeight() : contentWidth(); } 324 // Right now, these are different than contentHeight/contentWidth because they still [all...] |
RenderRegion.cpp | 59 return m_flowThread->isHorizontalWritingMode() ? contentWidth() : contentHeight(); 69 return m_flowThread->isHorizontalWritingMode() ? contentHeight() : contentWidth(); 88 return m_flowThread->isHorizontalWritingMode() ? contentHeight() : contentWidth();
|
RenderDeprecatedFlexibleBox.cpp | 488 remainingSpace = borderLeft() + paddingLeft() + contentWidth() - xPos; 704 childX += child->marginLeft() + max<LayoutUnit>(0, (contentWidth() - (child->width() + child->marginWidth())) / 2); 710 childX += contentWidth() - child->marginRight() - child->width(); 716 childX += contentWidth() - child->marginRight() - child->width(); [all...] |
RenderFileUploadControl.cpp | 124 textX = contentLeft + contentWidth() - buttonAndSpacingWidth - textWidth;
|
/frameworks/base/core/java/com/android/internal/widget/ |
TextProgressBar.java | 151 int contentWidth = mProgressBar.getWidth() - (params.leftMargin + params.rightMargin); 152 int leadingEdge = ((contentWidth * mProgressBar.getProgress()) / 166 int rightLimit = contentWidth - params.rightMargin - textWidth;
|
ActionBarContextView.java | 336 final int contentWidth = MeasureSpec.getSize(widthMeasureSpec); 342 int availableWidth = contentWidth - getPaddingLeft() - getPaddingRight(); 396 setMeasuredDimension(contentWidth, measuredHeight); 398 setMeasuredDimension(contentWidth, maxHeight);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
SuggestBox.js | 119 var contentWidth = this.contentElement.offsetWidth; 129 var width = Math.min(contentWidth, maxWidth - suggestBoxPaddingX) + suggestBoxPaddingX; 130 var paddedWidth = contentWidth + suggestBoxPaddingX; 135 width = Math.min(contentWidth, maxWidth - suggestBoxPaddingX) + suggestBoxPaddingX;
|
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
AwLayoutSizerTest.java | 69 final int contentWidth = 101; 72 layoutSizer.onContentSizeChanged(contentWidth, contentHeight); 78 assertEquals(contentWidth, delegate.measuredWidth & View.MEASURED_SIZE_MASK); 371 int contentWidth = 9; 375 layoutSizer.onContentSizeChanged(contentWidth, contentHeight); 383 assertFalse((int) Math.ceil(measuredWidth / dipScale) == contentWidth); 400 int contentWidth = 800; 402 int atMostWidth = contentWidth * dipAndPageScale; 406 layoutSizer.onContentSizeChanged(contentWidth, contentHeight); 419 assertEquals(contentWidth, delegate.fixedLayoutWidth) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
TiledTexture.java | 117 public int contentWidth; 122 contentWidth = width; 285 src.set(0, 0, t.contentWidth, t.contentHeight); 304 src.set(0, 0, t.contentWidth, t.contentHeight); 327 src.set(0, 0, t.contentWidth, t.contentHeight);
|
/frameworks/base/core/java/android/widget/ |
ActivityChooserView.java | 380 final int contentWidth = Math.min(mAdapter.measureContentWidth(), mListPopupMaxWidth); 381 popupWindow.setContentWidth(contentWidth); 781 int contentWidth = 0; 791 contentWidth = Math.max(contentWidth, itemView.getMeasuredWidth()); 796 return contentWidth;
|
Spinner.java | [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ActivityChooserView.java | 352 final int contentWidth = Math.min(mAdapter.measureContentWidth(), mListPopupMaxWidth); 353 popupWindow.setContentWidth(contentWidth); 740 int contentWidth = 0; 750 contentWidth = Math.max(contentWidth, itemView.getMeasuredWidth()); 755 return contentWidth;
|
ActionBarContextView.java | 307 final int contentWidth = View.MeasureSpec.getSize(widthMeasureSpec); 313 int availableWidth = contentWidth - getPaddingLeft() - getPaddingRight(); 370 setMeasuredDimension(contentWidth, measuredHeight); 372 setMeasuredDimension(contentWidth, maxHeight);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
AppsCustomizeTabHost.java | 150 int contentWidth = mAppsCustomizePane.getPageContentWidth(); 151 if (contentWidth > 0 && mTabs.getLayoutParams().width != contentWidth) { 153 mTabs.getLayoutParams().width = contentWidth;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
AppsCustomizeTabHost.java | 156 int contentWidth = mAppsCustomizePane.getPageContentWidth(); 157 if (contentWidth > 0 && mTabs.getLayoutParams().width != contentWidth) { 159 mTabs.getLayoutParams().width = contentWidth;
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLAppletElement.cpp | 120 LayoutUnit contentWidth = renderer->style()->width().isFixed() ? LayoutUnit(renderer->style()->width().value()) : 189 widget = frame->loader().client()->createJavaAppletWidget(roundedIntSize(LayoutSize(contentWidth, contentHeight)), this, baseURL, paramNames, paramValues);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
PrintCustomContent.java | 154 final int contentWidth = (int) (density * (float) newAttributes.getMediaSize() 156 if (mRenderPageWidth != contentWidth) { 157 mRenderPageWidth = contentWidth;
|
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
ImageInputType.cpp | 235 return box ? adjustForAbsoluteZoom(box->contentWidth(), box) : 0;
|
/external/chromium_org/third_party/WebKit/Source/web/ |
PopupListBox.cpp | 899 int contentWidth; 902 contentWidth = m_baseWidth - scrollbarWidth; 911 contentWidth = windowWidth - scrollbarWidth; 915 contentWidth = m_baseWidth - scrollbarWidth; 921 setContentsSize(IntSize(contentWidth, getRowBounds(numItems() - 1).maxY()));
|
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
SliderThumbElement.cpp | 174 LayoutUnit availableExtent = isVertical ? track->contentHeight() : track->contentWidth(); 279 trackSize = trackElement->renderBox()->contentWidth() - renderBox()->width();
|
/frameworks/support/v4/java/android/support/v4/view/ |
PagerTitleStrip.java | 354 final int contentWidth = stripWidth - textPaddedLeft - textPaddedRight; 360 final int currCenter = stripWidth - textPaddedRight - (int) (contentWidth * currOffset);
|