/external/chromium_org/third_party/WebKit/Source/modules/filesystem/ |
FileWriterBase.cpp | 59 void FileWriterBase::seekInternal(long long position) 61 if (position > m_length) 62 position = m_length; 63 else if (position < 0) 64 position = m_length + position; 65 if (position < 0) 66 position = 0; 67 m_position = position;
|
/external/chromium_org/third_party/WebKit/Source/modules/geolocation/ |
PositionCallback.idl | 26 boolean handleEvent(Geoposition position);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/text/ |
TextBoundaries.cpp | 63 int findNextWordFromIndex(const UChar* chars, int len, int position, bool forward) 68 position = textBreakFollowing(it, position); 69 while (position != TextBreakDone) { 72 if (position < len && isAlphanumeric(chars[position - 1])) 73 return position; 75 position = textBreakFollowing(it, position); 80 position = textBreakPreceding(it, position) [all...] |
/libcore/luni/src/main/java/java/nio/channels/ |
FileLock.java | 76 // The lock starting position. 77 private final long position; field in class:FileLock 87 * enforces the starting position, length and sharing mode of the lock. 91 * @param position 99 protected FileLock(FileChannel channel, long position, long size, boolean shared) { 100 if (position < 0 || size < 0 || position + size < 0) { 101 throw new IllegalArgumentException("position=" + position + " size=" + size); 104 this.position = position 123 public final long position() { method in class:FileLock [all...] |
/external/clang/test/CodeGen/ |
ext-vector-member-alignment.c | 6 float4 position; member in struct:struct1 10 float4 f(struct struct1* x) { return x->position; } 13 p->position.x = c; 14 *a = p->position.y; 15 *b = p->position[0]; 16 p->position[2] = c;
|
/external/chromium-trace/trace-viewer/src/tracing/tracks/ |
counter_track.css | 8 position: relative;
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListHeterogeneous.java | 40 protected View createView(int position, ViewGroup parent, int desiredHeight) { 41 switch (position % 3) { 44 position, parent.getContext(), getValueAtPosition(position), desiredHeight); 47 position, parent.getContext(), getValueAtPosition(position), desiredHeight); 50 position, parent.getContext(), getValueAtPosition(position), desiredHeight); 57 public View convertView(int position, View convertView, ViewGroup parent) { 58 switch (position % 3) [all...] |
/external/guava/guava/src/com/google/common/collect/ |
AbstractIndexedListIterator.java | 29 * position. It does not support {@link #remove}, {@link #set}, or {@link #add}. 37 private int position; field in class:AbstractIndexedListIterator 47 * position is 0. That is, the first call to {@link #next()} will return the 59 * initial position. That is, the first call to {@link #nextIndex()} will 60 * return {@code position}, and the first call to {@link #next()} will return 62 * retrieve the preceding {@code position} elements. 64 * @throws IndexOutOfBoundsException if {@code position} is negative or is 68 protected AbstractIndexedListIterator(int size, int position) { 69 checkPositionIndex(position, size); 71 this.position = position [all...] |
/external/chromium/chrome/browser/resources/ |
keyboard_overlay_data.js | 13 "position": "999" 20 "position": "0" 27 "position": "110" 34 "position": "111" 41 "position": "112" 48 "position": "113" 55 "position": "114" 62 "position": "115" 69 "position": "116" 76 "position": "117 [all...] |
/frameworks/base/core/java/android/widget/ |
ListAdapter.java | 41 * Returns true if the item at the specified position is not a separator. 44 * The result is unspecified if position is invalid. An {@link ArrayIndexOutOfBoundsException} 47 * @param position Index of the item 53 boolean isEnabled(int position);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/filters/ |
PointLightSource.h | 32 static PassRefPtr<PointLightSource> create(const FloatPoint3D& position) 34 return adoptRef(new PointLightSource(position)); 37 const FloatPoint3D& position() const { return m_position; } function in class:WebCore::PointLightSource 48 PointLightSource(const FloatPoint3D& position) 50 , m_position(position)
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
SectionedListAdapter.java | 66 public Object getItem(int position) { 72 // Check if position inside this section 73 if (position == 0) { 75 } else if (position < sectionSize) { 76 return section.getItem(position - 1); 80 position -= sectionSize; 82 throw new IllegalStateException("Unknown position " + position); 86 public long getItemId(int position) { 87 return position; [all...] |
/libcore/luni/src/main/java/java/util/ |
StringTokenizer.java | 48 private int position; field in class:StringTokenizer 100 this.position = 0; 112 for (int i = position, length = string.length(); i < length; i++) { 149 if (position < length) { 155 for (int i = position; i < length; i++) 185 int i = position; 190 if (delimiters.indexOf(string.charAt(position), 0) >= 0) 191 return String.valueOf(string.charAt(position++)); 192 for (position++; position < length; position++ [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
SeparatedFolderListAdapter.java | 39 public Object getItem(int position) { 43 // check if position inside this section 44 if (position == 0 || position < size) 45 return adapter.getItem(position); 48 position -= size; 73 public int getItemViewType(int position) { 77 // check if position inside this section 78 if (position == 0 || position < size) [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/ |
NullInputStream.java | 66 private long position;
field in class:NullInputStream 101 * Return the current position.
103 * @return the current position.
106 return position;
124 long avail = size - position;
142 position = 0;
147 * Mark the current position.
149 * @param readlimit The number of bytes before this marked position
157 mark = position;
184 if (position == size) { [all...] |
NullReader.java | 66 private long position;
field in class:NullReader 101 * Return the current position.
103 * @return the current position.
106 return position;
126 position = 0;
131 * Mark the current position.
133 * @param readlimit The number of characters before this marked position
141 mark = position;
168 if (position == size) {
171 position++; [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
BitWriterBuffer.java | 9 int position = 0; field in class:BitWriterBuffer 13 this.initialPos = buffer.position(); 20 int left = 8 - position % 8; 22 int current = (buffer.get(initialPos + position / 8)); 25 buffer.put(initialPos + position / 8, (byte) (current > 127 ? current - 256 : current)); 26 position += numBits; 32 buffer.position(initialPos + position / 8 + ((position % 8 > 0) ? 1 : 0));
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
draw_cliptest_tmp.h | 54 float *position = out->data[pos]; local 61 float *clipvertex = position; 68 out->pre_clip_pos[i] = position[i]; 74 if (-0.50 * position[0] + position[3] < 0) mask |= (1<<0); 75 if ( 0.50 * position[0] + position[3] < 0) mask |= (1<<1); 76 if (-0.50 * position[1] + position[3] < 0) mask |= (1<<2); 77 if ( 0.50 * position[1] + position[3] < 0) mask |= (1<<3) [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_cliptest_tmp.h | 54 float *position = out->data[pos]; local 61 float *clipvertex = position; 68 out->pre_clip_pos[i] = position[i]; 74 if (-0.50 * position[0] + position[3] < 0) mask |= (1<<0); 75 if ( 0.50 * position[0] + position[3] < 0) mask |= (1<<1); 76 if (-0.50 * position[1] + position[3] < 0) mask |= (1<<2); 77 if ( 0.50 * position[1] + position[3] < 0) mask |= (1<<3) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
AbstractBufferTest.java | 42 assertTrue(0 <= baseBuf.position() && baseBuf.position() <= baseBuf.limit() 48 int oldPosition = baseBuf.position(); 53 assertEquals(baseBuf.position(), 0); 64 baseBuf.position(oldPosition); 69 int oldPosition = baseBuf.position(); 74 assertEquals(baseBuf.position(), 0); 85 baseBuf.position(oldPosition); 90 int oldPosition = baseBuf.position(); 93 assertEquals(baseBuf.hasRemaining(), baseBuf.position() < baseBuf.limit()) [all...] |
/libcore/luni/src/main/java/libcore/io/ |
HeapBufferIterator.java | 33 private int position; field in class:HeapBufferIterator 43 position = offset; 47 position += byteCount; 51 System.arraycopy(buffer, offset + position, dst, dstOffset, byteCount); 52 position += byteCount; 56 byte result = buffer[offset + position]; 57 ++position; 62 int result = Memory.peekInt(buffer, offset + position, order); 63 position += SizeOf.INT; 69 Memory.unsafeBulkGet(dst, dstOffset, byteCount, buffer, offset + position, SizeOf.INT, order.needsSwap) [all...] |
NioBufferIterator.java | 32 private int position; field in class:NioBufferIterator 41 position = offset; 45 position += byteCount; 49 Memory.peekByteArray(address + position, dst, dstOffset, byteCount); 50 position += byteCount; 54 byte result = Memory.peekByte(address + position); 55 ++position; 60 int result = Memory.peekInt(address + position, swap); 61 position += SizeOf.INT; 66 Memory.peekIntArray(address + position, dst, dstOffset, intCount, swap) [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
SlideshowEditor.java | 60 int position = mModel.size(); local 61 return addNewSlide(position); 65 * Add a new slide at the specified position in the message. 68 * @throws IndexOutOfBoundsException - if position is out of range 69 * (position < 0 || position > size()). 71 public boolean addNewSlide(int position) { 81 mModel.add(position, slide); 89 * Add an existing slide at the specified position in the message. 92 * @throws IndexOutOfBoundsException - if position is out of rang [all...] |
/external/icu4c/layout/ |
GlyphIterator.cpp | 20 : direction(1), position(-1), nextLimit(-1), prevLimit(-1), 37 position = glyphCount; 47 position = that.position; 65 position = that.position; 83 position = that.position; 104 position = prevLimit; 112 return glyphStorage.insertGlyphs(position, count, success) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/loader/cache/ |
FetchInitiatorInfo.h | 37 , position(TextPosition::belowRangePosition()) 43 TextPosition position; member in struct:WebCore::FetchInitiatorInfo
|