Searched refs:transform (Results 1 - 25 of 136) sorted by relevance

123456

/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3OutputStreamInterface.h33 * Set the transform on the output stream; one of the
36 virtual status_t setTransform(int transform) = 0;
H A DCamera3OutputStream.h60 * Set the transform on the output stream; one of the
63 status_t setTransform(int transform);
85 virtual status_t setTransformLocked(int transform);
/frameworks/native/services/surfaceflinger/tests/transform/
H A DAndroid.mk13 LOCAL_MODULE:= test-transform
/frameworks/av/camera/
H A DCameraUtils.cpp30 /*out*/int32_t* transform) {
33 if (transform == NULL) {
34 ALOGW("%s: null transform", __FUNCTION__);
38 *transform = 0;
52 int32_t& flags = *transform;
119 ALOGV("%s: final transform = 0x%x", __FUNCTION__, flags);
29 getRotationTransform(const CameraMetadata& staticInfo, int32_t* transform) argument
/frameworks/av/include/camera/
H A DCameraUtils.h34 * Calculate the ANativeWindow transform from the static camera
41 /*out*/int32_t* transform);
/frameworks/base/include/private/hwui/
H A DDrawGlInfo.h41 // Input: current transform matrix, in OpenGL format
42 float transform[16]; member in struct:android::uirenderer::DrawGlInfo
/frameworks/base/libs/hwui/
H A DPathTessellator.h33 * Populates scaleX and scaleY with the 'tessellation scale' of the transform - the effective X
40 static void extractTessellationScales(const Matrix4& transform, float* scaleX, float* scaleY);
49 * @param transform The transform the path is to be drawn with, used to drive stretch-aware path
54 const mat4& transform, VertexBuffer& vertexBuffer);
63 * @param transform The transform the points will be drawn with, used to drive stretch-aware path
68 const mat4& transform, VertexBuffer& vertexBuffer);
77 * @param transform The transform th
[all...]
H A DSnapshot.cpp39 transform = &mTransformRoot;
61 mTransformRoot.load(*s->transform);
62 transform = &mTransformRoot;
64 transform = s->transform;
128 transform->mapRect(r);
177 return transform->isPerspective();
182 inverse.loadInverse(*transform);
204 // before resetting, map current light pos with inverse of current transform
207 inverse.loadInverse(*transform);
[all...]
H A DStatefulBaseRenderer.cpp113 mSnapshot->transform->copyTo(*matrix);
117 mSnapshot->transform->translate(dx, dy, dz);
121 mSnapshot->transform->rotate(degrees, 0.0f, 0.0f, 1.0f);
125 mSnapshot->transform->scale(sx, sy, 1.0f);
129 mSnapshot->transform->skew(sx, sy);
133 mSnapshot->transform->load(matrix);
137 mSnapshot->transform->load(matrix);
141 mat4 transform(matrix);
142 mSnapshot->transform->multiply(transform);
166 SkMatrix transform; local
[all...]
H A DDamageAccumulator.h40 // Push a transform node onto the stack. This should be called prior
42 // will be affected by the transform when popTransform() is called.
43 void pushTransform(const RenderNode* transform);
44 void pushTransform(const Matrix4* transform);
46 // Pops a transform node from the stack, propagating the dirty rect
H A DTessellationCache.h72 Description(Type type, const Matrix4& transform, const SkPaint& paint);
124 void precacheRoundRect(const Matrix4& transform, const SkPaint& paint, argument
126 getRoundRectBuffer(transform, paint, width, height, rx, ry);
128 const VertexBuffer* getRoundRect(const Matrix4& transform, const SkPaint& paint,
149 Buffer* getRectBuffer(const Matrix4& transform, const SkPaint& paint,
151 Buffer* getRoundRectBuffer(const Matrix4& transform, const SkPaint& paint,
H A DDamageAccumulator.cpp40 // When this frame is pop'd, this rect is mapped through the above transform
70 LOG_ALWAYS_FATAL("Tried to compute transform with an invalid type: %d", currentFrame->type);
90 void DamageAccumulator::pushTransform(const RenderNode* transform) { argument
93 mHead->renderNode = transform;
96 void DamageAccumulator::pushTransform(const Matrix4* transform) { argument
99 mHead->matrix4 = transform;
134 const SkMatrix* transform = props.getTransformMatrix(); local
136 if (transform && !transform->isIdentity()) {
137 transform
[all...]
/frameworks/native/services/surfaceflinger/
H A DTransform.h62 // query the transform
72 // modify the transform
78 // transform data
80 vec2 transform(int x, int y) const;
81 Region transform(const Region& reg) const;
82 Rect transform(const Rect& bounds) const;
100 vec2 transform(const vec2& v) const;
101 vec3 transform(const vec3& v) const;
H A DLayer.cpp109 mCurrentState.transform.set(0, 0);
324 // a viewport clipping and a window transform. we should use floating point to fix this.
331 activeCrop = s.transform.transform(activeCrop);
333 activeCrop = s.transform.inverse().transform(activeCrop);
335 // This needs to be here as transform.transform(Rect) computes the
338 // transform.inverse().transform(transfor
649 uint32_t transform = hw->getOrientationTransform(); local
[all...]
H A DTransform.cpp176 vec2 Transform::transform(const vec2& v) const { function in class:android::Transform
184 vec3 Transform::transform(const vec3& v) const { function in class:android::Transform
193 vec2 Transform::transform(int x, int y) const function in class:android::Transform
195 return transform(vec2(x,y));
200 return transform( Rect(w, h) );
203 Rect Transform::transform(const Rect& bounds) const function in class:android::Transform
211 lt = transform(lt);
212 rt = transform(rt);
213 lb = transform(lb);
214 rb = transform(r
224 Region Transform::transform(const Region& reg) const function in class:android::Transform
[all...]
/frameworks/base/cmds/bmgr/
H A DAndroid.mk14 $(transform-prebuilt-to-target)
/frameworks/base/cmds/ime/
H A DAndroid.mk14 $(transform-prebuilt-to-target)
/frameworks/base/cmds/input/
H A DAndroid.mk13 $(transform-prebuilt-to-target)
/frameworks/base/cmds/pm/
H A DAndroid.mk14 $(transform-prebuilt-to-target)
/frameworks/base/cmds/svc/
H A DAndroid.mk14 $(transform-prebuilt-to-target)
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DCameraDeviceInfo.java153 * The transform matrix that should be applied to the
177 * The transform matrix that should be applied to the
188 Matrix transform = new Matrix();
189 transform.setRectToRect(surfaceDimensions, desiredBounds, Matrix.ScaleToFit.FILL);
190 return transform;
/frameworks/webview/chromium/plat_support/
H A Ddraw_gl_functor.cpp69 COMPILE_ASSERT(NELEM(aw_info.transform) == NELEM(gl_info->transform),
71 for (int i = 0; i < NELEM(aw_info.transform); ++i) {
72 aw_info.transform[i] = gl_info->transform[i];
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DTransformParam.java45 mData.transform = mTransform.getRSData().getAllocation();
71 mData.transform = mTransform.getRSData().getAllocation();
/frameworks/native/include/gui/
H A DIGraphicBufferProducer.h272 // transform - a set of flags from NATIVE_WINDOW_TRANSFORM_* in <window.h>
276 // sticky - the sticky transform set in Surface (only used by the LEGACY
279 const Rect& crop, int scalingMode, uint32_t transform, bool async,
282 scalingMode(scalingMode), transform(transform), stickyTransform(sticky),
292 *outTransform = transform;
311 uint32_t transform; member in struct:android::IGraphicBufferProducer::QueueBufferInput
322 // outTransformHint - filled with default transform applied to the buffer
278 QueueBufferInput(int64_t timestamp, bool isAutoTimestamp, const Rect& crop, int scalingMode, uint32_t transform, bool async, const sp<Fence>& fence, uint32_t sticky = 0) argument
/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp170 uint32_t transform; local
172 case 0: transform = 0; break;
173 case 90: transform = HAL_TRANSFORM_ROT_90; break;
174 case 180: transform = HAL_TRANSFORM_ROT_180; break;
175 case 270: transform = HAL_TRANSFORM_ROT_270; break;
176 default: transform = 0; break;
180 mNativeWindow.get(), transform));

Completed in 590 milliseconds

123456