/external/jetty/src/java/org/eclipse/jetty/io/nio/ |
IndirectNIOBuffer.java | 34 _buf.position(0); 45 _get=buffer.position(); 47 buffer.position(0);
|
/external/libcxx/test/std/re/re.iter/re.regiter/re.regiter.cnstr/ |
cnstr.pass.cpp | 29 assert(i->position() == 0); 34 assert(i->position() == 10); 39 assert(i->position() == 20);
|
/external/libcxx/test/std/re/re.iter/re.regiter/re.regiter.deref/ |
deref.pass.cpp | 27 assert((*i).position() == 0); 32 assert((*i).position() == 10); 37 assert((*i).position() == 20);
|
/external/mockito/src/org/mockito/internal/invocation/ |
InvocationMatcher.java | 121 for (int position = 0; position < matchers.size(); position++) { 122 Matcher m = matchers.get(position); 123 if (m instanceof CapturesArguments && invocation.getArguments().length > position) { 124 if(isVariableArgument(invocation, position) && isVarargMatcher(m)) { 125 ((CapturesArguments) m).captureFrom(invocation.getRawArguments()[position]); 127 ((CapturesArguments) m).captureFrom(invocation.getArguments()[position]); 141 private boolean isVariableArgument(Invocation invocation, int position) { 142 return invocation.getRawArguments().length - 1 == position [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowFragmentPagerAdapter.java | 24 public void setPrimaryItem(ViewGroup container, int position, Object object) { 29 public Object instantiateItem(ViewGroup container, int position) { 30 return realAdapter.getItem(position);
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
MediaPlayerTest.java | 29 for (int position : positions) { 30 shadowMediaPlayer.setCurrentPosition(position); 31 assertThat(mediaPlayer.getCurrentPosition(), equalTo(position));
|
/frameworks/base/core/java/android/database/ |
CrossProcessCursorWrapper.java | 46 public void fillWindow(int position, CursorWindow window) { 49 crossProcessCursor.fillWindow(position, window); 53 DatabaseUtils.cursorFillWindow(mCursor, position, window);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListButtonsDiagonalAcrossItems.java | 50 protected View createView(int position, ViewGroup parent, 52 final Slot slot = position == 0 ? Slot.Left : 53 (position == 1 ? Slot.Middle : Slot.Right);
|
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/ |
TestDocumentsAdapter.java | 54 String getModelId(int position) { 55 return mModelIds.get(position); 69 public void onBindViewHolder(DocumentHolder holder, int position) {
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
SettingsDrawerAdapter.java | 67 public Tile getTile(int position) { 68 return mItems.get(position) != null ? mItems.get(position).tile : null; 77 public Object getItem(int position) { 78 return mItems.get(position); 82 public long getItemId(int position) { 83 return position; 87 public boolean isEnabled(int position) { 88 return mItems.get(position) != null && mItems.get(position).icon != null [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/libcore/io/ |
BridgeBufferIterator.java | 39 mByteBuffer.position(offset); 44 int newPosition = mByteBuffer.position() + byteCount; 46 mByteBuffer.position(newPosition);
|
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/view/ |
HeaderRecyclerView.java | 114 public void onBindViewHolder(ViewHolder holder, int position) { 116 position--; 118 if (position >= 0) { 119 mAdapter.onBindViewHolder(holder, position); 124 public int getItemViewType(int position) { 126 position--; 128 if (position < 0) { 131 return mAdapter.getItemViewType(position); 144 public long getItemId(int position) { 146 position-- [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.iter/re.regiter/re.regiter.cnstr/ |
cnstr.pass.cpp | 29 assert(i->position() == 0); 34 assert(i->position() == 10); 39 assert(i->position() == 20);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.iter/re.regiter/re.regiter.deref/ |
deref.pass.cpp | 27 assert((*i).position() == 0); 32 assert((*i).position() == 10); 37 assert((*i).position() == 20);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
LegacyPhoneNumberPickerFragment.java | 39 protected Uri getPhoneUri(int position) { 41 return adapter.getPhoneUri(position); 45 protected String getLookupKey(int position) {
|
/libcore/xml/src/main/java/org/kxml2/io/ |
KXmlParser.java | 143 private int position = 0; field in class:KXmlParser 148 * compute the line and column of a position in the buffer, compute the line 467 int start = position; 477 if (position + delimiter.length > limit) { 478 if (start < position && returnText) { 482 result.append(buffer, start, position - start); 489 start = position; 492 // TODO: replace with Arrays.equals(buffer, position, delimiter, 0, delimiter.length) 495 if (buffer[position + i] != delimiter[i]) { 496 position++ 2148 private final int position; field in class:KXmlParser.ContentSource [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
GalleryCtsActivity.java | 53 public Object getItem(int position) { 54 return position; 57 public long getItemId(int position) { 58 return position; 61 public View getView(int position, View convertView, ViewGroup parent) { 64 i.setImageResource(mImageIds[position]);
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
PositionList.java | 23 * List of source position entries. This class includes a utility 31 * constant for {@link #make} to indicate that no actual position 43 * constant for {@link #make} to indicate that only "important" position 50 * Extracts and returns the source position information out of an 146 * Entry in a position list. 152 /** {@code non-null;} corresponding source position information */ 153 private final SourcePosition position; field in class:PositionList.Entry 159 * @param position {@code non-null;} corresponding source position information 161 public Entry (int address, SourcePosition position) { [all...] |
/dalvik/dx/src/com/android/dx/dex/code/ |
PositionList.java | 23 * List of source position entries. This class includes a utility 31 * constant for {@link #make} to indicate that no actual position 43 * constant for {@link #make} to indicate that only "important" position 50 * Extracts and returns the source position information out of an 146 * Entry in a position list. 152 /** {@code non-null;} corresponding source position information */ 153 private final SourcePosition position; field in class:PositionList.Entry 159 * @param position {@code non-null;} corresponding source position information 161 public Entry (int address, SourcePosition position) { [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
Grid1.java | 64 public View getView(int position, View convertView, ViewGroup parent) { 75 ResolveInfo info = mApps.get(position); 86 public final Object getItem(int position) { 87 return mApps.get(position); 90 public final long getItemId(int position) { 91 return position;
|
LayoutAnimation1.java | 55 public View getView(int position, View convertView, ViewGroup parent) { 58 ResolveInfo info = mApps.get(position % mApps.size()); 72 public final Object getItem(int position) { 73 return mApps.get(position % mApps.size()); 76 public final long getItemId(int position) { 77 return position;
|
LayoutAnimation4.java | 56 public View getView(int position, View convertView, ViewGroup parent) { 59 ResolveInfo info = mApps.get(position % mApps.size()); 73 public final Object getItem(int position) { 74 return mApps.get(position % mApps.size()); 77 public final long getItemId(int position) { 78 return position;
|
LayoutAnimation5.java | 55 public View getView(int position, View convertView, ViewGroup parent) { 58 ResolveInfo info = mApps.get(position % mApps.size()); 72 public final Object getItem(int position) { 73 return mApps.get(position % mApps.size()); 76 public final long getItemId(int position) { 77 return position;
|
LayoutAnimation6.java | 55 public View getView(int position, View convertView, ViewGroup parent) { 58 ResolveInfo info = mApps.get(position % mApps.size()); 72 public final Object getItem(int position) { 73 return mApps.get(position % mApps.size()); 76 public final long getItemId(int position) { 77 return position;
|
/development/samples/StackWidget/src/com/example/android/stackwidget/ |
StackWidgetService.java | 76 public RemoteViews getViewAt(int position) { 77 // position will always range from 0 to getCount() - 1. 80 // text based on the position. 82 rv.setTextViewText(R.id.widget_item, mWidgetItems.get(position).text); 87 extras.putInt(StackWidgetProvider.EXTRA_ITEM, position); 97 System.out.println("Loading view " + position); 117 public long getItemId(int position) { 118 return position;
|