/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 | 262 GlyphIDConverter(const void* text, size_t byteLength, const SkPaint& origPaint) { in GlyphIDConverter() argument 266 count = byteLength >> 1; in GlyphIDConverter() 269 storage.reset(new uint16_t[byteLength]); in GlyphIDConverter() 271 count = paint.textToGlyphs(text, byteLength, storage.get()); in GlyphIDConverter() 283 void SkiaCanvasProxy::onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, in onDrawText() argument 286 GlyphIDConverter glyphs(text, byteLength, origPaint); in onDrawText() 341 void SkiaCanvasProxy::onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], in onDrawPosText() argument 344 GlyphIDConverter glyphs(text, byteLength, origPaint); in onDrawPosText() 382 void SkiaCanvasProxy::onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], in onDrawPosTextH() argument 384 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 | 508 + byteLength(data.getServiceData().get(uuid)); 512 byteLength(data.getManufacturerSpecificData().valueAt(i)); 523 private int byteLength(byte[] array) {
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsBackupAgent.java | 835 int byteLength = in.readInt(); in restoreNetworkPolicies() local 836 byte[] policyData = new byte[byteLength]; in restoreNetworkPolicies() 837 in.read(policyData, 0, byteLength); in restoreNetworkPolicies()
|