Home
last modified time | relevance | path

Searched refs:mTransform (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/wm/
DSeamlessRotator.java44 private final Matrix mTransform = new Matrix(); field in SeamlessRotator
69 CoordinateTransforms.transformLogicalToPhysicalCoordinates(oldRotation, pW, pH, mTransform); in SeamlessRotator()
71 mTransform.postConcat(tmp); in SeamlessRotator()
79 transaction.setMatrix(win.getSurfaceControl(), mTransform, mFloat9); in unrotate() local
82 mTransform.mapPoints(winSurfacePos); in unrotate()
123 mTransform.reset(); in finish()
124 t.setMatrix(win.mSurfaceControl, mTransform, mFloat9); in finish()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/
DVrView.java147 … double width = mState1.mTransform.getScreenWidth() / detector.getScaleFactor(); in setup()
148 mState1.mTransform.setScreenWidth(width); in setup()
201 p = mState1.mTransform.getEyePoint(); in panMove()
205 mState1.mTransform.setEyePoint(p); in panMove()
206 p = mState1.mTransform.getLookPoint(); in panMove()
210 mState1.mTransform.setLookPoint(p); in panMove()
216 mDownScreenWidth = mState1.mTransform.getScreenWidth(); in panDown()
218 p = mState1.mTransform.getLookPoint(); in panDown()
220 p = mState1.mTransform.getEyePoint(); in panDown()
222 p = mState1.mTransform.getUpVector(); in panDown()
[all …]
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
DVrState.java39 public Transform mTransform = new Transform(); field in VrState
55 mTransform.clone(src.mTransform); in clone()
100 mTransform.setScreenDim(w, h); in createOutputAllocation()
115 mTransform.clone(src.mTransform); in copyData()
DBasicPipeline.java46 Matrix m = state.mTransform.getMatrix(Transform.VOLUME_SPACE, Transform.SCREEN_SPACE); in setupTriangles()
/frameworks/base/libs/hwui/
DDeferredLayerUpdater.h76 delete mTransform; in setTransform() local
77 mTransform = matrix ? new SkMatrix(*matrix) : nullptr; in setTransform()
80 SkMatrix* getTransform() { return mTransform; } in getTransform()
142 SkMatrix* mTransform; variable
DDeferredLayerUpdater.cpp40 , mTransform(nullptr)
166 if (mTransform) { in apply()
167 mLayer->getTransform() = *mTransform; in apply()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java78 private AffineTransform mTransform = null; field in GcSnapshot
414 mTransform = null; in setBitmap()
432 if (mTransform == null) { in translate()
433 mTransform = new AffineTransform(); in translate()
435 mTransform.translate(dx, dy); in translate()
445 if (mTransform == null) { in rotate()
446 mTransform = new AffineTransform(); in rotate()
448 mTransform.rotate(radians); in rotate()
458 if (mTransform == null) { in scale()
459 mTransform = new AffineTransform(); in scale()
[all …]
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java818 final float[] mTransform; field in ColorSpace.Adaptation
821 mTransform = transform; in Adaptation()
1345 float[] adaptationTransform = chromaticAdaptation(adaptation.mTransform, in adapt()
1347 float[] transform = mul3x3(adaptationTransform, rgb.mTransform); in adapt()
1369 float[] adaptationTransform = chromaticAdaptation(Adaptation.BRADFORD.mTransform, in adaptToIlluminantD50()
1434 if (compare(toXYZD50, rgb.mTransform) && in match()
1928 return chromaticAdaptation(adaptation.mTransform, srcXyz, dstXyz); in chromaticAdaptation()
2350 @NonNull private final float[] mTransform; field in ColorSpace.Rgb
2789 mTransform = computeXYZMatrix(mPrimaries, mWhitePoint); in Rgb()
2795 mTransform = transform; in Rgb()
[all …]
/frameworks/native/libs/ui/include_vndk/ui/
DColorSpace.h285 constexpr const mat3& getTransform() const noexcept { return mTransform; } in getTransform()
289 return apply(mDestination.fromLinear(mTransform * linear), mDestination.getClamper()); in transform()
294 return apply(mTransform * linear, mDestination.getClamper()); in transformLinear()
300 mat3 mTransform; variable
/frameworks/native/libs/ui/include/ui/
DColorSpace.h285 constexpr const mat3& getTransform() const noexcept { return mTransform; } in getTransform()
289 return apply(mDestination.fromLinear(mTransform * linear), mDestination.getClamper()); in transform()
294 return apply(mTransform * linear, mDestination.getClamper()); in transformLinear()
300 mat3 mTransform; variable
/frameworks/native/libs/gui/
DBufferItem.cpp45 mTransform(0), in BufferItem()
73 addAligned(size, mTransform); in getPodSize()
167 writeAligned(buffer, size, mTransform); in flatten()
236 readAligned(buffer, size, mTransform); in unflatten()
/frameworks/native/services/surfaceflinger/
DLayerRejecter.cpp51 if (item.mTransform & ui::Transform::ROT_90) { in reject()
97 mName.c_str(), bufWidth, bufHeight, item.mTransform, item.mScalingMode, in reject()
DBufferLayer.cpp459 (mBufferInfo.mTransform != oldBufferInfo.mTransform) || in latchBuffer()
671 if (mBufferInfo.mTransform & ui::Transform::ROT_90) { in getBufferSize()
703 if (mBufferInfo.mTransform & ui::Transform::ROT_90) { in computeSourceBounds()
750 return mBufferInfo.mTransform; in getBufferTransform()
792 mBufferInfo.mTransform, filteringEnabled); in getDrawingTransformMatrix()
DDisplayDevice.h258 const ui::Transform& getTransform() const override { return mTransform; } in getTransform()
351 const ui::Transform mTransform = ui::Transform();
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DRenderState.h39 hwc_transform_t mTransform = static_cast<hwc_transform_t>(0); variable
/frameworks/base/libs/hostgraphics/gui/
DBufferItem.h48 uint32_t mTransform; variable
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamBufferListener.h35 uint32_t mTransform; member
DCamera3OutputStream.cpp45 mTransform(0), in Camera3OutputStream()
70 mTransform(0), in Camera3OutputStream()
103 mTransform(0), in Camera3OutputStream()
142 mTransform(0), in Camera3OutputStream()
332 mTransform = transform; in setTransformLocked()
476 mTransform); in configureConsumerQueueLocked()
479 __FUNCTION__, mTransform, strerror(-res), res); in configureConsumerQueueLocked()
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp71 jfieldID mTransform; member
314 gSurfaceImageClassInfo.mTransform = env->GetFieldID( in ImageReader_classInit()
316 LOG_ALWAYS_FATAL_IF(gSurfaceImageClassInfo.mTransform == NULL, in ImageReader_classInit()
605 auto transform = buffer->mTransform; in ImageReader_imageSetup()
609 env->SetIntField(image, gSurfaceImageClassInfo.mTransform, in ImageReader_imageSetup()
698 image->transform = buffer->mTransform; in Image_getLockedImage()
/frameworks/native/libs/gui/include/gui/
DBufferItem.h70 uint32_t mTransform; variable
/frameworks/base/graphics/java/android/graphics/drawable/
DVectorDrawable.java1297 private float[] mTransform; field in VectorDrawable.VGroup
1397 if (mTransform == null) { in updateStateFromTypedArray()
1400 mTransform = new float[TRANSFORM_PROPERTY_COUNT]; in updateStateFromTypedArray()
1402 boolean success = nGetGroupProperties(mNativePtr, mTransform, TRANSFORM_PROPERTY_COUNT); in updateStateFromTypedArray()
1407 mTransform[ROTATION_INDEX]); in updateStateFromTypedArray()
1409 mTransform[PIVOT_X_INDEX]); in updateStateFromTypedArray()
1411 mTransform[PIVOT_Y_INDEX]); in updateStateFromTypedArray()
1413 mTransform[SCALE_X_INDEX]); in updateStateFromTypedArray()
1415 mTransform[SCALE_Y_INDEX]); in updateStateFromTypedArray()
1417 mTransform[TRANSLATE_X_INDEX]); in updateStateFromTypedArray()
[all …]
/frameworks/av/services/camera/libcameraservice/gui/
DRingBufferConsumer.h91 uint32_t mTransform; member
DRingBufferConsumer.cpp82 cur.mTransform = item.mTransform; in pinSelectedBuffer()
/frameworks/base/media/java/android/media/
DImageWriter.java687 private int mTransform = 0; //Default no transform field in ImageWriter.WriterSurfaceImage
730 return mTransform; in getTransform()
/frameworks/native/libs/nativedisplay/surfacetexture/
DImageConsumer.cpp106 st.mCurrentTransform = item.mTransform; in dequeueBuffer()

123