HomeSort by relevance Sort by last modified time
    Searched refs:availableWidth (Results 1 - 24 of 24) sorted by null

  /external/webkit/Source/WebKit/gtk/webkit/
webkitviewportattributesprivate.h 34 int availableWidth;
webkitviewportattributes.cpp 421 viewport->priv->availableWidth = 0;
448 g_value_set_int(value, priv->availableWidth);
502 priv->availableWidth = g_value_get_int(value);
529 priv->availableWidth = rect.width();
537 ViewportAttributes attributes = computeViewportAttributes(arguments, priv->desktopWidth, priv->deviceWidth, priv->deviceHeight, priv->deviceDPI, IntSize(priv->availableWidth, priv->availableHeight));
  /external/webkit/Source/WebCore/dom/
ViewportArguments.cpp 48 float availableWidth = visibleViewport.width();
51 ASSERT(availableWidth > 0 && availableHeight > 0);
73 availableWidth /= result.devicePixelRatio;
132 result.initialScale = availableWidth / desktopWidth;
134 result.initialScale = availableWidth / args.width;
152 width = args.height * (availableWidth / availableHeight);
154 width = availableWidth / result.initialScale;
162 height = width * availableHeight / availableWidth;
165 width = max(width, availableWidth / result.initialScale);
171 result.minimumScale = max(result.minimumScale, max(availableWidth / width, availableHeight / height))
    [all...]
  /frameworks/base/core/java/android/text/method/
Touch.java 53 final int availableWidth = widget.getWidth() - hoizontalPadding;
56 if (actualWidth < availableWidth) {
58 x = left - ((availableWidth - actualWidth) / 2);
62 x = left - (availableWidth - actualWidth);
67 x = Math.min(x, right - availableWidth);
  /frameworks/base/core/java/com/android/internal/widget/
AbsActionBarView.java 209 protected int measureChildView(View child, int availableWidth, int childSpecHeight,
211 child.measure(MeasureSpec.makeMeasureSpec(availableWidth, MeasureSpec.AT_MOST),
214 availableWidth -= child.getMeasuredWidth();
215 availableWidth -= spacing;
217 return Math.max(0, availableWidth);
ActionBarContextView.java 338 int availableWidth = contentWidth - getPaddingLeft() - getPaddingRight();
343 availableWidth = measureChildView(mClose, availableWidth, childSpecHeight, 0);
345 availableWidth -= lp.leftMargin + lp.rightMargin;
349 availableWidth = measureChildView(mMenuView, availableWidth,
354 availableWidth = measureChildView(mTitleLayout, availableWidth, childSpecHeight, 0);
362 Math.min(lp.width, availableWidth) : availableWidth;
    [all...]
ActionBarView.java 819 int availableWidth = contentWidth - paddingLeft - paddingRight;
820 int leftOfCenter = availableWidth / 2;
829 homeWidthSpec = MeasureSpec.makeMeasureSpec(availableWidth, MeasureSpec.AT_MOST);
836 availableWidth = Math.max(0, availableWidth - homeWidth);
837 leftOfCenter = Math.max(0, availableWidth - homeWidth);
841 availableWidth = measureChildView(mMenuView, availableWidth,
848 availableWidth = measureChildView(mIndeterminateProgressView, availableWidth,
    [all...]
  /frameworks/base/core/java/android/widget/
AnalogClock.java 169 int availableWidth = mRight - mLeft;
172 int x = availableWidth / 2;
181 if (availableWidth < w || availableHeight < h) {
183 float scale = Math.min((float) availableWidth / (float) w,
  /external/webkit/Source/WebKit/gtk/WebCoreSupport/
DumpRenderTreeSupportGtk.h 58 static void dumpConfigurationForViewport(WebKitWebView* webView, gint deviceDPI, gint deviceWidth, gint deviceHeight, gint availableWidth, gint availableHeight);
DumpRenderTreeSupportGtk.cpp 639 void DumpRenderTreeSupportGtk::dumpConfigurationForViewport(WebKitWebView* webView, gint deviceDPI, gint deviceWidth, gint deviceHeight, gint availableWidth, gint availableHeight)
644 ViewportAttributes attrs = computeViewportAttributes(arguments, /* default layout width for non-mobile pages */ 980, deviceWidth, deviceHeight, deviceDPI, IntSize(availableWidth, availableHeight));
  /external/webkit/Source/WebCore/rendering/
RenderFrameSet.cpp 586 int availableWidth = width() - (cols - 1) * borderThickness;
588 availableWidth -= m_cols.m_sizes[c] += dWidth;
591 if (availableWidth)
592 m_cols.m_sizes[cols - 1] += availableWidth;
RenderBlockLineLayout.cpp     [all...]
RenderBox.h 311 // Block flows subclass availableWidth to handle multi column layout (shrinking the width available to children when laying out.)
318 int availableWidth() const { return style()->isHorizontalWritingMode() ? availableLogicalWidth() : availableLogicalHeight(); }
RenderImage.cpp 486 m_imageResource->setImageContainerSize(IntSize(toRenderBox(cb)->availableWidth(), toRenderBox(cb)->availableHeight()));
RenderBoxModelObject.cpp 384 // call availableWidth on our containing block.
388 return -style()->right().calcValue(cb->availableWidth());
389 return style()->left().calcValue(cb->availableWidth());
393 return -style()->right().calcValue(cb->availableWidth());
    [all...]
RenderBox.cpp     [all...]
  /external/webkit/Tools/DumpRenderTree/qt/
LayoutTestControllerQt.h 117 void dumpConfigurationForViewport(int deviceDPI, int deviceWidth, int deviceHeight, int availableWidth, int availableHeight);
LayoutTestControllerQt.cpp 239 void LayoutTestController::dumpConfigurationForViewport(int deviceDPI, int deviceWidth, int deviceHeight, int availableWidth, int availableHeight)
241 QString res = DumpRenderTreeSupportQt::viewportAsText(m_drt->webPage(), deviceDPI, QSize(deviceWidth, deviceHeight), QSize(availableWidth, availableHeight));
  /external/webkit/Tools/DumpRenderTree/
LayoutTestController.h 307 void dumpConfigurationForViewport(int deviceDPI, int deviceWidth, int deviceHeight, int availableWidth, int availableHeight);
LayoutTestController.cpp 159 double availableWidth = JSValueToNumber(context, arguments[3], exception);
165 controller->dumpConfigurationForViewport(static_cast<int>(deviceDPI), static_cast<int>(deviceWidth), static_cast<int>(deviceHeight), static_cast<int>(availableWidth), static_cast<int>(availableHeight));
    [all...]
  /external/webkit/Source/WebCore/platform/chromium/
PopupMenuChromium.cpp     [all...]
  /external/webkit/Tools/DumpRenderTree/gtk/
LayoutTestControllerGtk.cpp     [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
SuggestionsView.java 400 final int availableWidth = maxWidth - paddings - dividers;
401 return (int)(availableWidth * getSuggestionWeight(index));
    [all...]
  /external/chromium/chrome/browser/resources/ntp/
apps.js 623 var availableWidth = this.dragContainer.offsetWidth;
636 left = availableWidth - left - w;

Completed in 280 milliseconds