/frameworks/base/core/java/android/database/ |
H A D | CrossProcessCursor.java | 26 * copies cursor data into the window start at pos 28 void fillWindow(int pos, CursorWindow winow); argument
|
/frameworks/base/tools/aidl/ |
H A D | options.cpp | 128 string::size_type pos = options->outputFileName.size()-5; local 129 if (options->outputFileName.compare(pos, 5, ".aidl") == 0) { // 5 = strlen(".aidl") 130 options->outputFileName.replace(pos, 5, ".java"); // 5 = strlen(".aidl")
|
/frameworks/base/awt/javax/imageio/stream/ |
H A D | FileImageInputStream.java | 107 public void seek(long pos) throws IOException { argument 108 if (pos < getFlushedPosition()) { 112 raf.seek(pos);
|
H A D | FileImageOutputStream.java | 116 public void seek(long pos) throws IOException { argument 118 super.seek(pos); 119 file.seek(pos);
|
H A D | MemoryCacheImageInputStream.java | 115 public void flushBefore(long pos) throws IOException { argument 116 super.flushBefore(pos);
|
H A D | MemoryCacheImageOutputStream.java | 123 public void flushBefore(long pos) throws IOException { argument 125 super.flushBefore(pos);
|
H A D | FileCacheImageOutputStream.java | 149 public void flushBefore(long pos) throws IOException { argument 151 super.flushBefore(pos); 153 long bytesToRead = pos - readFromPos; 172 if (pos != streamPos) { 178 public void seek(long pos) throws IOException { argument 179 if (pos < flushedPos) { 183 raf.seek(pos);
|
H A D | ImageOutputStream.java | 186 * @param pos 191 void flushBefore(long pos) throws IOException; argument
|
/frameworks/base/tests/framework-tests/src/android/util/ |
H A D | EventLogTest.java | 49 void assertIntInByteArrayEquals(int expected, byte[] buf, int pos) { argument 51 int computed = computedBuf.getInt(pos); 55 void assertLongInByteArrayEquals(long expected, byte[] buf, int pos) { argument 57 long computed = computedBuf.getLong(pos); 61 void assertStringInByteArrayEquals(String expected, byte[] buf, int pos) { argument 63 Assert.assertTrue(expectedBytes.length <= buf.length - pos); 65 Assert.assertEquals(expectedByte, buf[pos++]);
|
/frameworks/base/awt/java/awt/font/ |
H A D | LineBreakMeasurer.java | 81 * @param pos 84 public void deleteChar(AttributedCharacterIterator newText, int pos) { argument 85 tm.deleteChar(newText, pos); 108 * @param pos 111 public void insertChar(AttributedCharacterIterator newText, int pos) { argument 112 tm.insertChar(newText, pos); 228 * @param pos 231 public void setPosition(int pos) { argument 232 if (tm.aci.getBeginIndex() > pos || maxpos < pos) { [all...] |
/frameworks/base/libs/rs/java/Film/res/raw/ |
H A D | filmstrip.c | 70 float pos = focusPos + imgId + 0.4f; local 71 int offset = (int)floorf(pos * 2.f); 72 pos = pos - 0.75f; 87 matrixLoadTranslate(mat1, -pos - loadF(5, triangleOffsetsCount / 2), 0, 0);
|
/frameworks/base/tests/FrameworkTest/src/com/android/frameworktest/util/ |
H A D | ListUtil.java | 44 * @param pos The desired position. 46 public final void setSelectedPosition(final int pos) { argument 49 mListView.setSelection(pos);
|
/frameworks/base/tools/localize/ |
H A D | Values.h | 19 StringResource(const SourcePos& pos, const string& file, const Configuration& config, 37 SourcePos pos; member in struct:StringResource
|
H A D | res_check.cpp | 9 static int check_value(const SourcePos& pos, const XMLNode* value); 10 static int scan_for_unguarded_format(const SourcePos& pos, const XMLNode* value, int depth = 0); 43 err |= check_value(it->pos, value); 63 check_value(const SourcePos& pos, const XMLNode* value) argument 66 err |= scan_for_unguarded_format(pos, value); 81 scan_for_unguarded_format(const SourcePos& pos, const string& string) argument 85 pos.Error("unguarded percent: '%s'\n", string.c_str()); 91 scan_for_unguarded_format(const SourcePos& pos, const XMLNode* value, int depth) argument 98 err |= scan_for_unguarded_format(pos, children[i], depth+1); 103 return scan_for_unguarded_format(pos, valu [all...] |
/frameworks/base/awt/org/apache/harmony/x/imageio/stream/ |
H A D | RandomAccessMemoryCache.java | 49 private void grow(long pos) { argument 50 int blocksNeeded = (int)(pos >> BLOCK_SHIFT) - blocks.size() + 1; 55 length = pos + 1; 58 public void putData(int oneByte, long pos) { argument 59 if (pos >= length) { 60 grow(pos); 63 byte[] block = blocks.get((int)(pos >> BLOCK_SHIFT)); 64 block[(int)(pos & BLOCK_MASK)] = (byte) oneByte; 67 public void putData(byte[] buffer, int offset, int count, long pos) { argument 75 long lastPos = pos 91 getData(long pos) argument 100 getData(byte[] buffer, int offset, int count, long pos) argument 154 freeBefore(long pos) argument 205 getData(OutputStream os, int count, long pos) argument [all...] |
/frameworks/base/core/java/android/backup/ |
H A D | BackupHelperDispatcher.java | 89 int pos = allocateHeader_native(header, newStateFD); 90 if (pos < 0) { 91 throw new IOException("allocateHeader_native failed (error " + pos + ")"); 99 // fill in the header (seeking back to pos). The file pointer will be returned to 101 err = writeHeader_native(header, newStateFD, pos); 116 int pos = rawKey.indexOf(':'); 117 if (pos > 0) { 118 String prefix = rawKey.substring(0, pos); 122 stream.key = rawKey.substring(pos+1); 149 private static native int writeHeader_native(Header h, FileDescriptor fd, int pos); argument [all...] |
/frameworks/base/libs/surfaceflinger/ |
H A D | MessageQueue.cpp | 46 void MessageList::remove(MessageList::LIST::iterator pos) argument 48 mList.erase(pos);
|
/frameworks/base/media/libdrm/mobile2/src/util/xml/ |
H A D | XMLElementImpl.cpp | 63 DOMStringMap::const_iterator pos = mAttributeMap.find(*name); local 65 if (pos != mAttributeMap.end()) 67 return &(pos->second);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | GradientShader.java | 118 * <var>pos</var> can be anything, even < 0 or > > 1, as the gradient 121 protected int getGradientColor(float pos) { argument 122 if (pos < 0.f) { 126 pos = 0.f; 131 pos = pos - (float)Math.ceil(pos); 136 int intPart = (int)Math.ceil(pos); 137 pos = pos [all...] |
/frameworks/base/core/java/android/os/ |
H A D | ParcelFileDescriptor.java | 156 public native long seekTo(long pos); argument
|
/frameworks/base/core/java/android/util/ |
H A D | EventLog.java | 102 * @param pos The position of the item in the tuple 104 public final Object getItem(int pos) { argument 105 return mItems[pos];
|
/frameworks/base/core/java/android/view/ |
H A D | VelocityTracker.java | 135 private void addPoint(int pos, float x, float y, long time) { argument 139 final long[] pastTime = mPastTime[pos]; 154 final float[] pastX = mPastX[pos]; 155 final float[] pastY = mPastY[pos]; 198 for (int pos = 0; pos < MotionEvent.BASE_AVAIL_POINTERS; pos++) { 199 final float[] pastX = mPastX[pos]; 200 final float[] pastY = mPastY[pos]; 201 final long[] pastTime = mPastTime[pos]; 271 getXVelocity(int pos) argument 284 getYVelocity(int pos) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | PathMeasure.cpp | 79 static jboolean getPosTan(JNIEnv* env, jobject clazz, PathMeasurePair* pair, jfloat dist, jfloatArray pos, jfloatArray tan) { argument 81 SkScalar* posPtr = pos ? tmpPos : NULL; 88 if (pos) { 89 convertTwoElemFloatArray(env, pos, tmpPos);
|
/frameworks/base/core/jni/ |
H A D | android_backup_BackupHelperDispatcher.cpp | 150 int pos; local 166 pos = lseek(fd, 0, SEEK_CUR); 170 return pos; 174 writeHeader_native(JNIEnv* env, jobject clazz, jobject headerObj, jobject fdObj, jint pos) argument 193 header.dataSize = prevPos - (pos + header.headerSize); 195 lseek(fd, pos, SEEK_SET);
|
H A D | android_os_ParcelFileDescriptor.cpp | 98 jobject clazz, jlong pos) 106 return lseek(fd, pos, SEEK_SET); 97 android_os_ParcelFileDescriptor_seekTo(JNIEnv* env, jobject clazz, jlong pos) argument
|