Home
last modified time | relevance | path

Searched refs:Length (Results 1 – 25 of 312) sorted by relevance

12345678910>>...13

/external/webkit/WebCore/platform/
DLengthBox.h42 : m_left(Length(v, Fixed)) in LengthBox()
43 , m_right(Length(v, Fixed)) in LengthBox()
44 , m_top(Length(v, Fixed)) in LengthBox()
45 , m_bottom(Length(v, Fixed)) in LengthBox()
50 : m_left(Length(l, Fixed)) in LengthBox()
51 , m_right(Length(r, Fixed)) in LengthBox()
52 , m_top(Length(t, Fixed)) in LengthBox()
53 , m_bottom(Length(b, Fixed)) in LengthBox()
57 Length left() const { return m_left; } in left()
58 Length right() const { return m_right; } in right()
[all …]
DLength.cpp37 static Length parseLength(const UChar* data, unsigned length) in parseLength()
40 return Length(1, Relative); in parseLength()
64 return Length(r, Percent); in parseLength()
65 return Length(1, Relative); in parseLength()
70 return Length(r, Relative); in parseLength()
71 return Length(1, Relative); in parseLength()
74 return Length(r, Fixed); in parseLength()
75 return Length(0, Relative); in parseLength()
86 Length* newCoordsArray(const String& string, int& len) in newCoordsArray()
103 Length* r = new Length[len]; in newCoordsArray()
[all …]
DLengthSize.h34 LengthSize(Length width, Length height) in LengthSize()
45 void setWidth(Length width) { m_width = width; } in setWidth()
46 Length width() const { return m_width; } in width()
48 void setHeight(Length height) { m_height = height; } in setHeight()
49 Length height() const { return m_height; } in height()
52 Length m_width;
53 Length m_height;
DLength.h37 struct Length : FastAllocBase { struct
38 Length() in Length() function
43 Length(LengthType t) in Length() argument
48 Length(int v, LengthType t, bool q = false)
54 Length(double v, LengthType t, bool q = false)
60 bool operator==(const Length& o) const { return m_value == o.m_value; }
61 bool operator!=(const Length& o) const { return m_value != o.m_value; }
165 Length blend(const Length& from, double progress) const in blend() argument
181 return Length(fromPercent + (toPercent - fromPercent) * progress, Percent); in blend()
186 return Length(int(fromValue + (toValue - fromValue) * progress), resultType); in blend()
[all …]
/external/webkit/WebCore/rendering/style/
DRenderStyle.h361 Length left() const { return surround->offset.left(); } in left()
362 Length right() const { return surround->offset.right(); } in right()
363 Length top() const { return surround->offset.top(); } in top()
364 Length bottom() const { return surround->offset.bottom(); } in bottom()
374 Length width() const { return box->width; } in width()
375 Length height() const { return box->height; } in height()
376 Length minWidth() const { return box->min_width; } in minWidth()
377 Length maxWidth() const { return box->max_width; } in maxWidth()
378 Length minHeight() const { return box->min_height; } in minHeight()
379 Length maxHeight() const { return box->max_height; } in maxHeight()
[all …]
DStyleBoxData.h45 Length width;
46 Length height;
48 Length min_width;
49 Length max_width;
51 Length min_height;
52 Length max_height;
54 Length vertical_align;
DFillLayer.h68 Length xPosition() const { return m_xPosition; } in xPosition()
69 Length yPosition() const { return m_yPosition; } in yPosition()
94 void setXPosition(Length l) { m_xPosition = l; m_xPosSet = true; } in setXPosition()
95 void setYPosition(Length l) { m_yPosition = l; m_yPosSet = true; } in setYPosition()
159 static Length initialFillXPosition(EFillLayerType) { return Length(0.0, Percent); } in initialFillXPosition()
160 static Length initialFillYPosition(EFillLayerType) { return Length(0.0, Percent); } in initialFillYPosition()
169 Length m_xPosition;
170 Length m_yPosition;
/external/webkit/WebCore/platform/graphics/transforms/
DTranslateTransformOperation.h35 …static PassRefPtr<TranslateTransformOperation> create(const Length& tx, const Length& ty, Operatio… in create()
37 return adoptRef(new TranslateTransformOperation(tx, ty, Length(0, Fixed), type)); in create()
40 …c PassRefPtr<TranslateTransformOperation> create(const Length& tx, const Length& ty, const Length&… in create()
71 …TranslateTransformOperation(const Length& tx, const Length& ty, const Length& tz, OperationType ty… in TranslateTransformOperation()
80 Length m_x;
81 Length m_y;
82 Length m_z;
DTranslateTransformOperation.cpp33 return TranslateTransformOperation::create(Length(m_x.type()).blend(m_x, progress), in blend()
34 Length(m_y.type()).blend(m_y, progress), in blend()
35 Length(m_z.type()).blend(m_z, progress), m_type); in blend()
38 Length fromX = fromOp ? fromOp->m_x : Length(m_x.type()); in blend()
39 Length fromY = fromOp ? fromOp->m_y : Length(m_y.type()); in blend()
40 Length fromZ = fromOp ? fromOp->m_z : Length(m_z.type()); in blend()
/external/webkit/WebCore/platform/android/
DRenderThemeAndroid.cpp175 style->setMarginLeft(Length(m, Fixed)); in addIntrinsicMargins()
177 style->setMarginRight(Length(m, Fixed)); in addIntrinsicMargins()
182 style->setMarginTop(Length(m, Fixed)); in addIntrinsicMargins()
184 style->setMarginBottom(Length(m, Fixed)); in addIntrinsicMargins()
207 style->setPaddingLeft(Length(padding, Fixed)); in adjustButtonStyle()
208 style->setPaddingRight(Length(padding, Fixed)); in adjustButtonStyle()
209 style->setMinHeight(Length(style->fontSize() + buttonPadding, Fixed)); in adjustButtonStyle()
315 o->style()->setWidth(Length(sliderThumbWidth, Fixed)); in adjustSliderThumbSize()
316 o->style()->setHeight(Length(sliderThumbHeight, Fixed)); in adjustSliderThumbSize()
330 style->setWidth(Length(19, Fixed)); in setCheckboxSize()
[all …]
/external/chromium/base/
Dscoped_bstr_win_unittest.cc18 EXPECT_TRUE(b.Length() == 0); in DumbBstrTests()
34 EXPECT_TRUE(b1.Length() == test1_len); in BasicBstrTests()
39 EXPECT_TRUE(b2.Length() == test1_len); in BasicBstrTests()
40 EXPECT_TRUE(b1.Length() == 0); in BasicBstrTests()
53 EXPECT_TRUE(b2.Length() == 100 / sizeof(kTestString1[0])); in BasicBstrTests()
56 EXPECT_TRUE(b2.Length() == 100 / sizeof(kTestString1[0])); in BasicBstrTests()
58 EXPECT_TRUE(lstrlen(b2) == b2.Length()); in BasicBstrTests()
61 EXPECT_TRUE(b1.Length() == test2_len); in BasicBstrTests()
63 EXPECT_TRUE(b1.Length() == test2_len - 1); in BasicBstrTests()
/external/webkit/WebCore/rendering/
DRenderThemeWince.cpp221 style->setWidth(Length(13, Fixed)); in setCheckboxSize()
223 style->setHeight(Length(13, Fixed)); in setCheckboxSize()
336 o->style()->setWidth(Length(sliderThumbHeight, Fixed)); in adjustSliderThumbSize()
337 o->style()->setHeight(Length(sliderThumbWidth, Fixed)); in adjustSliderThumbSize()
339 o->style()->setWidth(Length(sliderThumbWidth, Fixed)); in adjustSliderThumbSize()
340 o->style()->setHeight(Length(sliderThumbHeight, Fixed)); in adjustSliderThumbSize()
348 style->setPaddingTop(Length(1, Fixed));
349 style->setPaddingRight(Length(3, Fixed));
350 style->setPaddingBottom(Length(1, Fixed));
351 style->setPaddingLeft(Length(3, Fixed));
[all …]
DAutoTableLayout.cpp91 Length w = cell->styleOrColWidth(); in recalcColumn()
146 l.width = Length(); in recalcColumn()
168 Length grpWidth; in fullRecalc()
177 Length w = col->style()->width(); in fullRecalc()
181 w = Length(); in fullRecalc()
201 grpWidth = Length(); in fullRecalc()
217 Length tw = table->style()->width(); in shouldScaleColumns()
286 Length tw = m_table->style()->width(); in calcPrefWidths()
316 Length w = cell->styleOrColWidth(); in calcEffectiveWidth()
318 w = Length(); // make it Auto in calcEffectiveWidth()
[all …]
DRenderBox.h189 …void calcHorizontalMargins(const Length& marginLeft, const Length& marginRight, int containerWidth…
230 int calcHeightUsing(const Length& height);
231 int calcReplacedWidthUsing(Length width) const;
232 int calcReplacedHeightUsing(Length height) const;
237 int calcPercentageHeight(const Length& height);
242 int availableHeightUsing(const Length&) const;
336 …void calcAbsoluteHorizontalValues(Length width, const RenderBoxModelObject* cb, TextDirection cont…
338Length left, Length right, Length marginLeft, Length marginRight,
340 void calcAbsoluteVerticalValues(Length height, const RenderBoxModelObject* cb,
342Length top, Length bottom, Length marginTop, Length marginBottom,
DRenderThemeWin.cpp631 style->setWidth(Length(13, Fixed)); in setCheckboxSize()
633 style->setHeight(Length(13, Fixed)); in setCheckboxSize()
679 style->setPaddingTop(Length(dropDownBoxPaddingTop, Fixed)); in adjustMenuListButtonStyle()
680 style->setPaddingRight(Length(dropDownBoxPaddingRight, Fixed)); in adjustMenuListButtonStyle()
681 style->setPaddingBottom(Length(dropDownBoxPaddingBottom, Fixed)); in adjustMenuListButtonStyle()
682 style->setPaddingLeft(Length(dropDownBoxPaddingLeft, Fixed)); in adjustMenuListButtonStyle()
685 style->setHeight(Length(Auto)); in adjustMenuListButtonStyle()
691 style->setMinHeight(Length(minHeight, Fixed)); in adjustMenuListButtonStyle()
752 o->style()->setWidth(Length(sliderThumbHeight, Fixed)); in adjustSliderThumbSize()
753 o->style()->setHeight(Length(sliderThumbWidth, Fixed)); in adjustSliderThumbSize()
[all …]
/external/webkit/WebCore/bindings/v8/custom/
DV8WebGLRenderingContextCustom.cpp117 if (args.Length() != 3) { in bufferDataCallback()
155 if (args.Length() != 3) { in bufferSubDataCallback()
227 if (args.Length() != 2) { in getObjectParameter()
296 if (args.Length() != 3) { in getFramebufferAttachmentParameterCallback()
331 if (args.Length() != 1) { in getParameterCallback()
356 if (args.Length() != 2) { in getProgramParameterCallback()
388 if (args.Length() != 2) { in getShaderParameterCallback()
420 if (args.Length() != 2) { in getUniformCallback()
467 if (args.Length() != 3 && in texImage2DCallback()
468 args.Length() != 4 && in texImage2DCallback()
[all …]
DV8DatabaseCustom.cpp49 if (args.Length() < 2) in changeVersionCallback()
62 if (args.Length() > 2) { in changeVersionCallback()
70 if (args.Length() > 3) { in changeVersionCallback()
78 if (args.Length() > 4) { in changeVersionCallback()
92 if (!args.Length()) in createTransaction()
107 if (args.Length() > 1) { in createTransaction()
115 if (args.Length() > 2) { in createTransaction()
DV8CanvasRenderingContext2DCustom.cpp107 switch (args.Length()) { in setStrokeColorCallback()
137 switch (args.Length()) { in setFillColorCallback()
167 if (args.Length() == 5) in strokeRectCallback()
169 else if (args.Length() == 4) in strokeRectCallback()
183 switch (args.Length()) { in setShadowCallback()
223 switch (args.Length()) { in drawImageCallback()
254 switch (args.Length()) { in drawImageCallback()
286 switch (args.Length()) { in drawImageCallback()
377 if (args.Length() < 3 || args.Length() > 4) { in fillTextCallback()
386 if (args.Length() == 4) { in fillTextCallback()
[all …]
DV8XMLHttpRequestCustom.cpp96 if (args.Length() < 2) in openCallback()
109 bool async = (args.Length() < 3) ? true : args[2]->BooleanValue(); in openCallback()
113 if (args.Length() >= 4 && !args[3]->IsUndefined()) { in openCallback()
116 if (args.Length() >= 5 && !args[4]->IsUndefined()) { in openCallback()
142 if (args.Length() < 1) in sendCallback()
169 if (args.Length() < 2) in setRequestHeaderCallback()
185 if (args.Length() < 1) in getResponseHeaderCallback()
200 if (args.Length() < 1) in overrideMimeTypeCallback()
/external/grub/stage2/
Dcommon.c123 && desc->BaseAddr + desc->Length > top) in mmap_avail_at()
125 top = desc->BaseAddr + desc->Length; in mmap_avail_at()
214 if (desc->Type == MB_ARD_MEMORY && desc->Length > 0 in init_bios_info()
215 && desc->BaseAddr + desc->Length > max_addr) in init_bios_info()
216 max_addr = desc->BaseAddr + desc->Length; in init_bios_info()
239 fakemap[0].Length = (mbi.mem_lower << 10); in init_bios_info()
240 fakemap[1].Length = (memtmp << 10); in init_bios_info()
241 fakemap[2].Length = cont; in init_bios_info()
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
Ddriver_ralink.h151 ULONG Length; // Length of structure member
159 ULONG Length; // Length of structure member
172 UINT Length; // Length of this structure member
182 UINT Length; // Length of this structure member
189 UINT Length; // Length of this structure member
216 ULONG Length; member
264 ULONG Length; // Length of this structure member
286 ULONG Length; // Length of this structure member
362 ULONG Length; member
/external/webkit/WebCore/platform/gtk/
DRenderThemeGtk.cpp263 style->setPaddingLeft(Length(xpadding + left, Fixed)); in adjustMozillaStyle()
264 style->setPaddingTop(Length(ypadding + top, Fixed)); in adjustMozillaStyle()
265 style->setPaddingRight(Length(xpadding + right, Fixed)); in adjustMozillaStyle()
266 style->setPaddingBottom(Length(ypadding + bottom, Fixed)); in adjustMozillaStyle()
340 style->setPaddingLeft(Length(padding, Fixed)); in setButtonPadding()
341 style->setPaddingRight(Length(padding, Fixed)); in setButtonPadding()
342 style->setPaddingTop(Length(padding / 2, Fixed)); in setButtonPadding()
343 style->setPaddingBottom(Length(padding / 2, Fixed)); in setButtonPadding()
372 style->setWidth(Length(length, Fixed)); in setToggleSize()
375 style->setHeight(Length(length, Fixed)); in setToggleSize()
[all …]
/external/webkit/LayoutTests/storage/domstorage/localstorage/
Dsimple-usage-expected.txt2 Length is 0
4 Length is 1
9 Length is 1
11 Length is 0
/external/webkit/LayoutTests/storage/domstorage/sessionstorage/
Dsimple-usage-expected.txt2 Length is 0
4 Length is 1
9 Length is 1
11 Length is 0
/external/webkit/WebCore/page/animation/
DAnimationBase.cpp108 static inline Length blendFunc(const AnimationBase*, const Length& from, const Length& to, double p… in blendFunc()
471 …m_fillLayerPropertyWrapper = new FillLayerPropertyWrapper<Length>(&FillLayer::xPosition, &FillLaye… in FillLayersPropertyWrapper()
475 …m_fillLayerPropertyWrapper = new FillLayerPropertyWrapper<Length>(&FillLayer::yPosition, &FillLaye… in FillLayersPropertyWrapper()
571 …gPropertyWrappers->append(new PropertyWrapper<Length>(CSSPropertyLeft, &RenderStyle::left, &Render… in ensurePropertyMap()
572 …gPropertyWrappers->append(new PropertyWrapper<Length>(CSSPropertyRight, &RenderStyle::right, &Rend… in ensurePropertyMap()
573 …gPropertyWrappers->append(new PropertyWrapper<Length>(CSSPropertyTop, &RenderStyle::top, &RenderSt… in ensurePropertyMap()
574 …gPropertyWrappers->append(new PropertyWrapper<Length>(CSSPropertyBottom, &RenderStyle::bottom, &Re… in ensurePropertyMap()
576 …gPropertyWrappers->append(new PropertyWrapper<Length>(CSSPropertyWidth, &RenderStyle::width, &Rend… in ensurePropertyMap()
577 …gPropertyWrappers->append(new PropertyWrapper<Length>(CSSPropertyMinWidth, &RenderStyle::minWidth,… in ensurePropertyMap()
578 …gPropertyWrappers->append(new PropertyWrapper<Length>(CSSPropertyMaxWidth, &RenderStyle::maxWidth,… in ensurePropertyMap()
[all …]

12345678910>>...13