/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); 51 void transform(const Matrix4& transform) { argument 53 t.loadMultiply(transform, mTransform); 71 void set(const Rect& bounds, const Matrix4& transform); 72 bool intersectWith(const Rect& bounds, const Matrix4& transform); 73 void transform(const Matrix4& transform); 131 void clipRectWithTransform(const Rect& r, const mat4* transform, SkRegio [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); 54 TransformedRectangle::TransformedRectangle(const Rect& bounds, const Matrix4& transform) argument 55 : mBounds(bounds), mTransform(transform) {} 100 void RectangleList::set(const Rect& bounds, const Matrix4& transform) { argument 105 intersectWith(const Rect& bounds, const Matrix4& transform) argument 142 pathFromTransformedRectangle(const Rect& bounds, const Matrix4& transform) argument 169 transform(const Matrix4& transform) argument 206 clipRectWithTransform(const Rect& r, const mat4* transform, SkRegion::Op op) argument 232 clipPathWithTransform(const SkPath& path, const mat4* transform, SkRegion::Op op) argument 258 rectangleModeClipRectWithTransform(const Rect& r, const mat4* transform, SkRegion::Op op) argument 294 rectangleListModeClipRectWithTransform(const Rect& r, const mat4* transform, SkRegion::Op op) argument 319 regionModeClipRectWithTransform(const Rect& r, const mat4* transform, SkRegion::Op op) argument 494 applyClip(const ClipBase* clip, const Matrix4& transform) argument 514 applyTransformToRegion(const Matrix4& transform, SkRegion* region) argument [all...] |
H A D | PathTessellator.h | 56 * Populates scaleX and scaleY with the 'tessellation scale' of the transform - the effective X 63 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 77 static void tessellatePath(const SkPath& path, const SkPaint* paint, const mat4& transform, 87 * @param transform The transform the points will be drawn with, used to drive stretch-aware 93 const mat4& transform, VertexBuffer& vertexBuffer); 102 * @param transform The transform th [all...] |
H A D | Snapshot.cpp | 37 transform = &mTransformRoot; 57 mTransformRoot = *s->transform; 58 transform = &mTransformRoot; 60 transform = s->transform; 77 mClipArea->clipRectWithTransform(localClip, transform, static_cast<SkRegion::Op>(op)); 82 mClipArea->clipPathWithTransform(path, transform, static_cast<SkRegion::Op>(op)); 91 return transform->isPerspective(); 96 inverse.loadInverse(*transform); 134 roundRectDrawingMatrix.multiply(*transform); 185 applyClip(const ClipBase* recordedClip, const Matrix4& transform) argument [all...] |
H A D | BakedOpState.cpp | 37 transform.loadMultiply(*snapshot.transform, recordedOp.localMatrix); 47 transform.mapRect(clippedBounds); 49 (!transform.isPureTranslate() || recordedOp.paint->getStrokeWidth() < 1.0f))) { 57 *(snapshot.transform)); 77 inverseTransform.loadInverse(transform); 82 snapshot.projectionPathMask->transform(skInverseTransform, localMask); 90 transform.loadMultiply(*snapshot.transform, localTransform); 91 clipState = snapshot.serializeIntersectedClip(allocator, localClip, *(snapshot.transform)); [all...] |
H A D | DamageAccumulator.h | 46 // Push a transform node onto the stack. This should be called prior 48 // will be affected by the transform when popTransform() is called. 49 void pushTransform(const RenderNode* transform); 50 void pushTransform(const Matrix4* transform); 52 // Pops a transform node from the stack, propagating the dirty rect
|
H A D | CanvasState.cpp | 158 mSnapshot->transform->copyTo(*matrix); 162 mSnapshot->transform->translate(dx, dy, dz); 166 mSnapshot->transform->rotate(degrees, 0.0f, 0.0f, 1.0f); 170 mSnapshot->transform->scale(sx, sy, 1.0f); 174 mSnapshot->transform->skew(sx, sy); 178 mSnapshot->transform->load(matrix); 182 *(mSnapshot->transform) = matrix; 186 mat4 transform(matrix); 187 mSnapshot->transform->multiply(transform); [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | Transform.h | 66 // query the transform 75 // modify the transform 81 // transform data 83 vec2 transform(int x, int y) const; 84 Region transform(const Region& reg) const; 85 Rect transform(const Rect& bounds, 87 FloatRect transform(const FloatRect& bounds) const; 90 vec2 transform(const vec2& v) const; 91 vec3 transform(const vec3& v) const;
|
H A D | LayerStats.h | 48 // Return the name of the transform 49 static const char* layerTransform(int32_t transform); 61 static bool isRotated(int32_t transform); 63 static bool isVFlipped(int32_t transform); 65 static bool isHFlipped(int32_t transform);
|
H A D | LayerProtoHelper.cpp | 54 void LayerProtoHelper::writeToProto(const Transform& transform, TransformProto* transformProto) { argument 55 transformProto->set_dsdx(transform[0][0]); 56 transformProto->set_dtdx(transform[0][1]); 57 transformProto->set_dsdy(transform[1][0]); 58 transformProto->set_dtdy(transform[1][1]);
|
/frameworks/support/core/ktx/src/main/java/androidx/core/graphics/ |
H A D | Shader.kt | 25 inline fun Shader.transform(block: Matrix.() -> Unit) {
|
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/ |
H A D | Transformer.kt | 17 package com.android.tools.build.jetifier.processor.transform
|
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/bytecode/ |
H A D | CoreRemapper.kt | 17 package com.android.tools.build.jetifier.processor.transform.bytecode
|
H A D | ByteCodeTransformer.kt | 17 package com.android.tools.build.jetifier.processor.transform.bytecode 20 import com.android.tools.build.jetifier.processor.transform.TransformationContext 21 import com.android.tools.build.jetifier.processor.transform.Transformer
|
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/proguard/ |
H A D | ProGuardTransformer.kt | 17 package com.android.tools.build.jetifier.processor.transform.proguard 20 import com.android.tools.build.jetifier.processor.transform.TransformationContext 21 import com.android.tools.build.jetifier.processor.transform.Transformer 22 import com.android.tools.build.jetifier.processor.transform.proguard.patterns.ReplacersRunner
|
H A D | ProGuardClassFilterParser.kt | 17 package com.android.tools.build.jetifier.processor.transform.proguard 19 import com.android.tools.build.jetifier.processor.transform.proguard.patterns.GroupsReplacer 20 import com.android.tools.build.jetifier.processor.transform.proguard.patterns.PatternHelper
|
/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/libs/hwui/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; 150 public void transform(Contex [all...] |
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/metainf/ |
H A D | MetaInfTransformer.kt | 17 package com.android.tools.build.jetifier.processor.transform.metainf 20 import com.android.tools.build.jetifier.processor.transform.TransformationContext 21 import com.android.tools.build.jetifier.processor.transform.Transformer
|
/frameworks/av/camera/include/camera/ |
H A D | CameraUtils.h | 36 * Calculate the ANativeWindow transform from the static camera 43 /*out*/int32_t* transform);
|
/frameworks/av/include/camera/ |
H A D | CameraUtils.h | 36 * Calculate the ANativeWindow transform from the static camera 43 /*out*/int32_t* transform);
|
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/bytecode/asm/ |
H A D | CustomRemapper.kt | 17 package com.android.tools.build.jetifier.processor.transform.bytecode.asm 20 import com.android.tools.build.jetifier.processor.transform.bytecode.CoreRemapper
|
/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/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | RecentsTransitionComposer.java | 59 TaskView taskView, TaskViewTransform transform, boolean addHeaderBitmap) { 62 b = composeHeaderBitmap(taskView, transform); 69 transform.rect.round(taskRect); 139 public static Bitmap composeTaskBitmap(TaskView taskView, TaskViewTransform transform) { argument 140 float scale = transform.scale; 141 int fromWidth = (int) (transform.rect.width() * scale); 142 int fromHeight = (int) (transform.rect.height() * scale); 145 " at transform: " + transform); 160 TaskViewTransform transform) { 58 composeAnimationSpec(TaskStackView stackView, TaskView taskView, TaskViewTransform transform, boolean addHeaderBitmap) argument 159 composeHeaderBitmap(TaskView taskView, TaskViewTransform transform) argument [all...] |