/external/webkit/Source/WebKit/gtk/webkit/ |
webkitviewportattributesprivate.h | 34 int availableWidth;
|
/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 | 39 final int availableWidth = widget.getWidth() - horizontalPadding; 59 right = availableWidth; 64 if (actualWidth < availableWidth) { 66 x = left - ((availableWidth - actualWidth) / 2); 70 x = left - (availableWidth - actualWidth); 75 x = Math.min(x, right - availableWidth);
|
/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/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;
|
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(); }
|
RenderBlockLineLayout.cpp | [all...] |
RenderBox.cpp | [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
ActionBarContextView.java | 341 int availableWidth = contentWidth - getPaddingLeft() - getPaddingRight(); 346 availableWidth = measureChildView(mClose, availableWidth, childSpecHeight, 0); 348 availableWidth -= lp.leftMargin + lp.rightMargin; 352 availableWidth = measureChildView(mMenuView, availableWidth, 357 availableWidth = measureChildView(mTitleLayout, availableWidth, childSpecHeight, 0); 365 Math.min(lp.width, availableWidth) : availableWidth; [all...] |
ActionBarView.java | 820 int availableWidth = contentWidth - paddingLeft - paddingRight; 821 int leftOfCenter = availableWidth / 2; 830 homeWidthSpec = MeasureSpec.makeMeasureSpec(availableWidth, MeasureSpec.AT_MOST); 837 availableWidth = Math.max(0, availableWidth - homeWidth); 838 leftOfCenter = Math.max(0, availableWidth - homeWidth); 842 availableWidth = measureChildView(mMenuView, availableWidth, 849 availableWidth = measureChildView(mIndeterminateProgressView, availableWidth, [all...] |
/external/webkit/Source/WebCore/platform/chromium/ |
PopupMenuChromium.cpp | [all...] |
/external/webkit/Tools/DumpRenderTree/ |
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...] |
/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...] |