/packages/apps/Gallery3D/src/com/cooliris/media/ |
H A D | Pool.java | 29 int index = --mFreeListIndex; 30 if (index >= 0 && index < mFreeList.length) { 31 E object = mFreeList[index]; 32 mFreeList[index] = null; 39 int index = mFreeListIndex; 40 if (index >= 0 && index < mFreeList.length) { 41 mFreeList[index] = object;
|
H A D | ConcurrentPool.java | 32 final int index = mFreeListIndex.decrementAndGet(); 33 E object = mFreeList.get(index); 34 mFreeList.set(index, null); 39 final int index = mFreeListIndex.getAndIncrement(); 40 while (!mFreeList.compareAndSet(index, null, object)) {
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | MeshTracker.java | 85 int index; 87 index = 10; 89 index = 4; 91 mCubics[index*2 + 0] = mOrig[index*2 + 0] + dx; 92 mCubics[index*2 + 2] = mOrig[index*2 + 2] + dx; 95 index = 1; 97 index = 7; 99 mCubics[index* [all...] |
H A D | Dots.java | 72 public void setSelected(int index) { argument 73 if (index < 0 || index >= MAX_DOTS) return; 80 ((ImageView)getChildAt(index)).setImageResource(R.drawable.page_indicator); 81 mSelected = index;
|
/packages/apps/Email/src/org/apache/james/mime4j/decoder/ |
H A D | UnboundedFifoByteBuffer.java | 187 * Increments the internal index.
189 * @param index the index to increment
190 * @return the updated index
192 private int increment(int index) {
argument 193 index++;
194 if (index >= buffer.length) {
195 index = 0;
197 return index;
201 * Decrements the internal index 206 decrement(int index) argument [all...] |
/packages/apps/Mms/src/org/w3c/dom/smil/ |
H A D | TimeList.java | 20 * index, starting from 0. 24 * Returns the <code>index</code> th item in the collection. If 25 * <code>index</code> is greater than or equal to the number of times in 27 * @param index Index into the collection. 28 * @return The time at the <code>index</code> th position in the 30 * index. 32 public Time item(int index); argument
|
/packages/apps/Email/src/com/android/exchange/utility/ |
H A D | Duration.java | 50 int index = 0; 60 index++; 62 index++; 65 if (len < index) { 69 c = str.charAt(index); 72 "Duration.parse(str='" + str + "') expected 'P' at index=" 73 + index, index); 75 index++; 78 for (; index < le [all...] |
/packages/apps/Email/src/com/android/email/mail/ |
H A D | Multipart.java | 32 public void addBodyPart(BodyPart part, int index) throws MessagingException {
argument 33 mParts.add(index, part);
36 public BodyPart getBodyPart(int index) throws MessagingException {
argument 37 return mParts.get(index);
52 public void removeBodyPart(int index) throws MessagingException {
argument 53 mParts.remove(index);
|
/packages/apps/IM/src/com/android/im/imps/ |
H A D | WbxmlParser.java | 154 public String getLocalName(int index) { argument 155 if(index < 0 || index >= getLength()) { 158 return names[index]; 161 public String getQName(int index) { argument 162 if(index < 0 || index >= getLength()) { 165 return names[index]; 168 public String getType(int index) { argument 169 if(index < 183 getURI(int index) argument 190 getValue(int index) argument [all...] |
H A D | SmsAssembler.java | 63 int index = dd.charAt(0) - 'a'; 64 if (index < 0 || index >= totalSegmentsCount) { 76 pts.setSegment(index, data); 118 public void setSegment(int index, byte[] segment) { argument 119 mSegments[index] = segment; 134 int index = 0; 136 System.arraycopy(mSegments[0], 0, res, index, mOrigPreambeLen - 2); 137 index += mOrigPreambeLen - 2; 138 res[index [all...] |
H A D | SmsSplitter.java | 117 int index = 0; 118 while(index < data.length && data[index] != ' ') { 119 index++; 121 mPreambleEnd = index;
|
/packages/apps/Email/src/org/apache/james/mime4j/field/address/ |
H A D | MailboxList.java | 54 public Mailbox get(int index) {
argument 55 if (0 > index || size() <= index)
57 return (Mailbox) mailboxes.get(index);
|
H A D | DomainList.java | 53 * specified index.
54 * @throws IndexOutOfBoundsException If index is < 0 or >= size().
56 public String get(int index) {
argument 57 if (0 > index || size() <= index)
59 return (String) domains.get(index);
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | Duration.java | 58 int index = 0; 68 index++; 71 index++; 74 if (len < index) { 78 c = str.charAt(index); 81 "Duration.parse(str='" + str + "') expected 'P' at index=" 82 + index); 84 index++; 87 for (; index < len; index [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
H A D | Summary.java | 29 int index = state.ordinal(); 31 if (index >= formats.length || formats[index].length() == 0) { 34 return String.format(formats[index], ssid);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | ZoomIndicator.java | 117 public void onZoomChanged(int index, float value, boolean isMoving) { argument 119 mZoomListener.onZoomChanged(index, value, isMoving); 121 if (mZoomIndex != index) onZoomIndexChanged(index); 125 private void onZoomIndexChanged(int index) { argument 126 if (mZoomIndex == index) return; 127 mZoomIndex = index; 135 public void setZoomIndex(int index) { argument 136 if (mZoomIndex == index) return; 138 mZoomController.setZoomIndex(index); [all...] |
H A D | OtherSettingsIndicator.java | 114 public GLView getView(int index) { argument 116 if (index < adapter.size()) { 117 return adapter.getView(index); 119 index -= adapter.size(); 124 public boolean isSelectable(int index) { argument 126 if (index < adapter.size()) { 127 return adapter.isSelectable(index); 129 index -= adapter.size(); 166 public GLView getView(int index) { argument 167 return index 170 isSelectable(int index) argument [all...] |
H A D | BasicIndicator.java | 49 int index = pref.findIndexOfValue( 51 if (mIndex != index) { 52 mIndex = index; 109 int index = mIndex; 110 if (mIcon[index] == null) { 112 mIcon[index] = new ResourceTexture( 113 context, mPreference.getLargeIconIds()[index]); 115 return mIcon[index];
|
/packages/apps/Email/src/org/apache/commons/io/ |
H A D | HexDump.java | 50 * @param index initial index into the byte array
54 * @throws ArrayIndexOutOfBoundsException if the index is
60 OutputStream stream, int index)
64 if ((index < 0) || (index >= data.length)) {
66 "illegal index: " + index + " into array of length "
72 long display_offset = offset + index;
75 for (int j = index; 59 dump(byte[] data, long offset, OutputStream stream, int index) argument [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/voice/ |
H A D | WaveformImage.java | 59 int index = start / 2 - delay; 60 if (index < 0) { 61 index = 0; 63 final int size = endIndex - index; 78 final short s = buf.get(index); 81 index += delta;
|
/packages/apps/Mms/src/com/android/mms/dom/smil/ |
H A D | TimeListImpl.java | 43 public Time item(int index) { argument 46 time = mTimes.get(index);
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | PreferenceGroup.java | 40 public void removePreference(int index) { argument 41 list.remove(index); 44 public CameraPreference get(int index) { argument 45 return list.get(index);
|
/packages/apps/Contacts/src/com/android/contacts/ |
H A D | ContactsSectionIndexer.java | 84 int index = Arrays.binarySearch(mPositions, position); 94 return index >= 0 ? index : -index - 2;
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
H A D | ImageListUber.java | 42 // "a number" and "an index of sublist". 99 public IImage getImageAt(int index) { argument 100 if (index < 0 || index > getCount()) { 102 "index " + index + " out of range max is " + getCount()); 111 // trying to get to index. alternatively we could 112 // have decremented index but, alas, I liked this 123 if (skipCount + offset > index) { 124 int subindex = mSkipCounts[which] + (index 175 modifySkipCountForDeletedImage(int index) argument 188 removeImage(IImage image, int index) argument 201 removeImageAt(int index) argument 277 MergeSlot(IImageList list, int index) argument [all...] |
/packages/apps/Gallery3D/src/com/cooliris/wallpaper/ |
H A D | RandomDataSource.java | 40 int index = (int) random; 41 long cacheId = list.thumbids[index]; 42 final String uri = CacheService.BASE_CONTENT_STRING_IMAGES + list.ids[index]; 47 retVal = Util.rotate(retVal, list.orientation[index]);
|