/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockCursor.java | 140 public boolean moveToPosition(int position) { argument
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ui/ |
H A D | DirListActivity.java | 168 public View getView(int position, View convertView, ViewGroup parent) { argument 173 label.setText(mItems[position].getName()); 176 if (mItems[position].isDirectory()) { 196 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { 197 ListItem item = (ListItem)parent.getItemAtPosition(position); 210 public boolean onItemLongClick(AdapterView<?> parent, View view, int position, long id) { 211 ListItem item = (ListItem)parent.getItemAtPosition(position);
|
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
H A D | ProfileActivity.java | 84 int position, long id) { 85 String speedStr = parent.getItemAtPosition(position).toString(); 98 int position, long id) { 99 String movementStr = parent.getItemAtPosition(position).toString(); 83 onItemSelected(AdapterView<?> parent, View view, int position, long id) argument 97 onItemSelected(AdapterView<?> parent, View view, int position, long id) argument
|
/frameworks/base/tests/touchlag/ |
H A D | touchlag.cpp | 190 struct position { struct in struct:Queue 194 position q[16];
|
/frameworks/ex/common/java/com/android/common/widget/ |
H A D | CompositeCursorAdapter.java | 234 * Given a list position, returns the index of the corresponding partition. 236 public int getPartitionForPosition(int position) { argument 241 if (position >= start && position < end) { 250 * Given a list position, return the offset of the corresponding item in its 253 public int getOffsetInPartition(int position) { argument 258 if (position >= start && position < end) { 259 int offset = position - start; 271 * Returns the first list position fo 300 getItemViewType(int partition, int position) argument 305 getItemViewType(int position) argument 323 getView(int position, View convertView, ViewGroup parent) argument 384 getView(int partition, Cursor cursor, int position, View convertView, ViewGroup parent) argument 400 newView(Context context, int partition, Cursor cursor, int position, ViewGroup parent) argument 407 bindView(View v, int partition, Cursor cursor, int position) argument 412 getItem(int position) argument 438 getItemId(int position) argument 484 isEnabled(int position) argument 507 isEnabled(int partition, int position) argument [all...] |
H A D | GroupingListAdapter.java | 264 * Figures out whether the item at the specified position represents a 266 * corresponding cursor position. 268 public void obtainPositionMetadata(PositionMetadata metadata, int position) { argument 271 if (metadata.listPosition == position) { 279 // Check cache for the supplied position. What we are looking for is 280 // the group descriptor immediately preceding the supplied position. 281 // Once we have that, we will be able to tell whether the position 284 if (position <= mLastCachedListPosition) { 287 int index = mPositionCache.indexOfKey(position); 289 // If we get back a positive number, the position correspond 388 isGroupHeader(int position) argument 397 getGroupSize(int position) argument 405 toggleGroup(int position) argument 427 getItemViewType(int position) argument 432 getItem(int position) argument 445 getItemId(int position) argument 454 getView(int position, View convertView, ViewGroup parent) argument [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | ListFragment.java | 57 public void onItemClick(AdapterView<?> parent, View v, int position, long id) { 58 onListItemClick((ListView)parent, v, position, id); 164 * getListView().getItemAtPosition(position) if they need to access the 169 * @param position The position of the view in the list 172 public void onListItemClick(ListView l, View v, int position, long id) { argument 193 * position with the adapter's data 195 * @param position 197 public void setSelection(int position) { argument 199 mList.setSelection(position); [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | PagerTabStrip.java | 276 void updateTextPositions(int position, float positionOffset, boolean force) { argument 285 super.updateTextPositions(position, positionOffset, force);
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | CursorAdapter.java | 211 public Object getItem(int position) { argument 213 mCursor.moveToPosition(position); 223 public long getItemId(int position) { argument 225 if (mCursor.moveToPosition(position)) { 243 public View getView(int position, View convertView, ViewGroup parent) { argument 247 if (!mCursor.moveToPosition(position)) { 248 throw new IllegalStateException("couldn't move cursor to position " + position); 261 public View getDropDownView(int position, View convertView, ViewGroup parent) { argument 263 mCursor.moveToPosition(position); [all...] |
/frameworks/wilhelm/tests/listening/ |
H A D | slesTest_playMuteSolo.cpp | 110 SLmillisecond position; local 111 res = (*playItf)->GetPosition(playItf, &position); ExitOnError(res); 112 printf("position=%u\n", (unsigned) position); 295 /* Setup to receive playback events on position updates */
|
/frameworks/base/media/jni/ |
H A D | android_media_Utils.cpp | 358 env->GetMethodID(byteBufClass, "position", "()I"); 365 jint position = env->CallIntMethod(valueObj, positionID); local 368 sp<ABuffer> buffer = new ABuffer(limit - position); 374 (const uint8_t *)data + position, 387 position,
|
/frameworks/av/drm/drmserver/ |
H A D | DrmManagerService.cpp | 155 int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) { 160 return mDrmManager->setPlaybackStatus(uniqueId, decryptHandle, playbackStatus, position); 154 setPlaybackStatus( int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
|
/frameworks/av/drm/libdrmframework/plugins/passthru/src/ |
H A D | DrmPassthruPlugIn.cpp | 190 int playbackStatus, int64_t position) { 189 onSetPlaybackStatus(int uniqueId, DecryptHandle* decryptHandle, int playbackStatus, int64_t position) argument
|
/frameworks/av/libvideoeditor/vss/src/ |
H A D | M4AMRR_CoreReader.c | 587 M4OSA_UInt32 position, partSeekTime; local 637 position = (pStreamContext->m_streamType != M4SYS_kAMR)?9:6; 650 pStreamContext->m_pSeekIndex[count++]=position; 674 position += auSize ; 682 position ++; 687 pStreamContext->m_pSeekIndex[count++] = position; 713 position = (M4OSA_UInt32)(time_double / pStreamContext->m_seekInterval); 718 position = 0; 722 position=(position > [all...] |
/frameworks/base/core/java/android/app/ |
H A D | LauncherActivity.java | 116 public Intent intentForPosition(int position) { argument 122 ListItem item = mActivitiesList.get(position); 130 public ListItem itemForPosition(int position) { argument 135 return mActivitiesList.get(position); 142 public Object getItem(int position) { argument 143 return position; 146 public long getItemId(int position) { argument 147 return position; 150 public View getView(int position, View convertView, ViewGroup parent) { argument 158 bindView(view, mActivitiesList.get(position)); 402 onListItemClick(ListView l, View v, int position, long id) argument 412 intentForPosition(int position) argument 422 itemForPosition(int position) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | HTML5Audio.java | 126 int position = mMediaPlayer.getCurrentPosition(); 127 nativeOnTimeupdate(position, mNativePointer); 342 private native void nativeOnTimeupdate(int position, int nativePointer); argument
|
H A D | HTML5VideoView.java | 171 public void init(int videoLayerId, int position, boolean skipPrepare) { argument 183 mSaveSeekTime = position;
|
/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 | ExpandableListConnector.java | 34 * <li> flPos - Flat list position, the position used by ListView 35 * <li> gPos - Group position, the position of a group among all the groups 36 * <li> cPos - Child position, the position of a child among all the children 46 * Internally, this connector translates the flat list position that the 96 * Translates a flat list position to either a) group pos if the specified 97 * flat list position corresponds to a group, or b) child pos if it 102 * @param flPos the flat list position t 961 public ExpandableListPosition position; field in class:ExpandableListConnector.PositionMetadata [all...] |
H A D | SuggestionsAdapter.java | 481 public View getView(int position, View convertView, ViewGroup parent) { argument 483 return super.getView(position, convertView, parent);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | MenuPopupHelper.java | 154 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument 156 adapter.mAdapterMenu.performItemAction(adapter.getItem(position), 0); 200 // Recompute window size and position 322 public MenuItemImpl getItem(int position) { argument 325 if (mExpandedIndex >= 0 && position >= mExpandedIndex) { 326 position++; 328 return items.get(position); 331 public long getItemId(int position) { argument 332 // Since a menu item's ID is optional, we'll use the position as an 334 return position; 337 getView(int position, View convertView, ViewGroup parent) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ScrollingTabContainerView.java | 171 public void setTabSelected(int position) { argument 172 mSelectedTabIndex = position; 176 final boolean isSelected = i == position; 179 animateToTab(position); 243 public void animateToTab(final int position) { argument 244 final View tabView = mTabLayout.getChildAt(position); 307 public void addTab(ActionBar.Tab tab, int position, boolean setSelected) { argument 309 mTabLayout.addView(tabView, position, new LinearLayout.LayoutParams( 322 public void updateTab(int position) { argument 323 ((TabView) mTabLayout.getChildAt(position)) 332 removeTabAt(int position) argument 353 onItemClick(AdapterView<?> parent, View view, int position, long id) argument 496 getItem(int position) argument 501 getItemId(int position) argument 506 getView(int position, View convertView, ViewGroup parent) argument [all...] |
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
H A D | FrameworkPerfActivity.java | 209 public void onItemSelected(AdapterView<?> parent, View view, int position, long id) { argument 211 TestService.Op op = TestService.mAvailOps[position]; 213 mFgTestIndex = position; 215 ((TextView)findViewById(R.id.fgtext)).setText(mAvailOpDescriptions[position]); 217 mBgTestIndex = position; 219 ((TextView)findViewById(R.id.bgtext)).setText(mAvailOpDescriptions[position]); 221 mLimitIsIterations = (position != 0);
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | BinTree.h | 439 // @param position the parent node 442 BinaryTree& join(Pos position, const DataType& value) { argument 445 if (position.isRoot()) 446 proxy::hook<TreeIteratorBase::Leftward>(position.m_pNode, 449 proxy::hook<DIRECT>(position.m_pNode, 456 // @param position the parent node 460 BinaryTree& merge(Pos position, BinaryTree& pTree) { argument 465 proxy::hook<DIRECT>(position.m_pNode,
|
/frameworks/ex/photoviewer/src/com/android/ex/photo/fragments/ |
H A D | PhotoViewFragment.java | 119 public PhotoViewFragment(Intent intent, int position, PhotoPagerAdapter adapter) { argument 121 mPosition = position;
|