Searched refs:off (Results 26 - 50 of 64) sorted by relevance

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DSettingsPanelView.java133 final int off = (int) (getHeight() - mHandleBarHeight - getPaddingBottom());
134 canvas.translate(0, off);
137 canvas.translate(0, -off);
/frameworks/base/services/java/com/android/server/pm/
H A DInstaller.java88 int off = 0, count;
91 while (off != len) {
93 count = mIn.read(buffer, off, len - off);
98 off += count;
107 if (off == len)
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DSerializedFrame.java97 public final void write(byte b[], int off, int len) { argument
99 System.arraycopy(b, off, mBuffer, mOffset, len);
144 public final int read(byte[] b, int off, int len) { argument
151 System.arraycopy(mBuffer, mPos, b, off, len);
/frameworks/base/core/jni/
H A Dandroid_util_XmlBlock.cpp36 jint off, jint len)
44 if (off < 0 || off >= bLen || len < 0 || len > bLen || (off+len) > bLen) {
50 ResXMLTree* osb = new ResXMLTree(b+off, len, true);
34 android_content_XmlBlock_nativeCreate(JNIEnv* env, jobject clazz, jbyteArray bArray, jint off, jint len) argument
H A Dandroid_net_LocalSocketImpl.cpp689 jbyteArray buffer, jint off, jint len, jobject fileDescriptor)
700 if (off < 0 || len < 0 || (off + len) > env->GetArrayLength(buffer)) {
724 fd, byteBuffer + off, len);
756 jbyteArray buffer, jint off, jint len, jobject fileDescriptor)
767 if (off < 0 || len < 0 || (off + len) > env->GetArrayLength(buffer)) {
786 byteBuffer + off, len);
688 socket_readba(JNIEnv *env, jobject object, jbyteArray buffer, jint off, jint len, jobject fileDescriptor) argument
755 socket_writeba(JNIEnv *env, jobject object, jbyteArray buffer, jint off, jint len, jobject fileDescriptor) argument
H A Dandroid_util_AssetManager.cpp360 jint off, jint len)
374 if (off < 0 || off >= bLen || len < 0 || len > bLen || (off+len) > bLen) {
380 ssize_t res = a->read(b+off, len);
358 android_content_AssetManager_readAsset(JNIEnv* env, jobject clazz, jint asset, jbyteArray bArray, jint off, jint len) argument
/frameworks/base/core/java/android/text/method/
H A DQwertyKeyListener.java59 int off = cap.ordinal() * 2 + (autoText ? 1 : 0);
61 if (sInstance[off] == null) {
62 sInstance[off] = new QwertyKeyListener(cap, autoText);
65 return sInstance[off];
H A DLinkMovementMethod.java206 int off = layout.getOffsetForHorizontal(line, x);
208 ClickableSpan[] link = buffer.getSpans(off, off, ClickableSpan.class);
H A DPasswordTransformationMethod.java189 public void getChars(int start, int end, char[] dest, int off) { argument
190 TextUtils.getChars(mSource, start, end, dest, off);
227 dest[i - start + off] = DOT;
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DRenderScript.java237 native void rsnAllocationData1D(int con, int id, int off, int mip, int count, int[] d, int sizeBytes); argument
238 synchronized void nAllocationData1D(int id, int off, int mip, int count, int[] d, int sizeBytes) { argument
240 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes);
242 native void rsnAllocationData1D(int con, int id, int off, int mip, int count, short[] d, int sizeBytes); argument
243 synchronized void nAllocationData1D(int id, int off, int mip, int count, short[] d, int sizeBytes) { argument
245 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes);
247 native void rsnAllocationData1D(int con, int id, int off, int mip, int count, byte[] d, int sizeBytes); argument
248 synchronized void nAllocationData1D(int id, int off, int mip, int count, byte[] d, int sizeBytes) { argument
250 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes);
252 native void rsnAllocationData1D(int con, int id, int off, in argument
253 nAllocationData1D(int id, int off, int mip, int count, float[] d, int sizeBytes) argument
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DRenderScript.java331 native void rsnAllocationData1D(int con, int id, int off, int mip, int count, int[] d, int sizeBytes); argument
332 synchronized void nAllocationData1D(int id, int off, int mip, int count, int[] d, int sizeBytes) { argument
334 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes);
336 native void rsnAllocationData1D(int con, int id, int off, int mip, int count, short[] d, int sizeBytes); argument
337 synchronized void nAllocationData1D(int id, int off, int mip, int count, short[] d, int sizeBytes) { argument
339 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes);
341 native void rsnAllocationData1D(int con, int id, int off, int mip, int count, byte[] d, int sizeBytes); argument
342 synchronized void nAllocationData1D(int id, int off, int mip, int count, byte[] d, int sizeBytes) { argument
344 rsnAllocationData1D(mContext, id, off, mip, count, d, sizeBytes);
346 native void rsnAllocationData1D(int con, int id, int off, in argument
347 nAllocationData1D(int id, int off, int mip, int count, float[] d, int sizeBytes) argument
[all...]
/frameworks/base/core/java/android/text/
H A DStaticLayout.java595 int off = j * mColumns;
596 int want = off + mColumns + TOP;
666 lines[off + START] = start;
667 lines[off + TOP] = v;
668 lines[off + DESCENT] = below + extra;
671 lines[off + mColumns + START] = end;
672 lines[off + mColumns + TOP] = v;
675 lines[off + TAB] |= TAB_MASK;
677 lines[off + DIR] |= dir << DIR_SHIFT;
H A DSpannableStringInternal.java69 public final void getChars(int start, int end, char[] dest, int off) { argument
70 mText.getChars(start, end, dest, off);
/frameworks/compile/libbcc/runtime/make/platform/
H A Dclang_darwin.mk25 # Forcibly strip off any -arch, as that totally breaks our universal support.
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java575 public final int read(byte[] b, int off, int len) throws IOException { argument
576 return readAsset(mAsset, b, off, len);
679 private native final int readAsset(int asset, byte[] b, int off, int len); argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmServiceStateTracker.java297 // Signal strength polling stops when radio is off
466 // If we want it on and it's off, turn it on
471 // If it's on and available and we want it off gracefully
505 // 4) No service due to power off, aka airplane mode
534 // Power off state, such as airplane mode
535 if (DBG) log("updateSpnDisplay: radio is off w/ showPlmn="
591 // Radio has crashed or turned off
597 // Radio has crashed or turned off
1000 if (DBG) log("pollStateDone: using getTimeZone(off, dst, time, iso)");
1123 // TODO Don't poll signal strength if screen is off
1327 displayNameFor(int off) argument
[all...]
/frameworks/native/libs/binder/
H A DParcel.cpp384 size_t off = objects[i]; local
385 if ((off >= offset) && (off < offset + len)) {
425 size_t off = objects[i] - offset + startPos; local
426 mObjects[idx++] = off;
430 = reinterpret_cast<flat_binder_object*>(mData + off);
1470 // will need to rescan because we may have lopped off the only FDs
/frameworks/base/cmds/servicemanager/
H A Dbinder.c591 unsigned off = bio->data - bio->data0; local
595 if (bio->offs[n] == off)
/frameworks/base/core/tests/coretests/src/android/text/
H A DTextUtilsTest.java408 public char charAt(int off) { argument
409 return mString.charAt(off);
/frameworks/base/media/libdrm/mobile1/src/objmng/
H A Ddrm_api.c394 XXConstraint->Indicator &= ~DRM_INTERVAL_CONSTRAINT; /* Write off interval right */
1506 int32_t boundaryLen, len, off, k; local
1519 off = readBytes - ((uint8_t *)pTmp - mediaBuf);
1520 len = boundaryLen - off;
1521 memcpy(s->readBuf, pTmp, off);
1522 for (k = 0; k < boundaryLen - off; k++) {
1524 *(s->readBuf + k + off) = s->readBuf[s->readBufOff];
1528 if (-1 == s->readInputDataFunc(s->inputHandle, s->readBuf + k + off, 1))
1532 s->readBufOff = off;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCommandInterface.java168 public void sendBurstDtmf(String dtmfString, int on, int off, argument
/frameworks/base/services/java/com/android/server/
H A DBluetoothManagerService.java204 * Save the Bluetooth on/off state
474 // It is alright without a lock. Here, bluetooth is off, no other thread is
498 // It alright without a lock. Here, bluetooth is off, no other thread is
930 if (DBG) Log.d(TAG,"Sending off request.");
984 //If Bluetooth is off, send service down event to proxy objects, and unbind
1009 * if off is true, wait for state become OFF
1010 * if both on and off are false, wait for state not ON
1012 private boolean waitForOnOff(boolean on, boolean off) { argument
1020 } else if (off) {
1030 if (on || off) {
[all...]
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp573 const uint32_t off = mEntries[idx]/(isUTF8?sizeof(char):sizeof(char16_t)); local
574 if (off < (mStringPoolSize-1)) {
577 const char16_t* str = strings+off;
588 const uint8_t* u8str = strings+off;
627 (int)idx, (int)(off*sizeof(uint16_t)),
638 const uint32_t off = mEntries[idx]/(isUTF8?sizeof(char):sizeof(char16_t)); local
639 if (off < (mStringPoolSize-1)) {
642 const uint8_t* str = strings+off;
654 (int)idx, (int)(off*sizeof(uint16_t)),
679 const uint32_t off local
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java1653 final int off = mExtractedText.startOffset;
1655 newSelStart -= off;
1656 newSelEnd -= off;
2172 * turn off the extract area since there is no text to be shown.
2193 * <p>The standard implementation turns on or off its accessory area
2197 * {@link InputType#TYPE_TEXT_VARIATION_FILTER} input type will turn off the
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhone.java815 * @param off the DTMF OFF length in milliseconds, or 0 for default
819 void sendBurstDtmf(String dtmfString, int on, int off, Message onComplete); argument
822 * Sets the radio power on/off state (off is sometimes
831 * @param power true means "on", false means "off".

Completed in 2661 milliseconds

123