/frameworks/base/libs/hwui/ |
H A D | ClipArea.h | 30 Rect transformAndCalculateBounds(const Rect& r, const Matrix4& transform); 35 TransformedRectangle(const Rect& bounds, const Matrix4& transform); 55 void transform(const Matrix4& transform) { argument 57 t.loadMultiply(transform, mTransform); 75 void set(const Rect& bounds, const Matrix4& transform); 76 bool intersectWith(const Rect& bounds, const Matrix4& transform); 77 void transform(const Matrix4& transform); 147 void clipRectWithTransform(const Rect& r, const mat4* transform, [all...] |
H A D | ClipArea.cpp | 27 static void handlePoint(Rect& transformedBounds, const Matrix4& transform, float x, float y) { argument 29 transform.mapPoint(v.x, v.y); 33 Rect transformAndCalculateBounds(const Rect& r, const Matrix4& transform) { argument 37 handlePoint(transformedBounds, transform, r.left, r.top); 38 handlePoint(transformedBounds, transform, r.right, r.top); 39 handlePoint(transformedBounds, transform, r.left, r.bottom); 40 handlePoint(transformedBounds, transform, r.right, r.bottom); 56 const Matrix4& transform) 58 , mTransform(transform) { 108 void RectangleList::set(const Rect& bounds, const Matrix4& transform) { argument 55 TransformedRectangle(const Rect& bounds, const Matrix4& transform) argument 113 intersectWith(const Rect& bounds, const Matrix4& transform) argument 151 pathFromTransformedRectangle(const Rect& bounds, const Matrix4& transform) argument 179 transform(const Matrix4& transform) argument 218 clipRectWithTransform(const Rect& r, const mat4* transform, SkRegion::Op op) argument 245 clipPathWithTransform(const SkPath& path, const mat4* transform, SkRegion::Op op) argument 272 rectangleModeClipRectWithTransform(const Rect& r, const mat4* transform, SkRegion::Op op) argument 309 rectangleListModeClipRectWithTransform(const Rect& r, const mat4* transform, SkRegion::Op op) argument 335 regionModeClipRectWithTransform(const Rect& r, const mat4* transform, SkRegion::Op op) argument 512 applyClip(const ClipBase* clip, const Matrix4& transform) argument 532 applyTransformToRegion(const Matrix4& transform, SkRegion* region) argument [all...] |
H A D | Snapshot.cpp | 39 transform = &mTransformRoot; 61 mTransformRoot = *s->transform; 62 transform = &mTransformRoot; 64 transform = s->transform; 93 mClipArea->clipRectWithTransform(localClip, transform, op); 98 mClipArea->clipPathWithTransform(path, transform, op); 107 return transform->isPerspective(); 112 inverse.loadInverse(*transform); 136 // before resetting, map current light pos with inverse of current transform 264 applyClip(const ClipBase* recordedClip, const Matrix4& transform) argument [all...] |
H A D | PathTessellator.h | 57 * Populates scaleX and scaleY with the 'tessellation scale' of the transform - the effective X 64 static void extractTessellationScales(const Matrix4& transform, float* scaleX, float* scaleY); 73 * @param transform The transform the path is to be drawn with, used to drive stretch-aware path 78 const mat4& transform, VertexBuffer& vertexBuffer); 87 * @param transform The transform the points will be drawn with, used to drive stretch-aware path 92 const mat4& transform, VertexBuffer& vertexBuffer); 101 * @param transform The transform th [all...] |
H A D | BakedOpState.cpp | 36 transform.loadMultiply(*snapshot.transform, recordedOp.localMatrix); 44 transform.mapRect(clippedBounds); 46 && (!transform.isPureTranslate() || recordedOp.paint->getStrokeWidth() < 1.0f))) { 54 recordedOp.localClip, *(snapshot.transform)); 74 inverseTransform.loadInverse(transform); 79 snapshot.projectionPathMask->transform(skInverseTransform, localMask); 87 transform.loadMultiply(*snapshot.transform, localTransform); 88 clipState = snapshot.serializeIntersectedClip(allocator, localClip, *(snapshot.transform)); [all...] |
H A D | DamageAccumulator.h | 45 // Push a transform node onto the stack. This should be called prior 47 // will be affected by the transform when popTransform() is called. 48 void pushTransform(const RenderNode* transform); 49 void pushTransform(const Matrix4* transform); 51 // Pops a transform node from the stack, propagating the dirty rect
|
H A D | CanvasState.cpp | 166 mSnapshot->transform->copyTo(*matrix); 170 mSnapshot->transform->translate(dx, dy, dz); 174 mSnapshot->transform->rotate(degrees, 0.0f, 0.0f, 1.0f); 178 mSnapshot->transform->scale(sx, sy, 1.0f); 182 mSnapshot->transform->skew(sx, sy); 186 mSnapshot->transform->load(matrix); 190 *(mSnapshot->transform) = matrix; 194 mat4 transform(matrix); 195 mSnapshot->transform->multiply(transform); [all...] |
H A D | DamageAccumulator.cpp | 40 // 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; 127 // Don't attempt to calculate damage for a perspective transform 141 const SkMatrix* transform = props.getTransformMatrix(); local 143 if (transform && !transform [all...] |
/frameworks/av/camera/ |
H A D | CameraUtils.cpp | 31 /*out*/int32_t* transform) { 34 if (transform == NULL) { 35 ALOGW("%s: null transform", __FUNCTION__); 39 *transform = 0; 53 int32_t& flags = *transform; 120 ALOGV("%s: final transform = 0x%x", __FUNCTION__, flags); 30 getRotationTransform(const CameraMetadata& staticInfo, int32_t* transform) argument
|
/frameworks/base/include/private/hwui/ |
H A D | DrawGlInfo.h | 41 // Input: current transform matrix, in OpenGL format 42 float transform[16]; member in struct:android::uirenderer::DrawGlInfo
|
/frameworks/data-binding/extensions/library/ |
H A D | build.gradle | 16 import com.android.build.api.transform.Format; 17 import com.android.build.api.transform.QualifiedContent; 18 import com.android.build.api.transform.QualifiedContent.ContentType; 19 import com.android.build.api.transform.QualifiedContent.Scope; 20 import com.android.build.api.transform.Transform; 21 import com.android.build.api.transform.Context; 22 import com.android.build.api.transform.TransformInput; 23 import com.android.build.api.transform.TransformOutputProvider; 24 import com.android.build.api.transform.TransformException; 148 public void transform(Contex [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | Transform.h | 62 // query the transform 71 // modify the transform 77 // transform data 79 vec2 transform(int x, int y) const; 80 Region transform(const Region& reg) const; 81 Rect transform(const Rect& bounds, 85 vec2 transform(const vec2& v) const; 86 vec3 transform(const vec3& v) const;
|
H A D | DisplayDevice.cpp | 165 // initialize the display orientation transform. 389 dirty = planeTransform.transform(this->dirtyRegion); 438 uint32_t transform = 0; local 441 transform = Transform::ROT_0; 444 transform = Transform::ROT_90; 447 transform = Transform::ROT_180; 450 transform = Transform::ROT_270; 453 return transform; 560 mScissor = mGlobalTransform.transform(viewport); 567 uint32_t transform local [all...] |
H A D | Transform.cpp | 172 vec2 Transform::transform(const vec2& v) const { function in class:android::Transform 180 vec3 Transform::transform(const vec3& v) const { function in class:android::Transform 189 vec2 Transform::transform(int x, int y) const function in class:android::Transform 191 return transform(vec2(x,y)); 196 return transform( Rect(w, h) ); 199 Rect Transform::transform(const Rect& bounds, bool roundOutwards) const function in class:android::Transform 207 lt = transform(lt); 208 rt = transform(rt); 209 lb = transform(lb); 210 rb = transform(r 227 Region Transform::transform(const Region& reg) const function in class:android::Transform [all...] |
H A D | Layer.cpp | 126 mCurrentState.active.transform.set(0, 0); 409 // a viewport clipping and a window transform. we should use floating point to fix this. 416 activeCrop = s.active.transform.transform(activeCrop); 425 activeCrop = s.active.transform.inverse().transform(activeCrop); 427 // This needs to be here as transform.transform(Rect) computes the 430 // transform.inverse().transform(transfor 667 auto transform = static_cast<HWC2::Transform>(orientation); local 964 uint32_t transform = local [all...] |
/frameworks/base/cmds/bmgr/ |
H A D | Android.mk | 14 $(transform-prebuilt-to-target)
|
/frameworks/base/cmds/ime/ |
H A D | Android.mk | 14 $(transform-prebuilt-to-target)
|
/frameworks/base/cmds/input/ |
H A D | Android.mk | 13 $(transform-prebuilt-to-target)
|
/frameworks/base/cmds/pm/ |
H A D | Android.mk | 14 $(transform-prebuilt-to-target)
|
/frameworks/base/cmds/svc/ |
H A D | Android.mk | 14 $(transform-prebuilt-to-target)
|
/frameworks/av/include/camera/ |
H A D | CameraUtils.h | 36 * Calculate the ANativeWindow transform from the static camera 43 /*out*/int32_t* transform);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3OutputStreamInterface.h | 33 * Set the transform on the output stream; one of the 36 virtual status_t setTransform(int transform) = 0;
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | CameraDeviceInfo.java | 153 * 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 D | draw_gl_functor.cpp | 69 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/libs/hwui/tests/unit/ |
H A D | ClipAreaTests.cpp | 270 translateScale.scale(2, 3, 1); // recorded clip will have non-int coords, even after transform 311 Matrix4 transform; local 312 transform.loadTranslate(10, 20, 0); 313 ClipArea::applyTransformToRegion(transform, ®ion); 320 Matrix4 transform; local 321 transform.loadScale(2, 3, 1); 322 ClipArea::applyTransformToRegion(transform, ®ion); 329 Matrix4 transform; local 330 transform.translate(10, 20); 331 transform 339 Matrix4 transform; local [all...] |