/frameworks/base/libs/hwui/tests/unit/ |
D | FatalTestCanvas.h | 34 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/ |
D | SkiaCanvasProxy.cpp | 256 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 …]
|
D | SkiaCanvasProxy.h | 82 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/ |
D | ByteStringUtils.java | 41 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/ |
D | ByteArrayHelpers.java | 222 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/ |
D | ConnectivityPacketSummary.java | 353 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/ |
D | BluetoothLeAdvertiser.java | 509 + 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/ |
D | SettingsBackupAgent.java | 905 int byteLength = in.readInt(); in restoreNetworkPolicies() local 906 byte[] policyData = new byte[byteLength]; in restoreNetworkPolicies() 907 in.read(policyData, 0, byteLength); in restoreNetworkPolicies()
|