Home
last modified time | relevance | path

Searched refs:byteLength (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DFatalTestCanvas.h34 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, in onDrawText() argument
38 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], in onDrawPosText() argument
42 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], SkScalar constY, in onDrawPosTextH() argument
46 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, in onDrawTextOnPath() argument
50 void onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform[], in onDrawTextRSXform() argument
/frameworks/base/libs/hwui/
DSkiaCanvasProxy.cpp256 GlyphIDConverter(const void* text, size_t byteLength, const SkPaint& origPaint) { in GlyphIDConverter() argument
260 count = byteLength >> 1; in GlyphIDConverter()
263 storage.reset(new uint16_t[byteLength]); in GlyphIDConverter()
265 count = paint.textToGlyphs(text, byteLength, storage.get()); in GlyphIDConverter()
277 void SkiaCanvasProxy::onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, in onDrawText() argument
280 GlyphIDConverter glyphs(text, byteLength, origPaint); in onDrawText()
345 void SkiaCanvasProxy::onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], in onDrawPosText() argument
348 GlyphIDConverter glyphs(text, byteLength, origPaint); in onDrawPosText()
388 void SkiaCanvasProxy::onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], in onDrawPosTextH() argument
390 const size_t pointCount = byteLength >> 1; in onDrawPosTextH()
[all …]
DSkiaCanvasProxy.h82 virtual void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y,
84 virtual void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[],
86 virtual void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[],
88 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path,
90 virtual void onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform[],
/frameworks/base/core/java/android/util/
DByteStringUtils.java41 final int byteLength = bytes.length; in toHexString() local
42 final int charCount = 2 * byteLength; in toHexString()
45 for (int i = 0; i < byteLength; i++) { in toHexString()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DByteArrayHelpers.java222 int byteLength = Array.getLength(array) * sizeOfT; in toByteArray() local
226 return Arrays.copyOf((byte[])array, byteLength); in toByteArray()
229 ByteBuffer byteBuffer = ByteBuffer.allocate(byteLength).order(ByteOrder.nativeOrder()); in toByteArray()
/frameworks/base/services/net/java/android/net/util/
DConnectivityPacketSummary.java353 private static String getIpAddressString(ByteBuffer ip, int byteLength) { in getIpAddressString() argument
354 if (ip == null || ip.remaining() < byteLength) return "invalid"; in getIpAddressString()
356 byte[] bytes = new byte[byteLength]; in getIpAddressString()
357 ip.get(bytes, 0, byteLength); in getIpAddressString()
/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeAdvertiser.java509 + byteLength(data.getServiceData().get(uuid));
513 byteLength(data.getManufacturerSpecificData().valueAt(i));
524 private int byteLength(byte[] array) {
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java905 int byteLength = in.readInt(); in restoreNetworkPolicies() local
906 byte[] policyData = new byte[byteLength]; in restoreNetworkPolicies()
907 in.read(policyData, 0, byteLength); in restoreNetworkPolicies()