/frameworks/base/core/java/com/android/internal/app/ |
H A D | ResolverActivity.java | 502 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument 503 position -= mListView.getHeaderViewsCount(); 504 if (position < 0) { 508 ResolveInfo resolveInfo = mAdapter.resolveInfoForPosition(position, true); 527 startSelected(position, false, true); 812 // Not using getItem since it offsets to dodge this position for the list 1035 public ResolveInfo resolveInfoForPosition(int position, boolean filtered) { argument 1036 return (filtered ? getItem(position) : mList.get(position)).ri; 1039 public Intent intentForPosition(int position, boolea argument 1052 getItem(int position) argument 1059 getItemId(int position) argument 1063 getView(int position, View convertView, ViewGroup parent) argument 1107 onItemLongClick(AdapterView<?> parent, View view, int position, long id) argument [all...] |
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/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | RecyclerViewAnimationsTest.java | 252 public int getItemViewType(int position) { 253 return position == changedIndex ? changedIndexNewType.get() : defaultType; 268 int position) { 269 super.onBindViewHolder(holder, position); 271 Log.d(TAG, logPrefix + " onBind to " + position + "" + holder.toString()); 410 public long getItemId(int position) { 411 return mItems.get(position).mId; 446 public int getItemViewType(int position) { 447 itemViewTypeQueries.add(position); 448 return super.getItemViewType(position); 730 findByPos(RecyclerView recyclerView, RecyclerView.Recycler recycler, RecyclerView.State state, int position) argument 1331 adapterScrap(int preLayoutPos, int position) argument 1340 adapter(int position) argument [all...] |
H A D | StaggeredGridLayoutManagerTest.java | 132 void onBoundItem(TestViewHolder vh, int position) { 134 if (position == 1) { 149 assertEquals("first fully visible child should be at position", 152 assertEquals("last fully visible child should be at position", 156 assertEquals("first visible child should be at position", 159 assertEquals("last visible child should be at position", 180 void onBoundItem(TestViewHolder vh, int position) { 182 final int size = 1 + position * 5; 189 if (position == 3) { 255 assertNotNull(logPrefix + " child position 1318 scrollToPositionWithOffset(final int position, final int offset) argument 1858 onBindViewHolder(TestViewHolder holder, int position) argument 1895 onBoundItem(TestViewHolder vh, int position) argument [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); 385 /* Periodically ask for position and duration */ 387 SLmillisecond position; local 568 SLmillisecond position; local [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | DirectoryFragment.java | 437 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { 438 final Cursor cursor = mAdapter.getItem(position); 516 ActionMode mode, int position, long id, boolean checked) { 521 final Cursor cursor = mAdapter.getItem(position); 531 mCurrentView.setItemChecked(position, false); 737 public View getView(int position, View convertView, ViewGroup parent) { argument 738 if (position < mCursorCount) { 739 return getDocumentView(position, convertView, parent); 741 position -= mCursorCount; 742 convertView = mFooters.get(position) 750 getDocumentView(int position, View convertView, ViewGroup parent) argument 962 getItem(int position) argument 972 getItemId(int position) argument 982 getItemViewType(int position) argument [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/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)) {
|
H A D | AutoCompleteTextView.java | 827 * Set the position of the dropdown view selection. 829 * @param position The position to move the selector to. 831 public void setListSelection(int position) { argument 832 mPopup.setSelection(position); 836 * Get the position of the dropdown view selection, if there is one. Returns 840 * @return the position of the current selection, if there is one, or 880 private void performCompletion(View selectedView, int position, long id) { argument 883 if (position < 0) { 886 selectedItem = mAdapter.getItem(position); 1200 onItemClick(AdapterView parent, View v, int position, long id) argument [all...] |
/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 | 107 void ClockRecoveryLoop::reset(bool position, bool frequency) { argument 109 reset_l(position, frequency); 306 void ClockRecoveryLoop::reset_l(bool position, bool frequency) { 309 if (position) {
|
/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/compile/mclinker/unittests/ |
H A D | InputTreeTest.cpp | 67 size_t position = 0; local 68 actions.push_back(new StartGroupAction(position++)); 69 actions.push_back(new InputFileAction(position++, "path1")); 70 actions.push_back(new EndGroupAction(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 | 344 * @param position Position of the item to select. 351 public abstract void setSelectedNavigationItem(int position); argument 354 * Get the position of the selected navigation item in list or tabbed navigation modes. 651 * <code>position</code>. If this is the first tab to be added it will become 655 * @param position The new position of the tab 662 public abstract void addTab(Tab tab, int position); argument 666 * <code>position</code>. 669 * @param position The new position o 677 addTab(Tab tab, int position, boolean setSelected) argument 703 removeTabAt(int position) argument [all...] |
/frameworks/base/core/java/android/text/format/ |
H A D | TimeFormatter.java | 135 char currentChar = formatBuffer.get(formatBuffer.position()); 140 outputBuilder.append(formatBuffer.get(formatBuffer.position())); 142 formatBuffer.position(formatBuffer.position() + 1); 149 // The char at formatBuffer.position() is expected to be '%' at this point. 152 // Increment the position then get the new current char. 153 formatBuffer.position(formatBuffer.position() + 1); 154 char currentChar = formatBuffer.get(formatBuffer.position());
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
H A D | FrameworkPerfActivity.java | 211 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { argument 213 TestService.Op op = TestService.mAvailOps[position]; 215 mFgTestIndex = position; 217 ((TextView)findViewById(R.id.fgtext)).setText(mAvailOpDescriptions[position]); 219 mBgTestIndex = position; 221 ((TextView)findViewById(R.id.bgtext)).setText(mAvailOpDescriptions[position]); 223 mLimitIsIterations = (position != 0);
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | PagerTitleStrip.java | 230 * Set the {@link Gravity} used to position text within the title strip. 332 void updateTextPositions(int position, float positionOffset, boolean force) { argument 333 if (position != mLastKnownCurrentPage) { 334 updateText(position, mPager.getAdapter()); 475 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { argument 478 position++; 480 updateTextPositions(position, positionOffset, false); 484 public void onPageSelected(int position) { argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Bitmap.java | 471 * <p>After this method returns, the current position of the buffer is 472 * updated: the position is incremented by the number of elements written 497 // now update the buffer's position 498 int position = dst.position(); 499 position += pixelSize >> shift; 500 dst.position(position); 504 * <p>Copy the pixels from the buffer, beginning at the current position, 508 * <p>After this method returns, the current position o [all...] |
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | common.cpp | 70 positionID = _env->GetFieldID(bufferClass, "position", "I"); 79 jint position; local 84 position = _env->GetIntField(buffer, positionID); 87 *remaining = (limit - position) << elementSizeShift; 114 jint position = _env->GetIntField(buffer, positionID); local 116 buf += position << elementSizeShift;
|
/frameworks/native/opengl/tools/glgen/stubs/jsr239/ |
H A D | GLCHeader.cpp | 109 positionID = _env->GetFieldID(bufferClass, "position", "I"); 118 jint position; local 123 position = _env->GetIntField(buffer, positionID); 126 *remaining = (limit - position) << elementSizeShift; 173 jint position = _env->GetIntField(buffer, positionID); local 175 buf = ((char*) buf) + (position << elementSizeShift);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SearchView.java | 246 * @param position the absolute position in the list of suggestions. 251 boolean onSuggestionSelect(int position); argument 255 * @param position the absolute position of the clicked item in the list of suggestions. 261 boolean onSuggestionClick(int position); argument 984 int position = mQueryTextView.getListSelection(); 985 return onItemClicked(position, KeyEvent.KEYCODE_UNKNOWN, null); 1268 private boolean onItemClicked(int position, int actionKey, String actionMsg) { argument 1270 || !mOnSuggestionListener.onSuggestionClick(position)) { 1279 onItemSelected(int position) argument 1321 rewriteQueryFromSuggestion(int position) argument 1354 launchSuggestion(int position, int actionKey, String actionMsg) argument [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | GridLayoutManager.java | 214 * The focused position, it's not the currently visually aligned position 215 * but it is the final position that we intend to focus on. If there are 294 * How to position child in secondary direction. 308 * Tracking start/end position of each row for visible items. 345 * Allow DPAD key to navigate out at the front of the View (where position = 0), 553 // when item is removed, the position value can be any value. 635 protected View getViewForPosition(int position) { argument 636 return mRecycler.getViewForPosition(position); 702 * selection. The method tries its best to preserve position informatio 862 measureScrapChild(int position, int widthSpec, int heightSpec, int[] measuredDimension) argument 1412 removeChildAt(int position) argument 2007 setSelection(RecyclerView parent, int position) argument 2011 setSelectionSmooth(RecyclerView parent, int position) argument 2019 setSelection(RecyclerView parent, int position, boolean smooth) argument 2025 scrollToSelection(RecyclerView parent, int position, boolean smooth) argument [all...] |
/frameworks/av/media/libmedia/ |
H A D | AudioTrackShared.cpp | 512 mBufferPosition = bufferPosition; // snapshot buffer position until loop is acknowledged. 767 size_t position = mPosition; local 778 mPosition = position = loopStart; 785 // If the current position is greater than the end of the loop 787 if (position >= loopEnd) { 788 mPosition = position = loopStart; 811 mCblk->u.mStatic.mBufferPosition = (uint32_t) position; 813 return (ssize_t) position; 833 size_t position = (size_t) positionOrStatus; local 836 if (position < en [all...] |