Searched refs:transform (Results 26 - 50 of 93) sorted by relevance

1234

/frameworks/native/libs/gui/
H A DISurfaceTexture.cpp305 + sizeof(transform)
324 memcpy(p, &transform, sizeof(transform)); p += sizeof(transform);
341 memcpy(&transform, p, sizeof(transform)); p += sizeof(transform);
H A DCpuConsumer.cpp107 nativeBuffer->transform = b.mTransform;
/frameworks/base/libs/hwui/
H A DProgram.cpp83 transform = addUniform("transform");
170 glUniformMatrix4fv(transform, 1, GL_FALSE, &t.data[0]);
H A DLayer.h231 return transform;
323 * Optional texture coordinates transform.
328 * Optional transform.
330 mat4 transform; member in struct:android::uirenderer::Layer
H A DPathRenderer.cpp52 void computeInverseScales(const mat4 *transform, float &inverseScaleX, float& inverseScaleY) { argument
53 if (CC_UNLIKELY(!transform->isPureTranslate())) {
54 float m00 = transform->data[Matrix4::kScaleX];
55 float m01 = transform->data[Matrix4::kSkewY];
56 float m10 = transform->data[Matrix4::kSkewX];
57 float m11 = transform->data[Matrix4::kScaleY];
514 const mat4 *transform, VertexBuffer& vertexBuffer) {
521 computeInverseScales(transform, inverseScaleX, inverseScaleY);
513 convexPathVertices(const SkPath &path, const SkPaint* paint, const mat4 *transform, VertexBuffer& vertexBuffer) argument
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DShaderParam.java63 Transform transform) {
81 trParam.setTransform(transform);
61 fillInParams(Element constantElem, HashMap<String, ShaderParam> sourceParams, Transform transform) argument
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp217 // which means using the inverse of the current transform set on the
228 Rect winCrop = s.active.crop.transform(invTransform,
270 const Transform tr(hw->getTransform() * s.transform * bufferOrientation);
272 // this gives us only the "orientation" component of the transform
333 under.orSelf( hw->getTransform().transform(layer->visibleRegion) );
669 const uint32_t transform(mSurfaceTexture->getCurrentTransform());
672 (transform != mCurrentTransform) ||
676 mCurrentTransform = transform;
702 // transform the dirty region to window-manager space
703 outDirtyRegion = (front.transform
[all...]
/frameworks/rs/
H A DAndroid.mk104 $(transform-generated-source)
121 $(transform-generated-source)
197 $(transform-generated-source)
212 $(transform-generated-source)
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardWidgetCarousel.java194 private void getTransformForPage(int screenCenter, int index, float[] transform) { argument
202 transform[0] = pivotX;
203 transform[1] = pivotY;
204 transform[2] = rotationY;
/frameworks/base/tests/RenderScriptTests/LivePreview/src/com/android/rs/livepreview/
H A DCameraPreviewActivity.java265 Matrix transform = new Matrix();
269 transform.setScale(1, heightRatio/widthRatio);
270 transform.postTranslate(0,
273 mPreviewView.setTransform(transform);
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAsmGenerator.java55 /** Counter of number of classes renamed during transform. */
202 byte[] b = transform(cr, true /* stubNativesOnly */);
209 byte[] b = transform(cr, true /* stubNativesOnly */);
216 byte[] b = transform(cr, true /* stubNativesOnly */);
287 byte[] transform(ClassReader cr, boolean stubNativesOnly) { method in class:AsmGenerator
/frameworks/support/renderscript/v8/rs_support/
H A DAndroid.mk50 $(transform-generated-source)
67 $(transform-generated-source)
/frameworks/native/libs/ui/
H A DRect.cpp96 Rect Rect::transform(uint32_t xform, int32_t width, int32_t height) const { function in class:android::Rect
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmapShader_Delegate.java173 // handle the canvas transform
176 mCanvasMatrix.transform(pt1, 0, pt2, 0, 1);
181 mLocalMatrix.transform(pt1, 0, pt2, 0, 1);
H A DLinearGradient_Delegate.java201 // handle the canvas transform
204 mCanvasMatrix.transform(pt1, 0, pt2, 0, 1);
209 mLocalMatrix.transform(pt1, 0, pt2, 0, 1);
H A DRadialGradient_Delegate.java189 // handle the canvas transform
192 mCanvasMatrix.transform(pt1, 0, pt2, 0, 1);
197 mLocalMatrix.transform(pt1, 0, pt2, 0, 1);
H A DSweepGradient_Delegate.java181 // handle the canvas transform
184 mCanvasMatrix.transform(pt1, 0, pt2, 0, 1);
189 mLocalMatrix.transform(pt1, 0, pt2, 0, 1);
H A DPath_Delegate.java410 addPath(nPath, src, null /*transform*/);
468 pathDelegate.transform(matrixDelegate, dstDelegate);
525 private static void addPath(int destPath, int srcPath, AffineTransform transform) { argument
536 if (transform != null) {
538 srcPathDelegate.mPath.getPathIterator(transform), false);
795 public void transform(Matrix_Delegate matrix, Path_Delegate dst) { method in class:Path_Delegate
799 "android.graphics.Path#transform() only " +
/frameworks/compile/slang/
H A DSlangData.mk37 $(transform-generated-source)
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
H A DTransformTestActivity.java17 package com.google.android.test.transform;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java67 /** temp transform in case transformation are set before a Graphics2D exists */
286 // get the current transform
289 // transform the layerBounds with the current transform and stores it into a int rect
309 // because this layer inherits the current context for transform and clip,
392 * If any transform or clip information was set before, they are put into the Graphics object.
400 // Set the current transform and clip which can either come from mTransform/mClip if they
459 // all graphics2D in the list have the same transform
469 public void setTransform(AffineTransform transform) { argument
472 layer.getGraphics().setTransform(transform);
[all...]
/frameworks/native/include/gui/
H A DSurfaceTextureClient.h116 virtual int setBuffersTransform(int transform);
177 // mTransform is the transform identifier that will be used for the next
199 // mTransformHint is the transform probably applied to buffers of this
200 // window. this is only a hint, actual transform may differ.
/frameworks/native/include/ui/
H A DRect.h153 // transform. This rectangle is defined in a coordinate space starting at
154 // the origin and extending to (width, height). If the transform includes
158 Rect transform(uint32_t xform, int32_t width, int32_t height) const;
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DAndroid.mk35 src/transform.c \
/frameworks/av/services/camera/libcameraservice/
H A DCamera2Device.h103 * Set stream gralloc buffer transform
105 status_t setStreamTransform(int id, int transform);
324 status_t setTransform(int transform);

Completed in 340 milliseconds

1234