Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/wm/
DSeamlessRotator.java43 private final Matrix mTransform = new Matrix(); field in SeamlessRotator
57 CoordinateTransforms.transformLogicalToPhysicalCoordinates(oldRotation, w, h, mTransform); in SeamlessRotator()
59 mTransform.postConcat(tmp); in SeamlessRotator()
67 transaction.setMatrix(win.getSurfaceControl(), mTransform, mFloat9); in unrotate() local
71 mTransform.mapPoints(winSurfacePos); in unrotate()
97 mTransform.reset(); in finish()
99 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.h83 delete mTransform; in setTransform() local
84 mTransform = matrix ? new SkMatrix(*matrix) : nullptr; in setTransform()
87 SkMatrix* getTransform() { return mTransform; } in getTransform()
116 SkMatrix* mTransform; variable
DDeferredLayerUpdater.cpp28 , mTransform(nullptr) in DeferredLayerUpdater()
103 if (mTransform) { in apply()
104 mLayer->getTransform() = *mTransform; in apply()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java72 private AffineTransform mTransform = null; field in GcSnapshot
408 mTransform = null; in setBitmap()
426 if (mTransform == null) { in translate()
427 mTransform = new AffineTransform(); in translate()
429 mTransform.translate(dx, dy); in translate()
439 if (mTransform == null) { in rotate()
440 mTransform = new AffineTransform(); in rotate()
442 mTransform.rotate(radians); in rotate()
452 if (mTransform == null) { in scale()
453 mTransform = new AffineTransform(); in scale()
[all …]
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java813 final float[] mTransform; field in ColorSpace.Adaptation
816 mTransform = transform; in Adaptation()
1339 float[] adaptationTransform = chromaticAdaptation(adaptation.mTransform, in adapt()
1341 float[] transform = mul3x3(adaptationTransform, rgb.mTransform); in adapt()
1363 float[] adaptationTransform = chromaticAdaptation(Adaptation.BRADFORD.mTransform, in adaptToIlluminantD50()
1428 if (compare(toXYZD50, rgb.mTransform) && in match()
1915 return chromaticAdaptation(adaptation.mTransform, srcXyz, dstXyz); in chromaticAdaptation()
2337 @NonNull private final float[] mTransform; field in ColorSpace.Rgb
2769 mTransform = computeXYZMatrix(mPrimaries, mWhitePoint); in Rgb()
2775 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/services/surfaceflinger/tests/hwc2/
DHwc2TestLayer.h81 &mTransform, &mColor, &mDataspace, &mPlaneAlpha, &mSourceCrop,
97 Hwc2TestTransform mTransform; variable
DHwc2TestLayer.cpp54 mTransform(getCoverage(Hwc2TestPropertyName::Transform, coverage, in Hwc2TestLayer()
176 return mTransform.get(); in getTransform()
241 return mTransform.advance(); in advanceTransform()
/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.cpp53 if (item.mTransform & ui::Transform::ROT_90) { in reject()
101 mName, bufWidth, bufHeight, item.mTransform, item.mScalingMode, in reject()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStream.cpp44 mTransform(0), in Camera3OutputStream()
69 mTransform(0), in Camera3OutputStream()
102 mTransform(0), in Camera3OutputStream()
141 mTransform(0), in Camera3OutputStream()
331 mTransform = transform; in setTransformLocked()
475 mTransform); in configureConsumerQueueLocked()
478 __FUNCTION__, mTransform, strerror(-res), res); in configureConsumerQueueLocked()
DCamera3StreamBufferListener.h34 uint32_t mTransform; member
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DRenderState.h41 hwc_transform_t mTransform = static_cast<hwc_transform_t>(0); variable
/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()
DImageReader.java872 return mTransform; in getTransform()
1018 private int mTransform; field in ImageReader.SurfaceImage
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue_producer-test.cpp39 mTransform, mFence); in build()
68 this->mTransform = transform; in setTransform()
83 uint32_t mTransform{0}; member

12