Home
last modified time | relevance | path

Searched refs:geometry (Results 1 – 25 of 95) sorted by relevance

1234

/frameworks/native/libs/vr/libbroadcastring/include/libbroadcastring/
Dbroadcast_ring.h263 Geometry geometry = GetGeometry(); in Put() local
264 PutRecordInternal(&record, record_mmap_writer(geometry.tail_index)); in Put()
329 Geometry geometry = in Get() local
333 RecordStorage* record_storage = record_mmap_reader(geometry.head_index); in Get()
541 Geometry geometry; in CalculateGeometry() local
542 geometry.record_count = record_count; in CalculateGeometry()
543 geometry.record_size = record_size; in CalculateGeometry()
544 DCHECK_EQ(0U, geometry.record_size % kRecordAlignment); in CalculateGeometry()
545 geometry.head = head; in CalculateGeometry()
546 geometry.tail = tail; in CalculateGeometry()
[all …]
/frameworks/native/libs/renderengine/skia/
DCache.cpp73 .geometry = in drawShadowLayers()
94 .geometry = in drawShadowLayers()
123 layer.geometry.positionTransform = transform; in drawShadowLayers()
124 caster.geometry.positionTransform = transform; in drawShadowLayers()
137 .geometry = in drawImageLayers()
158 layer.geometry.roundedCornersRadius = {roundedCornersRadius, roundedCornersRadius}; in drawImageLayers()
176 .geometry = in drawSolidLayers()
188 layer.geometry.positionTransform = transform; in drawSolidLayers()
190 layer.geometry.roundedCornersRadius = {roundedCornersRadius, roundedCornersRadius}; in drawSolidLayers()
202 .geometry = in drawBlurLayers()
[all …]
/frameworks/native/libs/renderengine/tests/
DRenderEngineTest.cpp391 const Rect casterRect(castingLayer.geometry.boundaries); in expectShadowColor()
393 const float casterCornerRadius = (castingLayer.geometry.roundedCornersRadius.x + in expectShadowColor()
394 castingLayer.geometry.roundedCornersRadius.y) / in expectShadowColor()
681 layer.geometry.boundaries = fullscreenRect().toFloatRect(); in fillBuffer()
725 layer.geometry.boundaries = offsetRectAtZero().toFloatRect(); in fillRedOffsetBuffer()
761 layerOne.geometry.boundaries = rectOne.toFloatRect(); in fillBufferCheckers()
768 layerTwo.geometry.boundaries = rectTwo.toFloatRect(); in fillBufferCheckers()
775 layerThree.geometry.boundaries = rectThree.toFloatRect(); in fillBufferCheckers()
862 layer.geometry.boundaries = Rect(1, 1).toFloatRect(); in fillBufferWithLayerTransform()
864 layer.geometry.positionTransform = mat4(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0, 1); in fillBufferWithLayerTransform()
[all …]
/frameworks/av/media/libstagefright/renderfright/tests/
DRenderEngineTest.cpp194 const Rect casterRect(castingLayer.geometry.boundaries); in expectShadowColor()
196 const float casterCornerRadius = castingLayer.geometry.roundedCornersRadius; in expectShadowColor()
450 layer.geometry.boundaries = fullscreenRect().toFloatRect(); in fillBuffer()
492 layer.geometry.boundaries = offsetRectAtZero().toFloatRect(); in fillRedOffsetBuffer()
526 layerOne.geometry.boundaries = rectOne.toFloatRect(); in fillBufferCheckers()
532 layerTwo.geometry.boundaries = rectTwo.toFloatRect(); in fillBufferCheckers()
538 layerThree.geometry.boundaries = rectThree.toFloatRect(); in fillBufferCheckers()
623 layer.geometry.boundaries = Rect(1, 1).toFloatRect(); in fillBufferWithLayerTransform()
625 layer.geometry.positionTransform = mat4(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0, 1); in fillBufferWithLayerTransform()
654 layer.geometry.boundaries = Rect(1, 1).toFloatRect(); in fillBufferWithColorTransform()
[all …]
/frameworks/base/telephony/java/android/telephony/
DCbGeoUtils.java442 .map(geometry -> encodeGeometryToString(geometry)) in encodeGeometriesToString()
456 private static String encodeGeometryToString(@NonNull Geometry geometry) { in encodeGeometryToString() argument
458 if (geometry instanceof Polygon) { in encodeGeometryToString()
460 for (LatLng latLng : ((Polygon) geometry).getVertices()) { in encodeGeometryToString()
466 } else if (geometry instanceof Circle) { in encodeGeometryToString()
468 Circle circle = (Circle) geometry; in encodeGeometryToString()
480 Rlog.e(TAG, "Unsupported geometry object " + geometry); in encodeGeometryToString()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DDragResizeWindowGeometryTests.java348 public void validateCtrlTypeForInnerPoints(@NonNull DragResizeWindowGeometry geometry, in validateCtrlTypeForInnerPoints() argument
351 assertThat(geometry.calculateCtrlType(isTouchscreen, isEdgeResizePermitted, in validateCtrlTypeForInnerPoints()
354 assertThat(geometry.calculateCtrlType(isTouchscreen, isEdgeResizePermitted, in validateCtrlTypeForInnerPoints()
357 assertThat(geometry.calculateCtrlType(isTouchscreen, isEdgeResizePermitted, in validateCtrlTypeForInnerPoints()
361 assertThat(geometry.calculateCtrlType(isTouchscreen, isEdgeResizePermitted, in validateCtrlTypeForInnerPoints()
371 public void validateCtrlTypeForOutsidePoints(@NonNull DragResizeWindowGeometry geometry, in validateCtrlTypeForOutsidePoints() argument
374 assertThat(geometry.calculateCtrlType(isTouchscreen, isEdgeResizePermitted, in validateCtrlTypeForOutsidePoints()
377 assertThat(geometry.calculateCtrlType(isTouchscreen, isEdgeResizePermitted, in validateCtrlTypeForOutsidePoints()
380 assertThat(geometry.calculateCtrlType(isTouchscreen, isEdgeResizePermitted, in validateCtrlTypeForOutsidePoints()
384 assertThat(geometry.calculateCtrlType(isTouchscreen, isEdgeResizePermitted, in validateCtrlTypeForOutsidePoints()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/extensions/
DOffsetOperators.kt19 import androidx.compose.ui.geometry.Offset
20 import androidx.compose.ui.geometry.Size
DLazyGridStateExt.kt20 import androidx.compose.ui.geometry.Offset in <lambda>()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/ui/
DProgressBar.kt32 import androidx.compose.ui.geometry.CornerRadius
33 import androidx.compose.ui.geometry.Offset
34 import androidx.compose.ui.geometry.Size
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/ui/util/
DMathHelpers.kt20 import androidx.compose.ui.geometry.isSpecified
21 import androidx.compose.ui.geometry.lerp
/frameworks/av/media/libstagefright/renderfright/include/renderengine/
DLayerSettings.h133 Geometry geometry = Geometry(); member
186 return lhs.geometry == rhs.geometry && lhs.source == rhs.source && lhs.alpha == rhs.alpha &&
243 PrintTo(settings.geometry, os); in PrintTo()
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
DRectangle.java18 package android.filterfw.geometry;
20 import android.filterfw.geometry.Point;
21 import android.filterfw.geometry.Quad;
Dpackage-info.java4 package android.filterfw.geometry;
/frameworks/native/libs/renderengine/include/renderengine/
DLayerSettings.h104 Geometry geometry = Geometry(); member
179 return lhs.geometry == rhs.geometry && lhs.source == rhs.source && lhs.alpha == rhs.alpha &&
260 PrintTo(settings.geometry, os); in PrintTo()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/transformation/
DAnchoredTranslate.kt19 import androidx.compose.ui.geometry.Offset
20 import androidx.compose.ui.geometry.isSpecified
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DFixedRotationFilter.java27 import android.filterfw.geometry.Point;
28 import android.filterfw.geometry.Quad;
DRotateFilter.java28 import android.filterfw.geometry.Quad;
29 import android.filterfw.geometry.Point;
DStraightenFilter.java28 import android.filterfw.geometry.Quad;
29 import android.filterfw.geometry.Point;
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DDragResizeInputListener.java172 DragResizeWindowGeometry geometry = mInputEventReceiver.getGeometry(); in setGeometry() local
173 if (incomingGeometry.equals(geometry)) { in setGeometry()
177 geometry = incomingGeometry; in setGeometry()
183 geometry.union(mTouchRegion); in setGeometry()
184 mInputEventReceiver.setGeometry(geometry); in setGeometry()
200 final Size taskSize = geometry.getTaskSize(); in setGeometry()
/frameworks/native/services/surfaceflinger/
DLayerFE.cpp127 layerSettings.geometry.boundaries = in prepareClientCompositionInternal()
129 layerSettings.geometry.positionTransform = mSnapshot->geomLayerTransform.asMatrix4(); in prepareClientCompositionInternal()
140 layerSettings.geometry.roundedCornersRadius = roundedCornerState.radius; in prepareClientCompositionInternal()
141 layerSettings.geometry.roundedCornersCrop = roundedCornerState.cropRect; in prepareClientCompositionInternal()
302 const Rect win{layerSettings.geometry.boundaries}; in prepareBufferStateClientComposition()
/frameworks/native/libs/renderengine/benchmark/
DRenderEngineBench.cpp114 .geometry = in copyBuffer()
200 .geometry = in BM_blur()
214 .geometry = in BM_blur()
/frameworks/libs/systemui/toruslib/torus-core/src/main/java/com/google/android/torus/core/geometry/
DVertex.kt17 package com.google.android.torus.core.geometry
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DCachedSet.cpp239 holePunchBackgroundSettings.geometry.boundaries = holePunchSettings->geometry.boundaries; in render()
240 holePunchBackgroundSettings.geometry.positionTransform = in render()
241 holePunchSettings->geometry.positionTransform; in render()
249 .geometry = in render()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DClientCompositionRequestCache.cpp35 return lhs.geometry == rhs.geometry && lhs.alpha == rhs.alpha && in equalIgnoringSource()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/ui/compose/
DCommunalHubUtilsTest.kt20 import androidx.compose.ui.geometry.Offset

1234