/frameworks/native/include/gui/ |
H A D | BufferQueueCore.h | 321 transform(_transform), 327 uint32_t transform; member in struct:android::BufferQueueCore::SharedBufferCache
|
/frameworks/native/libs/gui/tests/ |
H A D | IGraphicBufferProducer_test.cpp | 53 // 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 D | buffer_hub_queue_producer.cpp | 261 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 D | vr_hwc.h | 73 int32_t transform; member in struct:android::dvr::ComposerView::ComposerLayer 280 int32_t transform) override;
|
/frameworks/base/core/java/android/view/ |
H A D | Surface.java | 76 private static native void nativeSetBuffersTransform(long nativeObject, long transform); argument
|
H A D | TextureView.java | 402 // 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 D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 678 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 D | Program.h | 386 * transform matrices. 402 * Name of the transform uniform. 404 int transform; member in class:android::Program
|
H A D | TessellationCache.cpp | 48 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 D | BakedOpDispatcher.cpp | 63 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 D | GcSnapshot.java | 71 /** 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 D | IGraphicBufferProducer.cpp | 828 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 D | BufferQueueProducer.cpp | 760 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 D | GLConsumer.cpp | 819 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 D | Input.cpp | 357 // 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 D | DisplayDevice.cpp | 184 // 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 D | HWComposer.cpp | 746 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 D | VirtualDisplaySurface.cpp | 278 NATIVE_WINDOW_SCALING_MODE_FREEZE, 0 /* transform */, 513 uint32_t transform; local 515 &scalingMode, &transform, &mFbFence);
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
H A D | Hwc2TestBuffer.cpp | 463 * 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 D | Camera2Client.cpp | 175 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 D | CameraDeviceClient.cpp | 556 // 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 D | CameraHardwareInterface.cpp | 71 status_t CameraHardwareInterface::setPreviewTransform(int transform) { argument 73 mPreviewTransform = transform;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Path.java | 755 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 D | TaskView.java | 292 // 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 D | Path_Delegate.java | 414 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 " +
|