Home
last modified time | relevance | path

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

/frameworks/native/include/gui/
DIGraphicBufferProducer.h106 const Rect& crop, int scalingMode, uint32_t transform, in QueueBufferInput()
108 : timestamp(timestamp), crop(crop), scalingMode(scalingMode), in QueueBufferInput()
115 *outScalingMode = scalingMode; in deflate()
131 int scalingMode; member
DCpuConsumer.h53 uint32_t scalingMode; member
/frameworks/native/libs/gui/
DIGraphicBufferProducer.cpp293 + sizeof(scalingMode) in getFlattenedSize()
310 memcpy(p, &scalingMode, sizeof(scalingMode)); p += sizeof(scalingMode); in flatten()
323 memcpy(&scalingMode, p, sizeof(scalingMode)); p += sizeof(scalingMode); in unflatten()
DBufferQueue.cpp57 static const char* scalingModeName(int scalingMode) { in scalingModeName() argument
58 switch (scalingMode) { in scalingModeName()
483 int scalingMode; in queueBuffer() local
487 input.deflate(&timestamp, &crop, &scalingMode, &transform, &fence); in queueBuffer()
497 transform, scalingModeName(scalingMode)); in queueBuffer()
562 switch (scalingMode) { in queueBuffer()
568 ST_LOGE("unknown scaling mode: %d (ignoring)", scalingMode); in queueBuffer()
569 scalingMode = mSlots[buf].mScalingMode; in queueBuffer()
574 mSlots[buf].mScalingMode = scalingMode; in queueBuffer()
DCpuConsumer.cpp145 nativeBuffer->scalingMode = b.mScalingMode; in lockNextBuffer()
/frameworks/native/services/surfaceflinger/
DLayer.cpp1113 const uint32_t scalingMode(mSurfaceFlingerConsumer->getCurrentScalingMode()); in latchBuffer() local
1116 (scalingMode != mCurrentScalingMode)) in latchBuffer()
1120 mCurrentScalingMode = scalingMode; in latchBuffer()