Home
last modified time | relevance | path

Searched refs:videoSize (Results 1 – 4 of 4) sorted by relevance

/external/webkit/Source/WebKit/win/
DFullscreenVideoController.cpp214 FloatSize videoSize = mediaElement->player()->naturalSize(); in platformCALayerLayoutSublayersOfLayer() local
216 if (videoSize.aspectRatio() > layerBounds.size().aspectRatio()) in platformCALayerLayoutSublayersOfLayer()
217 scaleFactor = layerBounds.width() / videoSize.width(); in platformCALayerLayoutSublayersOfLayer()
219 scaleFactor = layerBounds.height() / videoSize.height(); in platformCALayerLayoutSublayersOfLayer()
220 videoSize.scale(scaleFactor); in platformCALayerLayoutSublayersOfLayer()
225 videoOrigin.setX((layerBounds.width() - videoSize.width()) * 0.5); in platformCALayerLayoutSublayersOfLayer()
226 videoOrigin.setY((layerBounds.height() - videoSize.height()) * 0.5); in platformCALayerLayoutSublayersOfLayer()
227 videoLayer->setFrame(FloatRect(videoOrigin, videoSize)); in platformCALayerLayoutSublayersOfLayer()
/external/webkit/Source/WebCore/platform/graphics/android/layers/
DVideoLayerManager.cpp189 sum += it->second->videoSize; in getTotalMemUsage()
210 pInfo->videoSize = 0; in registerTexture()
233 pInfo->videoSize = size; in updateVideoLayerSize()
281 it->first, it->second->textureId, it->second->videoSize, it->second->timeStamp); in recycleTextureMem()
DVideoLayerManager.h55 int videoSize; // The size of the video. member
/external/webkit/Source/WebCore/platform/graphics/qt/
DMediaPlayerPrivatePhonon.cpp451 QSize videoSize = m_videoWidget->sizeHint(); in naturalSize() local
452 IntSize naturalSize(videoSize.width(), videoSize.height()); in naturalSize()