Home
last modified time | relevance | path

Searched refs:Geometry (Results 1 – 25 of 30) sorted by relevance

12

/aosp12/frameworks/native/libs/renderengine/gl/
H A DGLSkiaShadowPort.h47 struct Geometry { struct
59 std::unique_ptr<Geometry> getSpotShadowGeometry(const FloatRect& casterRect, argument
64 std::unique_ptr<Geometry> getAmbientShadowGeometry(const FloatRect& casterRect,
69 int getVertexCountForGeometry(const Geometry& shadowGeometry);
71 int getIndexCountForGeometry(const Geometry& shadowGeometry);
73 void fillVerticesForGeometry(const Geometry& shadowGeometry, int vertexCount,
77 void fillIndicesForGeometry(const Geometry& shadowGeometry, int indexCount,
H A DGLSkiaShadowPort.cpp229 static void fillInCircleVerts(const Geometry& args, bool isStroked, in fillInCircleVerts()
345 static void fillInRRectVerts(const Geometry& args, Mesh::VertexArray<vec2>& position, in fillInRRectVerts()
461 int getVertexCountForGeometry(const Geometry& shadowGeometry) { in getVertexCountForGeometry()
469 int getIndexCountForGeometry(const Geometry& shadowGeometry) { in getIndexCountForGeometry()
477 void fillVerticesForGeometry(const Geometry& shadowGeometry, int /* vertexCount */, in fillVerticesForGeometry()
488 void fillIndicesForGeometry(const Geometry& shadowGeometry, int indexCount, in fillIndicesForGeometry()
512 static std::unique_ptr<Geometry> getShadowGeometry(const vec4& color, const FloatRect& devRect, in getShadowGeometry()
544 return std::make_unique<Geometry>(Geometry{color, outerRadius, umbraInset, innerRadius, in getShadowGeometry()
548 std::unique_ptr<Geometry> getAmbientShadowGeometry(const FloatRect& casterRect, in getAmbientShadowGeometry()
574 std::unique_ptr<Geometry> getSpotShadowGeometry(const FloatRect& casterRect, in getSpotShadowGeometry()
H A DGLShadowVertexGenerator.h53 std::unique_ptr<Geometry> mAmbientShadowGeometry;
58 std::unique_ptr<Geometry> mSpotShadowGeometry;
/aosp12/frameworks/av/media/libstagefright/renderfright/gl/
H A DGLSkiaShadowPort.h47 struct Geometry { struct
59 std::unique_ptr<Geometry> getSpotShadowGeometry(const FloatRect& casterRect, argument
64 std::unique_ptr<Geometry> getAmbientShadowGeometry(const FloatRect& casterRect,
69 int getVertexCountForGeometry(const Geometry& shadowGeometry);
71 int getIndexCountForGeometry(const Geometry& shadowGeometry);
73 void fillVerticesForGeometry(const Geometry& shadowGeometry, int vertexCount,
77 void fillIndicesForGeometry(const Geometry& shadowGeometry, int indexCount,
H A DGLSkiaShadowPort.cpp229 static void fillInCircleVerts(const Geometry& args, bool isStroked, in fillInCircleVerts()
345 static void fillInRRectVerts(const Geometry& args, Mesh::VertexArray<vec2>& position, in fillInRRectVerts()
461 int getVertexCountForGeometry(const Geometry& shadowGeometry) { in getVertexCountForGeometry()
469 int getIndexCountForGeometry(const Geometry& shadowGeometry) { in getIndexCountForGeometry()
477 void fillVerticesForGeometry(const Geometry& shadowGeometry, int /* vertexCount */, in fillVerticesForGeometry()
488 void fillIndicesForGeometry(const Geometry& shadowGeometry, int indexCount, in fillIndicesForGeometry()
512 static std::unique_ptr<Geometry> getShadowGeometry(const vec4& color, const FloatRect& devRect, in getShadowGeometry()
544 return std::make_unique<Geometry>(Geometry{color, outerRadius, umbraInset, innerRadius, in getShadowGeometry()
548 std::unique_ptr<Geometry> getAmbientShadowGeometry(const FloatRect& casterRect, in getAmbientShadowGeometry()
574 std::unique_ptr<Geometry> getSpotShadowGeometry(const FloatRect& casterRect, in getSpotShadowGeometry()
H A DGLShadowVertexGenerator.h53 std::unique_ptr<Geometry> mAmbientShadowGeometry;
58 std::unique_ptr<Geometry> mSpotShadowGeometry;
/aosp12/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
H A DCbSendMessageCalculator.java42 private final List<CbGeoUtils.Geometry> mFences;
56 @NonNull final List<CbGeoUtils.Geometry> fences) { in CbSendMessageCalculator()
61 @NonNull final List<CbGeoUtils.Geometry> fences, final double thresholdMeters) { in CbSendMessageCalculator()
139 public @NonNull List<CbGeoUtils.Geometry> getFences() { in getFences()
210 CbGeoUtils.Geometry fence = mFences.get(i); in calculateActionFromFences()
229 CbGeoUtils.Geometry fence) { in calculateSingleFence()
242 CbGeoUtils.Geometry fence) { in calculateSysSingleFence()
H A DCbGeoUtils.java21 import android.telephony.CbGeoUtils.Geometry;
64 public static List<Geometry> parseGeometriesFromString(@NonNull String str) { in parseGeometriesFromString()
65 List<Geometry> geometries = new ArrayList<>(); in parseGeometriesFromString()
99 public static String encodeGeometriesToString(@NonNull List<Geometry> geometries) { in encodeGeometriesToString()
114 private static String encodeGeometryToString(@NonNull Geometry geometry) { in encodeGeometryToString()
170 public static Optional<Double> distance(Geometry geo, in distance()
H A DGsmSmsCbMessage.java32 import android.telephony.CbGeoUtils.Geometry;
134 List<Geometry> geometries = null; in createSmsCbMessage()
138 Pair<Integer, List<Geometry>> wac = parseWarningAreaCoordinates(pdu, in createSmsCbMessage()
230 private static Pair<Integer, List<Geometry>> parseWarningAreaCoordinates( in parseWarningAreaCoordinates()
250 List<Geometry> geo = new ArrayList<>(); in parseWarningAreaCoordinates()
H A DGsmCellBroadcastHandler.java41 import android.telephony.CbGeoUtils.Geometry;
319 List<Geometry> commonBroadcastArea = new ArrayList<>(); in handleGeoFencingTriggerMessage()
351 List<Geometry> broadcastArea = !commonBroadcastArea.isEmpty() in handleGeoFencingTriggerMessage()
/aosp12/frameworks/av/media/libstagefright/renderfright/include/renderengine/
H A DLayerSettings.h70 struct Geometry { struct
133 Geometry geometry = Geometry();
169 static inline bool operator==(const Geometry& lhs, const Geometry& rhs) {
210 static inline void PrintTo(const Geometry& settings, ::std::ostream* os) { in PrintTo()
/aosp12/frameworks/native/libs/renderengine/skia/
H A DCache.cpp65 Geometry{ in drawShadowLayers()
86 Geometry{ in drawShadowLayers()
127 Geometry{ in drawImageLayers()
167 Geometry{ in drawSolidLayers()
194 Geometry{ in drawBlurLayers()
235 Geometry{ in drawClippedLayers()
268 Geometry{ in drawPIPImageLayer()
302 Geometry{ in drawHolePunchLayer()
/aosp12/frameworks/native/libs/renderengine/include/renderengine/
H A DLayerSettings.h72 struct Geometry { struct
138 Geometry geometry = Geometry();
188 static inline bool operator==(const Geometry& lhs, const Geometry& rhs) {
242 static inline void PrintTo(const Geometry& settings, ::std::ostream* os) { in PrintTo()
/aosp12/frameworks/base/telephony/java/android/telephony/
H A DCbGeoUtils.java52 public interface Geometry { interface in CbGeoUtils
155 public static class Polygon implements Geometry {
333 public static class Circle implements Geometry {
407 public static List<Geometry> parseGeometriesFromString(@NonNull String str) { in parseGeometriesFromString()
408 List<Geometry> geometries = new ArrayList<>(); in parseGeometriesFromString()
439 public static String encodeGeometriesToString(List<Geometry> geometries) { in encodeGeometriesToString()
456 private static String encodeGeometryToString(@NonNull Geometry geometry) { in encodeGeometryToString()
H A DSmsCbMessage.java28 import android.telephony.CbGeoUtils.Geometry;
210 private final List<Geometry> mGeometries;
239 @Nullable List<Geometry> geometries, long receivedTimeMillis, int slotIndex, in SmsCbMessage()
433 public List<Geometry> getGeometries() { in getGeometries()
731 List<Geometry> geometries = in createFromCursor()
/aosp12/frameworks/native/libs/vr/libbroadcastring/include/libbroadcastring/
H A Dbroadcast_ring.h263 Geometry geometry = GetGeometry(); in Put()
329 Geometry geometry = in Get()
426 struct Geometry { struct
539 static Geometry CalculateGeometry(uint32_t record_count, uint32_t record_size, in CalculateGeometry()
541 Geometry geometry; in CalculateGeometry()
559 Geometry GetGeometry() const { in GetGeometry()
576 Geometry geometry = GetGeometry(); in Reserve()
592 Geometry geometry = GetGeometry(); in Publish()
/aosp12/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
H A DCbSendMessageCalculatorTest.java23 import android.telephony.CbGeoUtils.Geometry;
278 List<Geometry> l = new ArrayList<>(); in testThreshold()
297 Geometry geo, Geometry... geos) { in createCalculator()
298 List<Geometry> list = new ArrayList<>(Arrays.asList(geos)); in createCalculator()
H A DGsmCellBroadcastHandlerTest.java330 ArgumentCaptor<List<CbGeoUtils.Geometry>> geosCaptor = in testGeofencingAmbiguousWithMockCalculator()
333 List<CbGeoUtils.Geometry> geos = geosCaptor.getValue(); in testGeofencingAmbiguousWithMockCalculator()
365 ArgumentCaptor<List<CbGeoUtils.Geometry>> geosCaptor = in testGeofencingNoCoordinatesWithMockCalculator()
368 List<CbGeoUtils.Geometry> geos = geosCaptor.getValue(); in testGeofencingNoCoordinatesWithMockCalculator()
382 ArgumentCaptor<List<CbGeoUtils.Geometry>> geosCaptor = in testGeofencingSendImmediatelyWithMockCalculator()
385 List<CbGeoUtils.Geometry> geos = geosCaptor.getValue(); in testGeofencingSendImmediatelyWithMockCalculator()
H A DCbGeoUtilsTest.java23 import android.telephony.CbGeoUtils.Geometry;
63 List<Geometry> geometries = new ArrayList<>(); in testEncodeAndParseString()
72 List<Geometry> parsedGeometries = CbGeoUtils.parseGeometriesFromString(geoString); in testEncodeAndParseString()
H A DCellBroadcastHandlerTest.java319 @NonNull List<CbGeoUtils.Geometry> fences) { in createNew()
/aosp12/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
H A DGsmSmsCbMessage.java28 import android.telephony.CbGeoUtils.Geometry;
130 List<Geometry> geometries = null; in createSmsCbMessage()
134 Pair<Integer, List<Geometry>> wac = parseWarningAreaCoordinates(pdu, in createSmsCbMessage()
178 private static Pair<Integer, List<Geometry>> parseWarningAreaCoordinates( in parseWarningAreaCoordinates()
193 List<Geometry> geo = new ArrayList<>(); in parseWarningAreaCoordinates()
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DCbGeoUtilsTest.java23 import android.telephony.CbGeoUtils.Geometry;
50 List<Geometry> geo = Arrays.asList( in testEncodeGeometries()
61 List<Geometry> decodedGeo = CbGeoUtils.parseGeometriesFromString(encodedStr); in testEncodeGeometries()
92 List<Geometry> geo = CbGeoUtils.parseGeometriesFromString(geometriesStr); in testParseGeometriesFromString()
/aosp12/packages/modules/GeoTZ/data_pipeline/src/main/java/com/android/timezone/location/data_pipeline/steps/
H A DGeoJsonTzToTzS2Polygons.java38 import org.geojson.Geometry;
202 Geometry geometry = (Geometry) feature.getGeometry(); in processFeature()
/aosp12/frameworks/native/services/surfaceflinger/
H A DLayer.h124 struct Geometry { struct
129 inline bool operator==(const Geometry& rhs) const { argument
133 inline bool operator!=(const Geometry& rhs) const { return !operator==(rhs); }
151 Geometry active_legacy;
152 Geometry requested_legacy;
/aosp12/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
H A DCachedSet.cpp250 renderengine::Geometry{ in render()

12