Searched defs:index (Results 1 - 25 of 91) sorted by relevance

1234

/packages/apps/Mms/src/org/w3c/dom/smil/
H A DTimeList.java20 * 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/Browser/src/com/android/browser/
H A DDots.java72 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;
H A DBrowserDownloadAdapter.java58 public BrowserDownloadAdapter(Context context, Cursor c, int index) { argument
59 super(context, c, index);
/packages/apps/Camera/src/com/android/camera/
H A DPreferenceGroup.java40 public void removePreference(int index) { argument
41 list.remove(index);
44 public CameraPreference get(int index) { argument
45 return list.get(index);
/packages/apps/Email/src/org/apache/commons/io/
H A DHexDump.java50 * @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/apps/Email/src/org/apache/james/mime4j/field/address/
H A DDomainList.java53 * specified index.
54 * @throws IndexOutOfBoundsException If index is &lt; 0 or &gt;= size().
56 public String get(int index) { argument
57 if (0 > index || size() <= index)
59 return (String) domains.get(index);
H A DMailboxList.java54 public Mailbox get(int index) { argument
55 if (0 > index || size() <= index)
57 return (Mailbox) mailboxes.get(index);
H A DAddressList.java58 public Address get(int index) { argument
59 if (0 > index || size() <= index)
61 return (Address) addresses.get(index);
/packages/apps/Gallery/tests/src/com/android/camera/gallery/
H A DImageListUberUnitTests.java9 private MockImage getImageAt(ImageListUber uber, int index) { argument
10 return (MockImage) uber.getImageAt(index);
H A DMockImageList.java14 public void checkThumbnail(int index) { argument
/packages/apps/Mms/src/com/android/mms/dom/smil/
H A DTimeListImpl.java43 public Time item(int index) { argument
46 time = mTimes.get(index);
/packages/apps/Camera/src/com/android/camera/ui/
H A DCameraHeadUpDisplay.java77 public void setZoomIndex(int index) { argument
78 mZoomIndicator.setZoomIndex(index);
H A DPreferenceAdapter.java97 int index = position - 1;
99 if (oldIndex != index) {
101 pref.setValueIndex(index);
110 public GLView getView(int index) { argument
111 return mContent.get(index);
114 public boolean isSelectable(int index) { argument
115 return mContent.get(index) instanceof GLOptionItem;
/packages/apps/Email/src/com/android/email/mail/
H A DMultipart.java32 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/Email/src/org/apache/james/mime4j/decoder/
H A DUnboundedFifoByteBuffer.java187 * 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/Gallery3D/src/com/cooliris/media/
H A DDeque.java62 public E get(int index) { argument
64 if (index >= size()) {
67 return array[(mHead + index) & (array.length - 1)];
H A DVirtualFeed.java33 public final E get(int index) { argument
/packages/apps/Mms/src/com/android/mms/dom/
H A DNamedNodeMapImpl.java50 public Node item(int index) { argument
51 if (index < mNodes.size()) {
52 return mNodes.elementAt(index);
H A DNodeListImpl.java72 public Node item(int index) { argument
77 node = mSearchNodes.get(index);
83 node = mStaticNodes.get(index);
/packages/apps/Camera/tests/src/com/android/camera/gallery/
H A DMockImageList.java14 public void checkThumbnail(int index) { argument
/packages/apps/Contacts/src/com/android/contacts/
H A DTabStripView.java56 public void setSelected(int index, boolean selected) { argument
57 mSelectedTabIndex = index;
58 getChildAt(index).setSelected(selected);
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DSingleImageList.java65 public boolean removeImageAt(int index) { argument
/packages/apps/IM/libwbxml/src/
H A Dimps_encoder.cpp89 int index = appendToStringTable(name); local
90 encodeMbuint(index);
197 int index = appendToStringTable(name); local
198 encodeMbuint(index);
/packages/apps/IM/src/com/android/im/imps/
H A DSmsAssembler.java63 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...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DAllAppsList.java83 public ApplicationInfo get(int index) { argument
84 return data.get(index);

Completed in 158 milliseconds

1234