Home
last modified time | relevance | path

Searched refs:SkLength (Results 1 – 6 of 6) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/android/layers/
DFixedPositioning.h38 struct SkLength { struct
43 SkLength() in SkLength() function
75 static SkLength convertLength(Length len) in convertLength() argument
77 SkLength length; in convertLength()
78 length.type = SkLength::Undefined; in convertLength()
81 length.type = SkLength::Percent; in convertLength()
85 length.type = SkLength::Fixed; in convertLength()
105 void setFixedPosition(SkLength left, // CSS left property in setFixedPosition()
106 SkLength top, // CSS top property in setFixedPosition()
107 SkLength right, // CSS right property in setFixedPosition()
[all …]
DBaseLayerAndroid.cpp135 SkLength left, top; in FixedBackgroundImageLayerAndroid()
136 left = SkLength::convertLength(style->backgroundXPosition()); in FixedBackgroundImageLayerAndroid()
137 top = SkLength::convertLength(style->backgroundYPosition()); in FixedBackgroundImageLayerAndroid()
DDumpLayer.h81 void writeLength(const char* label, SkLength value);
DDumpLayer.cpp56 void LayerDumper::writeLength(const char* label, SkLength value) in writeLength()
/external/webkit/Source/WebCore/platform/graphics/android/
DGraphicsLayerAndroid.cpp251 SkLength left, top, right, bottom; in updatePositionedLayers()
252 left = SkLength::convertLength(view->style()->left()); in updatePositionedLayers()
253 top = SkLength::convertLength(view->style()->top()); in updatePositionedLayers()
254 right = SkLength::convertLength(view->style()->right()); in updatePositionedLayers()
255 bottom = SkLength::convertLength(view->style()->bottom()); in updatePositionedLayers()
258 SkLength marginLeft, marginTop, marginRight, marginBottom; in updatePositionedLayers()
259 marginLeft = SkLength::convertLength(view->style()->marginLeft()); in updatePositionedLayers()
260 marginTop = SkLength::convertLength(view->style()->marginTop()); in updatePositionedLayers()
261 marginRight = SkLength::convertLength(view->style()->marginRight()); in updatePositionedLayers()
262 marginBottom = SkLength::convertLength(view->style()->marginBottom()); in updatePositionedLayers()
/external/webkit/Source/WebKit/android/jni/
DViewStateSerializer.cpp197 void writeSkLength(SkWStream *stream, SkLength length) in writeSkLength()
203 SkLength readSkLength(SkStream *stream) in readSkLength()
205 SkLength len; in readSkLength()
206 len.type = (SkLength::SkLengthType) stream->readU32(); in readSkLength()
360 SkLength length; in serializeLayer()