Searched defs:transform (Results 1 - 25 of 103) sorted by relevance

12345

/frameworks/av/camera/
H A DCameraUtils.cpp31 /*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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DResizeFilter.java17 package androidx.media.filterpacks.transform;
H A DRotateFilter.java17 package androidx.media.filterpacks.transform;
H A DScaleFilter.java17 package androidx.media.filterpacks.transform;
H A DTransformUtils.java17 package androidx.media.filterpacks.transform;
26 /** Internal class that contains utility functions used by the transform filters. **/
H A DCropFilter.java17 package androidx.media.filterpacks.transform;
127 // Calculate transform for crop
128 Matrix transform = Quad.getTransform(sourceQuad, targetQuad);
129 transform.postScale(outDims[0] / (float)inDims[0], outDims[1] / (float)inDims[1]);
140 canvas.drawBitmap(sourceBitmap, transform, paint);
/frameworks/base/libs/hwui/pipeline/skia/
H A DLayerDrawable.cpp34 // transform the matrix based on the layer
38 SkMatrix transform; local
39 layer->getTransform().copyTo(transform);
40 canvas->concat(transform);
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
H A DTriData.java79 public void transform(Matrix m) { method in class:TriData
85 public void transform(Matrix m, TriData out) { method in class:TriData
/frameworks/av/media/libstagefright/
H A DSurfaceUtils.cpp59 int transform = 0; local
62 case 1: transform = HAL_TRANSFORM_ROT_90; break;
63 case 2: transform = HAL_TRANSFORM_ROT_180; break;
64 case 3: transform = HAL_TRANSFORM_ROT_270; break;
65 default: transform = 0; break;
69 err = native_window_set_buffers_transform(nativeWindow, transform);
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DParamsUtils.java74 * Map the rectangle in {@code rect} with the transform in {@code transform} into
80 * @param transform a non-{@code null} transformation matrix
82 * @return a new rectangle that was transformed by {@code transform}
86 public static Rect mapRect(Matrix transform, Rect rect) { argument
87 checkNotNull(transform, "transform must not be null");
91 transform.mapRect(rectF);
/frameworks/base/libs/hwui/
H A DDeferredLayerUpdater.cpp116 float transform[16]; local
144 mSurfaceTexture->getTransformMatrix(transform);
146 updateLayer(forceFilter, transform);
H A DLayer.h98 return transform;
137 * Optional texture coordinates transform.
142 * Optional transform.
144 mat4 transform; member in class:android::uirenderer::Layer
H A DRenderProperties.cpp192 // only allocate a mPrimitiveFields.matrix if we have a complex transform
199 SkMatrix* transform = mComputedFields.mTransformMatrix; local
200 transform->reset();
202 transform->setTranslate(getTranslationX(), getTranslationY());
203 transform->preRotate(getRotation(), getPivotX(), getPivotY());
204 transform->preScale(getScaleX(), getScaleY(), getPivotX(), getPivotY());
208 transform->preScale(getScaleX(), getScaleY(), getPivotX(), getPivotY());
216 transform->postConcat(transform3D);
H A DSnapshot.cpp37 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);
184 applyClip(const ClipBase* recordedClip, const Matrix4& transform) argument
[all...]
/frameworks/base/libs/hwui/private/hwui/
H A DDrawGlInfo.h41 // Input: current transform matrix, in OpenGL format
42 float transform[16]; member in struct:android::uirenderer::DrawGlInfo
/frameworks/native/include/gui/
H A DCpuConsumer.h54 uint32_t transform; member in struct:android::CpuConsumer::LockedBuffer
79 transform(0),
/frameworks/native/libs/ui/
H A DRect.cpp93 Rect Rect::transform(uint32_t xform, int32_t width, int32_t height) const { function in class:android::Rect
/frameworks/base/libs/hwui/renderstate/
H A DOffscreenBufferPool.h57 void setWindowTransform(const Matrix4& transform) { argument
58 inverseTransformInWindow.loadInverse(transform);
/frameworks/base/libs/hwui/tests/unit/
H A DClipAreaTests.cpp270 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, &region);
320 Matrix4 transform; local
321 transform.loadScale(2, 3, 1);
322 ClipArea::applyTransformToRegion(transform, &region);
329 Matrix4 transform; local
330 transform.translate(10, 20);
331 transform
339 Matrix4 transform; local
[all...]
/frameworks/base/tests/TransformTest/src/com/google/android/test/transform/
H A DTransformTestActivity.java17 package com.google.android.test.transform;
/frameworks/rs/rsov/compiler/
H A DBuiltin.cpp287 Instruction *transform(CapabilityInst *inst) override {
295 Instruction *transform(ExtInstImportInst *inst) override {
302 Instruction *transform(SourceInst *inst) override {
309 Instruction *transform(DecorateInst *inst) override {
319 Instruction *transform(FunctionCallInst *call) { function in class:android::spirit::BuiltinTransformer
H A DGlobalAllocSPIRITPass.cpp141 Instruction *transform(FunctionCallInst *call) { function in class:android::spirit::GAAccessorTransformer
/frameworks/webview/chromium/plat_support/
H A Ddraw_gl.h26 // elevating the WebView into an FBO layer. If any transform, clip, or outline
79 float transform[16]; member in struct:AwDrawGLInfo
/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp190 uint32_t transform; local
192 case 0: transform = 0; break;
193 case 90: transform = HAL_TRANSFORM_ROT_90; break;
194 case 180: transform = HAL_TRANSFORM_ROT_180; break;
195 case 270: transform = HAL_TRANSFORM_ROT_270; break;
196 default: transform = 0; break;
200 mNativeWindow.get(), transform));
/frameworks/base/core/java/android/net/
H A DIpSecManager.java70 * request. If encountered, selection of a new SPI is required before a transform may be
78 * Construct an exception indicating that a transform with the given SPI is already in use
241 * transform. For security reasons, attempts to send traffic to any IP address other than the
242 * address associated with that transform will throw an IOException. In addition, if the
244 * send() or receive() until the transform is removed from the socket by calling {@link
248 * @param transform an {@link IpSecTransform}, which must be an active Transport Mode transform.
251 public void applyTransportModeTransform(Socket socket, IpSecTransform transform) argument
253 applyTransportModeTransform(ParcelFileDescriptor.fromSocket(socket), transform);
259 * transform
269 applyTransportModeTransform(DatagramSocket socket, IpSecTransform transform) argument
275 applyTransportModeTransform(ParcelFileDescriptor pfd, IpSecTransform transform) argument
295 applyTransportModeTransform(FileDescriptor socket, IpSecTransform transform) argument
311 applyTunnelModeTransform(Network net, IpSecTransform transform) argument
324 removeTransportModeTransform(Socket socket, IpSecTransform transform) argument
340 removeTransportModeTransform(DatagramSocket socket, IpSecTransform transform) argument
355 removeTransportModeTransform(FileDescriptor socket, IpSecTransform transform) argument
361 removeTransportModeTransform(ParcelFileDescriptor pfd, IpSecTransform transform) argument
380 removeTunnelModeTransform(Network net, IpSecTransform transform) argument
[all...]

Completed in 404 milliseconds

12345