Searched refs:data (Results 376 - 400 of 1158) sorted by path

<<11121314151617181920>>

/frameworks/base/core/java/android/content/res/
H A DStringBlock.java30 * Conveniences for retrieving data out of a compiled string resource.
45 public StringBlock(byte[] data, boolean useSparse) { argument
46 mNative = nativeCreate(data, 0, data.length);
53 public StringBlock(byte[] data, int offset, int size, boolean useSparse) { argument
54 mNative = nativeCreate(data, offset, size);
426 private static final native int nativeCreate(byte[] data, argument
H A DTypedArray.java55 * Return the number of indices in the array that actually have data.
62 * Return an index in the array that has data.
86 * @return CharSequence holding string data. May be styled. Returns
91 final int[] data = mData;
92 final int type = data[index+AssetManager.STYLE_TYPE];
114 * @return String holding string data. Any styling information is
119 final int[] data = mData;
120 final int type = data[index+AssetManager.STYLE_TYPE];
148 * @return String holding string data. Any styling information is
154 final int[] data
730 TypedArray(Resources resources, int[] data, int[] indices, int len) argument
[all...]
H A DXmlBlock.java37 public XmlBlock(byte[] data) { argument
39 mNative = nativeCreate(data, 0, data.length);
43 public XmlBlock(byte[] data, int offset, int size) { argument
45 mNative = nativeCreate(data, offset, size);
491 private static final native int nativeCreate(byte[] data, argument
/frameworks/base/core/java/android/database/
H A DAbstractCursor.java170 char[] data = buffer.data;
171 if (data == null || data.length < result.length()) {
172 buffer.data = result.toCharArray();
174 result.getChars(0, result.length(), data, 0);
418 * to retrieve data.
H A DBulkCursorNative.java57 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) argument
62 data.enforceInterface(IBulkCursor.descriptor);
63 int startPos = data.readInt();
76 data.enforceInterface(IBulkCursor.descriptor);
83 data.enforceInterface(IBulkCursor.descriptor);
90 data.enforceInterface(IBulkCursor.descriptor);
92 IContentObserver.Stub.asInterface(data.readStrongBinder());
101 data.enforceInterface(IBulkCursor.descriptor);
102 int position = data.readInt();
109 data
[all...]
H A DCharArrayBuffer.java24 data = new char[size];
28 data = buf;
31 public char[] data; // In and out parameter field in class:CharArrayBuffer
H A DMatrixCursor.java29 private Object[] data; field in class:MatrixCursor
48 this.data = new Object[columnCount * initialCapacity];
75 return data[mPos * columnCount + column];
111 System.arraycopy(columnValues, 0, data, start, columnCount);
134 Object[] localData = data;
163 Object[] localData = data;
171 if (size > data.length) {
172 Object[] oldData = this.data;
173 int newSize = data.length * 2;
177 this.data
[all...]
/frameworks/base/core/java/android/ddm/
H A DDdmHandleHello.java61 byte[] data = new byte[] { 0, 1, 2, 3, 4, -4, -3, -2, -1, 127 };
63 new Chunk(ChunkHandler.type("TEST"), data, 1, data.length-2);
78 * Handle a chunk of data.
177 byte[] data = new byte[] { (byte) reason };
178 Chunk waitChunk = new Chunk(CHUNK_WAIT, data, 0, 1);
H A DDdmHandleNativeHeap.java58 * Handle a chunk of data.
78 byte[] data = getLeakInfo();
80 if (data != null) {
82 Log.i("ddm-nativeheap", "Sending " + data.length + " bytes");
83 return new Chunk(ChunkHandler.type("NHGT"), data, 0, data.length);
/frameworks/base/core/java/android/hardware/
H A DCamera.java82 * capture a photo. Wait for the callbacks to provide the actual image data.
478 * <p>If you are using the preview data to create video or still images,
510 * for the arrangement of the pixel data in the preview callback
513 * @param data the contents of the preview frame in the format defined
521 void onPreviewFrame(byte[] data, Camera camera); argument
534 * will be called when preview data becomes available.
573 * <p>If you are using the preview data to create video or still images,
596 * <p>If you are using the preview data to create video or still images,
630 * <p>If you are using the preview data to create video or still images,
653 * finish processing the data i
1030 onPictureTaken(byte[] data, Camera camera) argument
[all...]
/frameworks/base/core/java/android/hardware/usb/
H A DUsbRequest.java25 * This can be used for both reading and writing data to or from a
27 * UsbRequests can be used to transfer data on bulk and interrupt endpoints.
55 * Initializes the request so it can read or write data on the given endpoint.
97 * Returns the client data for the request.
103 * @return the client data for the request
110 * Sets the client data for the request.
116 * @param data the client data for the request
118 public void setClientData(Object data) { argument
119 mClientData = data;
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodSessionWrapper.java202 public void appPrivateCommand(String action, Bundle data) { argument
203 mCaller.executeOrSendMessage(mCaller.obtainMessageOO(DO_APP_PRIVATE_COMMAND, action, data));
H A DInputMethodService.java517 public void appPrivateCommand(String action, Bundle data) { argument
521 InputMethodService.this.onAppPrivateCommand(action, data);
1835 public void onAppPrivateCommand(String action, Bundle data) { argument
H A DKeyboard.java357 codes = new int[] { codesValue.data };
/frameworks/base/core/java/android/net/
H A DLocalSocketImpl.java47 * need to read ancillary data.
101 * need to read ancillary data.
373 protected void sendUrgentData(int data) throws IOException argument
429 * of normal data, and will be delivered in a single ancillary message.
445 * File descriptors may only be passed along with regular data, so this
H A DVpnService.java238 protected boolean onTransact(int code, Parcel data, Parcel reply, int flags) { argument
/frameworks/base/core/java/android/net/http/
H A DAndroidHttpClient.java80 // Gzip of data shorter than this probably won't be worthwhile
213 * then this will get a stream over the uncompressed data.
295 * Compress data to send to server.
296 * Creates a Http Entity holding the gzipped data.
297 * The data will not be compressed if it is too short.
298 * @param data The bytes to compress
299 * @return Entity holding the data
301 public static AbstractHttpEntity getCompressedEntity(byte data[], ContentResolver resolver) argument
304 if (data.length < getMinGzipSize(resolver)) {
305 entity = new ByteArrayEntity(data);
[all...]
H A DEventHandler.java23 * then multiple data() then endData(). handleSslErrorRequest(), if
93 * @param data A byte array containing the content
94 * @param len The length of valid content in data
97 * android.net.http. Decoded data is passed through this
100 public void data(byte[] data, int len); argument
103 * Called when the document is completely read. No more data()
H A DLoggingEventHandler.java60 public void data(byte[] data, int len) { argument
62 HttpLog.v("LoggingEventHandler: data() " + len + " bytes");
64 // HttpLog.v(new String(data, 0, len));
H A DRequest.java292 /* accumulate enough data to make it worth pushing it
302 // example, if we are streaming data but the plugin has
322 mEventHandler.data(buf, count);
332 mEventHandler.data(buf, count);
342 mEventHandler.data(buf, count);
488 * not great that the caller must also provide the length of the data
H A DRequestHandle.java106 * when the plugin can take no more data.
370 * @return MD5 hash of concat(secret, ":", data).
372 private String KD(String secret, String data) { argument
373 return H(secret + ":" + data);
/frameworks/base/core/java/android/net/nsd/
H A DDnsSdTxtRecord.java30 * This class handles TXT record data for DNS based service discovery as specified at
37 * The DnsSdTxtRecord object stores the entire TXT data as a single byte array, traversing it
53 public DnsSdTxtRecord(byte[] data) { argument
54 mData = (byte[]) data.clone();
163 /* Gets the raw data in bytes */
/frameworks/base/core/java/android/nfc/
H A DINfcTag.aidl34 TransceiveResult transceive(int nativeHandle, in byte[] data, boolean raw);
H A DNdefMessage.java30 * used to encapsulate typed data. It is specified by the NFC Forum,
34 * typed data, such as MIME-type media, a URI, or a custom
46 * binary data, or {@link #NdefMessage(NdefRecord[])} to
69 * the length of the input data.<p>
72 * Once the input data has been parsed to one or more logical
88 * It is safe to re-use the data byte array after construction:
91 * @param data raw bytes to parse
92 * @throws FormatException if the data cannot be parsed
94 public NdefMessage(byte[] data) throws FormatException { argument
95 if (data
[all...]
H A DNdefRecord.java35 * used to encapsulate typed data. It is specified by the NFC Forum,
39 * typed data, such as MIME-type media, a URI, or a custom
54 * <li><em>id</em>: identifier meta-data, not commonly used</li>
329 * catch this exception if you are passing user-generated data into this
372 * catch this exception if you are passing user-generated data into this
386 * Create a new NDEF Record containing MIME data.<p>
387 * Use this method to encode MIME-typed data into an NDEF Record,
396 * exception if you are passing user-generated data into this method.
404 * @param mimeData MIME data as bytes
405 * @return an NDEF Record containing the MIME-typed data
455 createExternal(String domain, String type, byte[] data) argument
548 NdefRecord(byte[] data) argument
[all...]

Completed in 160 milliseconds

<<11121314151617181920>>