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

/frameworks/base/core/java/android/util/
H A DByteStringUtils.java41 final int byteLength = bytes.length;
42 final int charCount = 2 * byteLength;
45 for (int i = 0; i < byteLength; i++) {
/frameworks/base/libs/hwui/
H A 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[],
H A DSkiaCanvasProxy.cpp262 GlyphIDConverter(const void* text, size_t byteLength, const SkPaint& origPaint) { argument
266 count = byteLength >> 1;
269 storage.reset(new uint16_t[byteLength]);
271 count = paint.textToGlyphs(text, byteLength, storage.get());
283 void SkiaCanvasProxy::onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, argument
286 GlyphIDConverter glyphs(text, byteLength, origPaint);
341 void SkiaCanvasProxy::onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], argument
344 GlyphIDConverter glyphs(text, byteLength, origPaint);
382 void SkiaCanvasProxy::onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], argument
384 const size_t pointCount = byteLength >>
392 onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, const SkMatrix* matrix, const SkPaint& origPaint) argument
397 onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform xform[], const SkRect* cullRect, const SkPaint& paint) argument
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DFatalTestCanvas.h34 void onDrawText(const void* text, size_t byteLength, SkScalar x, SkScalar y, argument
38 void onDrawPosText(const void* text, size_t byteLength, const SkPoint pos[], argument
42 void onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], SkScalar constY, argument
46 void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, argument
50 void onDrawTextRSXform(const void* text, size_t byteLength, const SkRSXform[], argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DByteArrayHelpers.java222 int byteLength = Array.getLength(array) * sizeOfT;
226 return Arrays.copyOf((byte[])array, byteLength);
229 ByteBuffer byteBuffer = ByteBuffer.allocate(byteLength).order(ByteOrder.nativeOrder());
/frameworks/base/services/net/java/android/net/util/
H A DConnectivityPacketSummary.java353 private static String getIpAddressString(ByteBuffer ip, int byteLength) { argument
354 if (ip == null || ip.remaining() < byteLength) return "invalid";
356 byte[] bytes = new byte[byteLength];
357 ip.get(bytes, 0, byteLength);
/frameworks/base/core/java/android/bluetooth/le/
H A DBluetoothLeAdvertiser.java508 + byteLength(data.getServiceData().get(uuid));
512 byteLength(data.getManufacturerSpecificData().valueAt(i));
523 private int byteLength(byte[] array) { method in class:BluetoothLeAdvertiser
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsBackupAgent.java835 int byteLength = in.readInt();
836 byte[] policyData = new byte[byteLength];
837 in.read(policyData, 0, byteLength);

Completed in 198 milliseconds