Home
last modified time | relevance | path

Searched refs:leftMargin (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/chrome/browser/resources/ntp4/
Dtile_page.js490 return this.layoutValues_.leftMargin;
839 var leftMargin =
849 leftMargin: leftMargin, property
900 var realX = col * layout.colWidth + layout.leftMargin;
953 var col = Math.floor((x - gridClientRect.left - layout.leftMargin) /
998 var leftMargin = this.layoutValues_.leftMargin;
1002 fadeDistance = Math.min(leftMargin, fadeDistance);
1010 'transparent ' + (leftMargin - fadeDistance) + 'px, ' +
1011 'black ' + leftMargin + 'px, ' +
1012 'black ' + (this.tileGrid_.clientWidth - leftMargin) + 'px, ' +
[all …]
/external/chromium_org/ui/keyboard/resources/elements/
Dkb-keyset.js69 var leftMargin = event.target.offsetLeft;
70 var maxLeftOffset = Math.round(leftMargin / keyWidth);
71 var rightMargin = this.clientWidth - leftMargin - keyWidth;
/external/mdnsresponder/mDNSPosix/
Dparselog.py172 leftMargin = typesize * 60
174 …pageRect = CGRectMake (-leftMargin, -bottomMargin, leftMargin + width, bottomMargin + pageHeight)…
/external/chromium_org/chrome/browser/ui/cocoa/
Dstyled_text_field_test_helper.h14 @property(nonatomic, assign) CGFloat leftMargin;
Dstyled_text_field_test_helper.mm9 @synthesize leftMargin = leftMargin_;
Dstyled_text_field_unittest.mm130 EXPECT_EQ(0, [cell_ leftMargin]);
/external/droiddriver/src/com/google/android/droiddriver/actions/
DSwipeAction.java149 int leftMargin = (int) (elementRect.width() * leftMarginRatio); in perform() local
153 int adjustedLeft = elementRect.left + leftMargin; in perform()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowMarginLayoutParams.java21 realMarginLayoutParams.leftMargin = left; in setMargins()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DMarginLayoutParamsTest.java23 assertThat(marginLayoutParams.leftMargin, equalTo(1)); in testSetMargins()
/external/chromium_org/ui/app_list/cocoa/
Dapps_search_box_controller.mm131 - (void)setMarginsWithLeftMargin:(CGFloat)leftMargin
293 - (void)setMarginsWithLeftMargin:(CGFloat)leftMargin
299 textFrameInset_.origin.x = leftMargin;
301 textFrameInset_.size.width = leftMargin + rightMargin;
/external/chromium_org/base/android/java/src/org/chromium/base/
DApiCompatibilityUtils.java136 layoutParams.leftMargin = start; in setMarginStart()
147 return layoutParams.leftMargin; in getMarginStart()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/banners/
DAppBannerView.java216 params.leftMargin = mMarginLeft; in initializeControls()
827 return params.leftMargin + params.rightMargin; in getMarginWidth()
/external/chromium_org/third_party/WebKit/Source/web/
DWebViewImpl.cpp1120 int leftMargin = targetMargin; in widenRectWithinPageBounds() local
1124 if (leftMargin > absoluteSourceX) { in widenRectWithinPageBounds()
1125 leftMargin = absoluteSourceX; in widenRectWithinPageBounds()
1126 rightMargin = std::max(leftMargin, minimumMargin); in widenRectWithinPageBounds()
1132 leftMargin = std::min(leftMargin, std::max(rightMargin, minimumMargin)); in widenRectWithinPageBounds()
1135 const int newWidth = source.width + leftMargin + rightMargin; in widenRectWithinPageBounds()
1136 const int newX = source.x - leftMargin; in widenRectWithinPageBounds()
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DContentViewCore.java471 int leftMargin = Math.round(x * scale); in getViewAndroidDelegate() local
481 startMargin = leftMargin; in getViewAndroidDelegate()
497 leftMargin += mRenderCoordinates.getScrollXPixInt(); in getViewAndroidDelegate()
502 scaledWidth, (int) (height * scale), leftMargin, topMargin); in getViewAndroidDelegate()