Searched defs:transform (Results 51 - 75 of 103) sorted by relevance

12345

/frameworks/native/include/gui/
H A DBufferQueueCore.h321 transform(_transform),
327 uint32_t transform; member in struct:android::BufferQueueCore::SharedBufferCache
/frameworks/native/libs/gui/tests/
H A DIGraphicBufferProducer_test.cpp53 // Default transform hint before setTransformHint is called
128 transform = QUEUE_BUFFER_INPUT_TRANSFORM;
139 transform,
168 QueueBufferInputBuilder& setTransform(uint32_t transform) { argument
169 this->transform = transform;
184 uint32_t transform; member in struct:android::IGraphicBufferProducerTest::QueueBufferInputBuilder
/frameworks/native/libs/vr/libbufferhubqueue/
H A Dbuffer_hub_queue_producer.cpp261 uint32_t transform; local
265 &scaling_mode, &transform, &fence);
334 meta_data.transform = static_cast<int32_t>(transform);
/frameworks/native/services/vr/hardware_composer/impl/
H A Dvr_hwc.h73 int32_t transform; member in struct:android::dvr::ComposerView::ComposerLayer
280 int32_t transform) override;
/frameworks/base/core/java/android/view/
H A DSurface.java76 private static native void nativeSetBuffersTransform(long nativeObject, long transform); argument
H A DTextureView.java402 // parameters are correct (width, height, transform, etc.)
467 * <p>Sets the transform to associate with this texture view.
468 * The specified transform applies to the underlying surface
476 * @param transform The transform to apply to the content of
483 public void setTransform(Matrix transform) { argument
484 mMatrix.set(transform);
490 * Returns the transform associated with this texture view.
492 * @param transform The {@link Matrix} in which to copy the current
493 * transform
500 getTransform(Matrix transform) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp678 int32_t transform = 0; local
680 if ((err = CameraUtils::getRotationTransform(staticMetadata, /*out*/&transform)) != NO_ERROR) {
681 ALOGE("%s: Invalid rotation transform %s (%d)", __FUNCTION__, strerror(-err),
686 ALOGV("%s: Setting buffer sticky transform to %d", __FUNCTION__, transform);
688 if ((err = native_window_set_buffers_sticky_transform(anw.get(), transform)) != NO_ERROR) {
689 ALOGE("%s: Unable to configure surface transform, error %s (%d)", __FUNCTION__,
/frameworks/base/libs/hwui/
H A DProgram.h386 * transform matrices.
402 * Name of the transform uniform.
404 int transform; member in class:android::Program
H A DTessellationCache.cpp48 TessellationCache::Description::Description(Type type, const Matrix4& transform, const SkPaint& paint) argument
54 PathTessellator::extractTessellationScales(transform, &scaleX, &scaleY);
439 const Matrix4& transform, const SkPaint& paint,
441 Description entry(Description::Type::RoundRect, transform, paint);
448 const VertexBuffer* TessellationCache::getRoundRect(const Matrix4& transform, const SkPaint& paint, argument
450 return getRoundRectBuffer(transform, paint, width, height, rx, ry)->getVertexBuffer();
438 getRoundRectBuffer( const Matrix4& transform, const SkPaint& paint, float width, float height, float rx, float ry) argument
H A DBakedOpDispatcher.cpp63 state.computedState.transform.mapRect(opBounds);
64 if (CC_LIKELY(state.computedState.transform.isPureTranslate())) {
133 const float tx = floorf(state.computedState.transform.getTranslateX()
135 const float ty = floorf(state.computedState.transform.getTranslateY()
138 // Copy & transform all the vertices for the current operation
220 .setTransform(textOpState.computedState.transform, TransformFlags::None)
227 auto& transform = textOpState.computedState.transform; local
235 transform.mapRect(shadowBounds);
237 (!transform
264 const Matrix4& transform = state.computedState.transform; local
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java71 /** temp transform in case transformation are set before a Graphics2D exists */
290 // get the current transform
293 // transform the layerBounds with the current transform and stores it into a int rect
313 // because this layer inherits the current context for transform and clip,
396 * If any transform or clip information was set before, they are put into the Graphics object.
404 // Set the current transform and clip which can either come from mTransform/mClip if they
463 // all graphics2D in the list have the same transform
473 public void setTransform(AffineTransform transform) { argument
476 layer.getGraphics().setTransform(transform);
[all...]
/frameworks/native/libs/gui/
H A DIGraphicBufferProducer.cpp828 float transform[16] = {}; local
829 status_t result = getLastQueuedBuffer(&buffer, &fence, transform);
840 reply->write(transform, sizeof(float) * 16);
896 sizeof(transform) +
923 FlattenableUtils::write(buffer, size, transform);
946 FlattenableUtils::read(buffer, size, transform);
H A DBufferQueueProducer.cpp760 uint32_t transform; local
765 &crop, &scalingMode, &transform, &acquireFence, &stickyTransform,
828 " crop=[%d,%d,%d,%d] transform=%#x scale=%s",
831 transform,
861 item.mTransform = transform &
864 (transform & NATIVE_WINDOW_TRANSFORM_INVERSE_DISPLAY) != 0;
885 mCore->mSharedBufferCache.transform = transform;
H A DGLConsumer.cpp819 const sp<GraphicBuffer>& buf, const Rect& cropRect, uint32_t transform,
826 if (transform & NATIVE_WINDOW_TRANSFORM_FLIP_H) {
833 if (transform & NATIVE_WINDOW_TRANSFORM_FLIP_V) {
840 if (transform & NATIVE_WINDOW_TRANSFORM_ROT_90) {
911 // additional vertical flip to the transform after all the other transforms.
818 computeTransformMatrix(float outTransform[16], const sp<GraphicBuffer>& buf, const Rect& cropRect, uint32_t transform, bool filtering) argument
/frameworks/native/libs/input/
H A DInput.cpp357 // Apply perspective transform like Skia.
370 // Construct and transform a vector oriented at the specified clockwise angle from vertical.
388 void MotionEvent::transform(const float matrix[9]) { function in class:android::MotionEvent
403 // can transform orientation vectors.
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp184 // initialize the display orientation transform.
408 dirty = planeTransform.transform(this->dirtyRegion);
457 uint32_t transform = 0; local
460 transform = Transform::ROT_0;
463 transform = Transform::ROT_90;
466 transform = Transform::ROT_180;
469 transform = Transform::ROT_270;
472 return transform;
579 mScissor = mGlobalTransform.transform(viewport);
586 uint32_t transform local
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp746 const mat4& transform) {
753 bool isIdentity = transform == mat4();
754 auto error = displayData.hwcDisplay->setColorTransform(transform,
758 ALOGE("setColorTransform: Failed to set transform on display %d: "
745 setColorTransform(int32_t displayId, const mat4& transform) argument
H A DVirtualDisplaySurface.cpp278 NATIVE_WINDOW_SCALING_MODE_FREEZE, 0 /* transform */,
513 uint32_t transform; local
515 &scalingMode, &transform, &mFbFence);
/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2TestBuffer.cpp463 * transform, blend mode, source crop, etc. */
544 hwc_transform_t transform = testLayers->getTransform(*layer); local
549 /* If a layer has a transform, find which location on the
553 if (transform > 0) {
559 if (transform & HWC_TRANSFORM_FLIP_H)
563 if (transform & HWC_TRANSFORM_FLIP_V)
571 if (transform & HWC_TRANSFORM_ROT_90) {
/frameworks/av/services/camera/libcameraservice/api1/
H A DCamera2Client.cpp175 result.appendFormat(" Preview transform: %x\n",
1588 int transform = Parameters::degToTransform(degrees, local
1590 if (transform == -1) {
1596 if (transform != l.mParameters.previewTransform &&
1598 mDevice->setStreamTransform(getPreviewStreamId(), transform); local
1600 l.mParameters.previewTransform = transform;
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.cpp556 // Set transform flags to ensure preview to be rotated correctly.
615 // Set transform flags to ensure preview to be rotated correctly.
624 int32_t transform = 0; local
632 err = getRotationTransformLocked(&transform);
636 "Unable to calculate rotation transform for new stream");
639 err = mDevice->setStreamTransform(streamId, transform);
641 String8 msg = String8::format("Failed to set stream transform (stream id %d)",
1501 status_t CameraDeviceClient::getRotationTransformLocked(int32_t* transform) { argument
1505 return CameraUtils::getRotationTransform(staticInfo, transform);
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.cpp71 status_t CameraHardwareInterface::setPreviewTransform(int transform) { argument
73 mPreviewTransform = transform;
/frameworks/base/graphics/java/android/graphics/
H A DPath.java755 public void transform(Matrix matrix, Path dst) { method in class:Path
769 public void transform(Matrix matrix) { method in class:Path
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskView.java292 // Compose the animations for the transform
355 * @return whether we are animating towards {@param transform}
357 boolean isAnimatingTo(TaskViewTransform transform) { argument
359 && mTargetAnimationTransform.isSame(transform);
363 * Cancels any current transform animations.
554 public void onStartLaunchTargetEnterAnimation(TaskViewTransform transform, int duration, argument
562 DIM_ALPHA_WITHOUT_HEADER, getDimAlpha(), transform.dimAlpha));
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java414 addPath(nPath, src, null /*transform*/);
464 pathDelegate.transform(matrixDelegate, dstDelegate);
570 public static void addPath(long destPath, long srcPath, AffineTransform transform) { argument
581 if (transform != null) {
583 srcPathDelegate.mPath.getPathIterator(transform), false);
876 public void transform(Matrix_Delegate matrix, Path_Delegate dst) { method in class:Path_Delegate
880 "android.graphics.Path#transform() only " +

Completed in 391 milliseconds

12345