HomeSort by relevance Sort by last modified time
    Searched defs:margin (Results 51 - 75 of 132) sorted by null

1 23 4 5 6

  /packages/apps/Camera2/src/com/android/camera/crop/
CropView.java 334 int margin = (int) mDisplayMatrix.mapRadius(mShadowMargin); local
336 mShadowBounds.set(mShadowBounds.left - margin, mShadowBounds.top -
337 margin, mShadowBounds.right + margin, mShadowBounds.bottom + margin);
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
CropView.java 335 int margin = (int) mDisplayMatrix.mapRadius(mShadowMargin); local
337 mShadowBounds.set(mShadowBounds.left - margin, mShadowBounds.top -
338 margin, mShadowBounds.right + margin, mShadowBounds.bottom + margin);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
ConstraintPainter.java 51 * such as a source node having its top edge constrained to a target node with a given margin.
367 * nodes do not overlap horizontally and the target node has a bottom margin:
423 // If however there is a margin on the target edge, it should be drawn like this:
443 if (sourceY > sharedY + 2) { // Skip when source falls on the margin line
513 // However, if the target node has a vertical margin, we may need to offset
583 int margin = targetMargins.top; local
584 if (margin == 0 || !type.relativeToMargin) {
587 graphics.drawArrow(tx, ty, tx, ty - margin, ARROW_SIZE);
591 int margin = targetMargins.bottom; local
592 if (margin == 0 || !type.relativeToMargin)
736 int margin = targetMargins.left; local
745 int margin = targetMargins.right; local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
CSSMetadata.js 191 "margin-top-collapse": { values: [
272 "margin-bottom-collapse": { values: [
290 "margin-bottom": { values: [
305 "margin-before-collapse": { values: [
407 "margin-after-collapse": { values: [
437 "margin-left": { values: [
440 "margin-top": { values: [
501 "margin": { values: [
507 "margin-right": { values: [
812 "margin": 241
    [all...]
  /external/chromium/chrome/browser/ui/gtk/bookmarks/
bookmark_bar_gtk.cc 1176 int margin = std::min(15, static_cast<int>(0.3 * button->allocation.width)); local
    [all...]
  /external/chromium_org/ui/message_center/views/
message_center_view.cc 162 int margin = (height() - text_height) / 2; local
163 label_->SetBounds(0, margin, width(), text_height);
255 // Set the margin to 0 for the layout. BoxLayout assumes the same margin
256 // for top and bottom, but the bottom margin here should be smaller
258 // to provide this margin.
    [all...]
  /external/opencv/cv/src/
cvsurf.cpp 193 int margin = 5*scaleCache[k+1]/scale; local
194 for( i = margin; i < hessian_rows-margin; i++ )
198 for( j = margin; j < hessian_cols-margin; j++ )
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageCurves.java 260 float margin = Spline.curveHandleSize() / 2; local
262 if (posX < margin) {
263 posX = margin;
266 if (posY < margin) {
267 posY = margin;
269 if (posX > getWidth() - margin) {
270 posX = getWidth() - margin;
272 if (posY > getHeight() - margin) {
273 posY = getHeight() - margin;
275 posX = (posX - margin) / (getWidth() - 2 * margin)
    [all...]
  /packages/apps/Settings/src/com/android/settings/widget/
ChartSweepView.java 293 float margin; local
298 margin = getLabelTop(mValidAfterDynamic) - getLabelBottom(this);
299 if (margin < 0) {
300 labelOffset = margin / 2;
304 margin = getLabelTop(this) - getLabelBottom(mValidBeforeDynamic);
305 if (margin < 0) {
306 labelOffset = -margin / 2;
595 Rect parentContent, long afterValue, long beforeValue, float margin) {
605 final float afterPoint = mAxis.convertToPoint(afterValue) + margin;
606 final float beforePoint = mAxis.convertToPoint(beforeValue) - margin;
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/
ImageViewer.java 87 private static final int MARGIN = 5;
390 int margin = getZoomedPixelSize(MARGIN); local
395 mPadding.x = margin;
401 mPadding.y = margin;
420 int margin = getZoomedPixelSize(MARGIN) * 2; local
426 int max = horizontalScroll + verticalBarSize + margin;
446 int max = verticalScroll + horizontalBarSize + margin;
  /external/chromium_org/chrome/browser/ui/gtk/bookmarks/
bookmark_bar_gtk.cc 860 int margin = std::min(15, static_cast<int>(0.3 * allocation.width)); local
861 if (x > margin && x < (allocation.width - margin))
867 if (x > margin)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderFlexibleBox.cpp 102 LayoutUnit margin = marginIntrinsicLogicalWidthForChild(child); local
106 minPreferredLogicalWidth += margin;
107 maxPreferredLogicalWidth += margin;
776 // For column flows, only make this adjustment if topOrLeft corresponds to the "before" margin,
817 LayoutUnit RenderFlexibleBox::computeChildMarginValue(Length margin, RenderView* view)
820 // Fortunately, percent margins are always computed with respect to the block's width, even for margin-top and margin-bottom.
822 return minimumValueForLength(margin, availableSize, view);
836 // Before running the flex algorithm, 'auto' has a margin of 0.
    [all...]
RenderBlockFlow.cpp 73 // They may or may not collapse with the top margin of the block (|m_canCollapseTopWithChildren| tells us that), but they will
137 LayoutUnit margin() const { return m_positiveMargin - m_negativeMargin; } function in class:WebCore::MarginInfo
281 // collapsing together, then you'd take the maximal positive margin from both A and B
282 // and subtract it from the maximal negative margin from both A and B to get the
283 // true collapsed margin. This algorithm is recursive, so when we finish layout()
286 // Start out by setting our margin values to our current margins. Table cells have
452 // Now determine the correct ypos based off examination of collapsing margin
    [all...]
  /external/chromium_org/third_party/skia/src/gpu/
GrContext.cpp 1075 SkScalar margin = SkScalarAbs(outer[0] - inner[0]); local
    [all...]
  /external/skia/src/gpu/
GrContext.cpp 1075 SkScalar margin = SkScalarAbs(outer[0] - inner[0]); local
    [all...]
  /frameworks/base/core/java/android/text/
Layout.java 272 // Draw all leading margin spans. Adjust left or right according
277 LeadingMarginSpan margin = (LeadingMarginSpan) spans[n]; local
279 if (margin instanceof LeadingMarginSpan2) {
280 int count = ((LeadingMarginSpan2) margin).getLeadingMarginLineCount();
281 int startLine = getLineForOffset(sp.getSpanStart(margin));
286 margin.drawLeadingMargin(canvas, paint, right, dir, ltop,
289 right -= margin.getLeadingMargin(useFirstLineMargin);
291 margin.drawLeadingMargin(canvas, paint, left, dir, ltop,
294 left += margin.getLeadingMargin(useFirstLineMargin);
468 * @param left the left bounds (0, or leading margin if ltr para
931 float margin = getParagraphLeadingMargin(line); local
941 float margin = getParagraphLeadingMargin(line); local
1537 int margin = 0; local
    [all...]
  /frameworks/base/core/java/android/widget/
LinearLayout.java 741 final int margin = lp.leftMargin + lp.rightMargin; local
742 final int measuredWidth = child.getMeasuredWidth() + margin;
753 matchWidthLocally ? margin : measuredWidth);
756 matchWidthLocally ? margin : measuredWidth);
857 final int margin = lp.leftMargin + lp.rightMargin; local
1084 final int margin = lp.topMargin + lp.bottomMargin; local
1253 final int margin = lp.topMargin + lp .bottomMargin; local
    [all...]
GridLayout.java 672 int margin = horizontal ? local
675 return margin == UNDEFINED ? getDefaultMargin(view, lp, horizontal, leading) : margin;
2009 int margin = a.getDimensionPixelSize(MARGIN, DEFAULT_MARGIN); local
    [all...]
  /external/chromium_org/third_party/skia/src/core/
SkDraw.cpp 2818 SkIPoint margin = SkIPoint::Make(0, 0); local
    [all...]
  /external/chromium_org/third_party/sqlite/src/ext/rtree/
rtree.c 1434 float margin = 0.0; local
2025 float margin = 0.0; local
    [all...]
  /external/skia/src/core/
SkDraw.cpp 2818 SkIPoint margin = SkIPoint::Make(0, 0); local
    [all...]
  /frameworks/support/v4/java/android/support/v4/widget/
SlidingPaneLayout.java 666 final int margin = lp.leftMargin + lp.rightMargin; local
668 width - paddingRight - mOverhangSize) - xStart - margin;
    [all...]
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/parse-only/
mootools-1.2.2-core-nc.js     [all...]
  /frameworks/base/core/java/android/view/
HardwareRenderer.java 750 * @return The size in pixels of the margin between horizontal units.
2023 final int margin = provider.getHorizontaUnitMargin(); local
    [all...]
  /frameworks/support/v7/gridlayout/src/android/support/v7/widget/
GridLayout.java 668 int margin = horizontal ? local
671 return margin == UNDEFINED ? getDefaultMargin(view, lp, horizontal, leading) : margin;
1892 int margin = a.getDimensionPixelSize(MARGIN, DEFAULT_MARGIN); local
    [all...]

Completed in 2606 milliseconds

1 23 4 5 6