/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | ListOfEditTexts.java | 112 public View getView(int position, View convertView, ViewGroup parent) { argument 113 String body = getItem(position);
|
H A D | ListWithMailMessages.java | 126 public View getView(int position, View convertView, ViewGroup parent) { argument 127 MailMessage message = getItem(position);
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | KeepalivePacketData.java | 122 int ipChecksumOffset = buf.position(); 129 int udpChecksumOffset = buf.position();
|
/frameworks/ex/framesequence/src/android/support/rastermill/ |
H A D | FrameSequence.java | 79 return decodeByteArray(byteArray, buffer.position(), buffer.remaining()); 84 return nativeDecodeByteBuffer(buffer, buffer.position(), buffer.remaining());
|
/frameworks/multidex/library/test/src/android/support/multidex/ |
H A D | ZipEntryReader.java | 57 in.position(8); 78 in.position(42);
|
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/ |
H A D | TriangleRenderer.java | 150 mFVertexBuffer.position(0); 151 mIndexBuffer.position(0);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ObjectAdapter.java | 45 * @param positionStart The position of the first item that changed. 55 * @param positionStart The position of the first inserted item. 65 * @param positionStart The position of the first removed item. 240 * Returns the item for the given position. 242 public abstract Object get(int position); argument 245 * Returns the id for the given position. 247 public long getId(int position) { argument
|
/frameworks/support/v4/api21/android/support/v4/media/session/ |
H A D | PlaybackStateCompatApi21.java | 63 public static Object newInstance(int state, long position, long bufferedPosition, argument 68 stateObj.setState(state, position, speed, updateTime);
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | xaplay.c | 52 XAmillisecond seekPos = XA_TIME_UNKNOWN; // seek to this position initially 136 XAmillisecond position; local 137 result = (*caller)->GetPosition(caller, &position); 141 printf("XA_PLAYEVENT_HEADATEND current position=%u ms\n", position); 145 printf("XA_PLAYEVENT_HEADATNEWPOS current position=%u ms\n", position); 149 printf("XA_PLAYEVENT_HEADATMARKER current position=%u ms\n", position); 211 // display position periodicall 213 XAmillisecond position; local 560 XAmillisecond position; local [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | StaggeredGridLayoutManagerTest.java | 134 void onBoundItem(TestViewHolder vh, int position) { 136 if (position == 1) { 152 assertEquals("first fully visible child should be at position", 155 assertEquals("last fully visible child should be at position", 159 assertEquals("first visible child should be at position", 162 assertEquals("last visible child should be at position", 183 void onBoundItem(TestViewHolder vh, int position) { 185 final int size = 1 + position * 5; 192 if (position == 3) { 244 assertNotNull(logPrefix + " child position 1488 scrollToPositionWithOffset(final int position, final int offset) argument 2196 onBindViewHolder(TestViewHolder holder, int position) argument 2238 onBoundItem(TestViewHolder vh, int position) argument [all...] |
H A D | RecyclerViewAnimationsTest.java | 168 public void onBindViewHolder(TestViewHolder holder, int position) { 169 super.onBindViewHolder(holder, position); 406 public int getItemViewType(int position) { 407 return position == changedIndex ? changedIndexNewType.get() : defaultType; 422 int position) { 423 super.onBindViewHolder(holder, position); 425 Log.d(TAG, logPrefix + " onBind to " + position + "" + holder.toString()); 510 public int getItemViewType(int position) { 526 int position, List<Object> payloads) { 527 super.onBindViewHolder(holder, position); 1067 findByPos(RecyclerView recyclerView, RecyclerView.Recycler recycler, RecyclerView.State state, int position) argument 1723 adapterScrap(int preLayoutPos, int position) argument 1732 adapter(int position) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | NetworkDetail.java | 176 " @ " + data.position()); 218 vinfo.limit(vinfo.position() + 2); 301 element.position(element.position() + elementLength); 305 element.position(element.position() + index); 310 data.position(data.position() + elementLength); 409 payload.limit(payload.position() + plLength); 410 data.position(dat [all...] |
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestDecodeAac.cpp | 210 SLmillisecond position; local 211 SLresult res = (*caller)->GetPosition(caller, &position); 214 printf("SL_PLAYEVENT_HEADATMARKER position=%u ms\n", position); 217 printf("SL_PLAYEVENT_HEADATNEWPOS position=%u ms\n", position); 220 printf("SL_PLAYEVENT_HEADATEND position=%u ms, all decoded data has been received\n", 221 position); 386 /* Periodically ask for position and duration */ 388 SLmillisecond position; local 569 SLmillisecond position; local [all...] |
/frameworks/base/core/java/android/database/ |
H A D | Cursor.java | 63 * Returns the current position of the cursor in the row set. 67 * the last entry, at a position of count(). 69 * @return the current cursor position. 75 * current position. Positive offsets move forwards, negative offsets move 76 * backwards. If the final position is outside of the bounds of the result 77 * set then the resultant position will be pinned to -1 or count() depending 83 * the position will be pinned at -1, and false will be returned. 85 * @param offset the offset to be applied from the current position. 91 * Move the cursor to an absolute position. The valid 92 * range of values is -1 <= position 100 moveToPosition(int position) argument [all...] |
/frameworks/base/core/java/android/net/netlink/ |
H A D | NetlinkConstants.java | 65 buffer.array(), buffer.position(), buffer.remaining());
|
/frameworks/base/core/java/android/widget/ |
H A D | CursorTreeAdapter.java | 48 * The map of a group position to the group's children cursor helper (the 216 * already moved to the correct position. 230 * already moved to the correct position. 260 * already moved to the correct position. 274 * already moved to the correct position. 433 long getId(int position) { argument 435 if (mCursor.moveToPosition(position)) { 445 Cursor moveTo(int position) { argument 446 if (mDataValid && (mCursor != null) && mCursor.moveToPosition(position)) {
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | LocalePicker.java | 168 public View getView(int position, View convertView, ViewGroup parent) { 179 LocaleInfo item = getItem(position); 233 public void onListItemClick(ListView l, View v, int position, long id) { argument 235 final Locale locale = ((LocaleInfo)getListAdapter().getItem(position)).locale;
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
H A D | ListManagedCursor.java | 55 public void onItemClick(AdapterView parent, View view, int position, long id) { argument
|
/frameworks/base/libs/common_time/ |
H A D | clock_recovery.cpp | 108 void ClockRecoveryLoop::reset(bool position, bool frequency) { argument 110 reset_l(position, frequency); 307 void ClockRecoveryLoop::reset_l(bool position, bool frequency) { 310 if (position) {
|
/frameworks/base/libs/hwui/ |
H A D | Glop.h | 101 const void* position; member in struct:android::uirenderer::Glop::Mesh::Vertices
|
/frameworks/base/media/java/android/media/ |
H A D | ImageUtils.java | 78 * starting from position zero, and the destination image will be rewound to 129 int srcPos = srcBuffer.position(); 138 int srcOffset = srcBuffer.position(); 139 int dstOffset = dstBuffer.position(); 158 srcBuffer.position(srcPos);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | ETC1Util.java | 162 headerBuffer.put(ioBuffer, 0, ETC1.ETC_PKM_HEADER_SIZE).position(0); 179 dataBuffer.position(0); 208 int originalPosition = dataBuffer.position(); 225 dataBuffer.position(originalPosition);
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
H A D | BiDiTestActivity.java | 45 public void onItemClick(AdapterView<?> parent, View v, int position, long id) { 46 onListItemClick((ListView)parent, v, position, id); 50 private void onListItemClick(ListView lv, View v, int position, long id) { argument 52 Map<String, Object> map = (Map<String, Object>)lv.getItemAtPosition(position);
|
/frameworks/ex/common/tests/src/com/android/common/widget/ |
H A D | CompositeCursorAdapterTest.java | 58 protected View newView(Context context, int sectionIndex, Cursor cursor, int position, argument 64 protected void bindView(View v, int partition, Cursor cursor, int position) { argument 65 if (!cursor.moveToPosition(position)) { 66 fail("Invalid position:" + partition + " " + cursor.getColumnNames()[0] + " " 67 + position);
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | ActionBar.java | 337 * @param position Position of the item to select. 344 public abstract void setSelectedNavigationItem(int position); argument 347 * Get the position of the selected navigation item in list or tabbed navigation modes. 644 * <code>position</code>. If this is the first tab to be added it will become 648 * @param position The new position of the tab 655 public abstract void addTab(Tab tab, int position); argument 659 * <code>position</code>. 662 * @param position The new position o 670 addTab(Tab tab, int position, boolean setSelected) argument 696 removeTabAt(int position) argument [all...] |