Home
last modified time | relevance | path

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

123

/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/services/core/java/com/android/server/wm/
DSeamlessRotator.java40 private final Matrix mTransform = new Matrix(); field in SeamlessRotator
65 CoordinateTransforms.transformLogicalToPhysicalCoordinates(oldRotation, pW, pH, mTransform); in SeamlessRotator()
67 mTransform.postConcat(tmp); in SeamlessRotator()
78 mTransform.mapPoints(winSurfacePos); in unrotate()
86 t.setMatrix(sc, mTransform, mFloat9); in applyTransform()
/frameworks/base/libs/hwui/
DDeferredLayerUpdater.h79 delete mTransform; in setTransform() local
80 mTransform = matrix ? new SkMatrix(*matrix) : nullptr; in setTransform()
83 SkMatrix* getTransform() { return mTransform; } in getTransform()
152 SkMatrix* mTransform; variable
DDeferredLayerUpdater.cpp42 , mTransform(nullptr)
198 if (mTransform) { in apply()
199 mLayer->getTransform() = *mTransform; in apply()
/frameworks/base/core/java/android/window/
DWindowInfosListener.java86 public final Matrix mTransform; field in WindowInfosListener.DisplayInfo
91 mTransform = transform; in DisplayInfo()
98 + ", mTransform=" + mTransform; in toString()
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java819 final float[] mTransform; field in ColorSpace.Adaptation
822 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()
1475 if (compare(toXYZD50, rgb.mTransform) && in match()
1907 return chromaticAdaptation(adaptation.mTransform, srcXyz, dstXyz); in chromaticAdaptation()
2329 @NonNull private final float[] mTransform; field in ColorSpace.Rgb
2768 mTransform = computeXYZMatrix(mPrimaries, mWhitePoint); in Rgb()
2774 mTransform = transform; in Rgb()
[all …]
/frameworks/base/libs/hwui/canvas/
DCanvasOpBuffer.h43 SkMatrix mTransform; variable
48 : mTransform(transform), mImpl(std::move(impl)) {} in mTransform() function
53 const SkMatrix& transform() const { return mTransform; } in transform()
/frameworks/native/libs/input/
DInput.cpp473 mTransform = transform; in initialize()
498 mTransform = other->mTransform; in copyFrom()
535 switch (mTransform.getOrientation()) { in getSurfaceRotation()
550 vec2 vals = mTransform.transform(getRawXCursorPosition(), getRawYCursorPosition()); in getXCursorPosition()
555 vec2 vals = mTransform.transform(getRawXCursorPosition(), getRawYCursorPosition()); in getYCursorPosition()
560 ui::Transform inverse = mTransform.inverse(); in setCursorPosition()
610 return calculateTransformedAxisValue(axis, mSource, mTransform, coords); in getHistoricalAxisValue()
624 float currXOffset = mTransform.tx(); in offsetLocation()
625 float currYOffset = mTransform.ty(); in offsetLocation()
626 mTransform.set(currXOffset + xOffset, currYOffset + yOffset); in offsetLocation()
[all …]
/frameworks/native/libs/ui/include_types/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_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/services/surfaceflinger/
DLayerRenderArea.cpp49 return mTransform; in getTransform()
100 mTransform = mLayer->getTransform().inverse(); in render()
DLayerRejecter.cpp50 if (item.mTransform & ui::Transform::ROT_90) { in reject()
96 mName.c_str(), bufWidth, bufHeight, item.mTransform, item.mScalingMode, in reject()
DDisplayRenderArea.h50 const ui::Transform mTransform; variable
DLayerRenderArea.h55 ui::Transform mTransform; variable
DBufferLayer.cpp506 (mBufferInfo.mTransform != oldBufferInfo.mTransform) || in latchBuffer()
622 if (mBufferInfo.mTransform & ui::Transform::ROT_90) { in getBufferSize()
654 if (mBufferInfo.mTransform & ui::Transform::ROT_90) { in computeSourceBounds()
700 return mBufferInfo.mTransform; in getBufferTransform()
744 mBufferInfo.mCrop, mBufferInfo.mTransform, filteringEnabled); in getDrawingTransformMatrix()
/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/base/core/jni/
Dandroid_hardware_camera2_impl_CameraExtensionJpegProcessor.cpp144 Transform mTransform; member in RowIterator
153 : mPlane(plane), mTransform(transform) { in RowIterator()
171 y = min(y, mTransform.getOutputHeight() - 1); in loadAt()
174 output_width = min(output_width, mTransform.getOutputWidth()); in loadAt()
183 mTransform.map(0, y, &startX, &startY); in loadAt()
187 mTransform.map(output_width - 1, y, &endX, &endY); in loadAt()
/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
/frameworks/native/libs/gui/include/gui/
DBufferItem.h70 uint32_t mTransform; variable
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp76 jfieldID mTransform; member
330 gSurfaceImageClassInfo.mTransform = env->GetFieldID( in ImageReader_classInit()
332 LOG_ALWAYS_FATAL_IF(gSurfaceImageClassInfo.mTransform == NULL, in ImageReader_classInit()
634 auto transform = buffer->mTransform; in ImageReader_imageSetup()
638 env->SetIntField(image, gSurfaceImageClassInfo.mTransform, in ImageReader_imageSetup()
736 image->transform = buffer->mTransform; in Image_getLockedImage()
/frameworks/av/services/camera/libcameraservice/gui/
DRingBufferConsumer.h91 uint32_t mTransform; member

123