Searched defs:layerWidth (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/
H A DLayerCache.h99 LayerEntry(const uint32_t layerWidth, const uint32_t layerHeight): mLayer(NULL) { argument
100 mWidth = Layer::computeIdealWidth(layerWidth);
H A DLayer.cpp31 Layer::Layer(const uint32_t layerWidth, const uint32_t layerHeight): argument
39 texture.width = layerWidth;
62 uint32_t Layer::computeIdealWidth(uint32_t layerWidth) { argument
63 return uint32_t(ceilf(layerWidth / float(LAYER_SIZE)) * LAYER_SIZE);

Completed in 244 milliseconds