/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/core/java/android/widget/ |
H A D | GridView.java | 191 int position; 193 position = lookForSelectablePosition(mItemCount - 1, false); 195 position = lookForSelectablePosition(0, true); 197 setSelectedPositionInt(position); 198 setNextSelectedPositionInt(position); 210 int lookForSelectablePosition(int position, boolean lookDown) { argument 216 if (position < 0 || position >= mItemCount) { 219 return position; 239 int position 528 fillSpecific(int position, int top) argument 827 smoothScrollToPosition(int position) argument 1324 makeAndAddView(int position, int y, boolean flow, int childrenLeft, boolean selected, int where) argument 1365 setupChild(View child, int position, int y, boolean flow, int childrenLeft, boolean selected, boolean recycled, int where) argument 1473 setSelection(int position) argument 1492 setSelectionInt(int position) argument [all...] |
H A D | ListPopupWindow.java | 232 * @param position A position constant declaring where the prompt should be displayed. 237 public void setPromptPosition(int position) { argument 238 mPromptPosition = position; 529 * will recalculate the popup's size and position. 672 * Set the selected position of the list. 675 * @param position List position to set as selected. 677 public void setSelection(int position) { argument 681 list.setSelection(position); 724 performItemClick(int position) argument 1195 obtainView(int position, boolean[] isScrap) argument [all...] |
H A D | SearchView.java | 222 * @param position the absolute position in the list of suggestions. 227 boolean onSuggestionSelect(int position); argument 231 * @param position the absolute position of the clicked item in the list of suggestions. 237 boolean onSuggestionClick(int position); argument 964 int position = mQueryTextView.getListSelection(); 965 return onItemClicked(position, KeyEvent.KEYCODE_UNKNOWN, null); 998 int position = mQueryTextView.getListSelection(); 999 if (position ! 1306 onItemClicked(int position, int actionKey, String actionMsg) argument 1317 onItemSelected(int position) argument 1364 rewriteQueryFromSuggestion(int position) argument 1397 launchSuggestion(int position, int actionKey, String actionMsg) argument [all...] |
/frameworks/base/core/java/android/accounts/ |
H A D | ChooseAccountTypeActivity.java | 109 public void onItemClick(AdapterView<?> parent, View v, int position, long id) { 110 setResultAndFinish(mAuthenticatorInfosToDisplay.get(position).desc.type); 184 public View getView(int position, View convertView, ViewGroup parent) { argument 197 holder.text.setText(mInfos.get(position).name); 198 holder.icon.setImageDrawable(mInfos.get(position).drawable);
|
/frameworks/base/core/java/android/app/ |
H A D | ListFragment.java | 159 public void onItemClick(AdapterView<?> parent, View v, int position, long id) { 160 onListItemClick((ListView)parent, v, position, id); 222 * getListView().getItemAtPosition(position) if they need to access the 227 * @param position The position of the view in the list 230 public void onListItemClick(ListView l, View v, int position, long id) { argument 251 * position with the adapter's data 253 * @param position 255 public void setSelection(int position) { argument 257 mList.setSelection(position); [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ActionBarImpl.java | 353 public void setSelectedNavigationItem(int position) { argument 356 selectTab(mTabs.get(position)); 359 mActionView.setDropdownSelectedPosition(position); 466 private void configureTab(Tab tab, int position) { argument 474 tabi.setPosition(position); 475 mTabs.add(position, tabi); 478 for (int i = position + 1; i < count; i++) { 489 public void addTab(Tab tab, int position) { argument 490 addTab(tab, position, mTabs.isEmpty()); 504 public void addTab(Tab tab, int position, boolea argument 524 removeTabAt(int position) argument 1033 setPosition(int position) argument [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | FaceUnlock.java | 271 int[] position; 272 position = new int[2]; 273 mFaceUnlockView.getLocationInWindow(position); 274 startUi(windowToken, position[0], position[1], mFaceUnlockView.getWidth(),
|
/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/wilhelm/src/itf/ |
H A D | IRecord.c | 95 SLmillisecond position; local 100 android_audioRecorder_getPosition(InterfaceToCAudioRecorder(thiz), &position); local 102 position = thiz->mPosition; 105 position = thiz->mPosition; 108 *pMsec = position; 214 // clearing the marker position is equivalent to setting the marker to SL_TIME_UNKNOWN
|
H A D | IPlay.c | 185 // otherwise the duration will be updated each time a new maximum position is detected 203 SLmillisecond position; local 207 // and doesn't cache the position 210 android_audioPlayer_getPosition(thiz, &position); 213 android_Player_getPosition(thiz, &position); 220 // on other platforms we depend on periodic updates to the current position 221 position = thiz->mPosition; 222 // if a seek is pending, then lie about current position so the seek appears synchronous 227 position = pos; 232 *pMsec = position; [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceScreen.java | 206 public void onItemClick(AdapterView parent, View view, int position, long id) { argument 209 position -= ((ListView) parent).getHeaderViewsCount(); 211 Object item = getRootAdapter().getItem(position);
|
/frameworks/base/core/java/android/util/ |
H A D | EventLog.java | 107 mBuffer.position(DATA_START); // Just after the tag. 118 /** @return the loggable item at the current position in mBuffer. */ 131 int start = mBuffer.position(); 132 mBuffer.position(start + length);
|
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 132 SkPathMeasure& measure, SkPoint* position, SkVector* tangent) { 139 measure.getPosTan(x + hOffset + glyph->mBitmapLeft + halfWidth, position, tangent); 157 position->fX + destination[0].fX, 158 position->fY + destination[0].fY, u1, v2, 159 position->fX + destination[1].fX, 160 position->fY + destination[1].fY, u2, v2, 161 position->fX + destination[2].fX, 162 position->fY + destination[2].fY, u2, v1, 163 position->fX + destination[3].fX, 164 position 131 drawCachedGlyph(CachedGlyphInfo* glyph, float x, float hOffset, float vOffset, SkPathMeasure& measure, SkPoint* position, SkVector* tangent) argument 216 SkPoint position; local [all...] |
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | GLES10ExtcHeader.cpp | 57 positionID = _env->GetFieldID(bufferClass, "position", "I"); 67 jint position; local 72 position = _env->GetIntField(buffer, positionID); 75 *remaining = (limit - position) << elementSizeShift;
|
/frameworks/base/core/java/android/database/ |
H A D | CursorWrapper.java | 161 public boolean moveToPosition(int position) { argument 162 return mCursor.moveToPosition(position);
|
/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/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ViewLayersActivity5.java | 77 public View getView(int position, View convertView, ViewGroup parent) { argument 78 TextView v = (TextView) super.getView(position, convertView, parent);
|
/frameworks/ex/photoviewer/src/com/android/ex/photo/ |
H A D | PhotoViewActivity.java | 92 * will be at the proper position. 350 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { argument 354 public void onPageSelected(int position) { argument 355 mPhotoIndex = position; 476 final int position = mViewPager.getCurrentItem() + 1; 490 if (mIsEmpty || !hasAlbumCount || position <= 0) { 493 subtitle = getResources().getString(R.string.photo_view_count, position, mAlbumCount); 504 * at the current position so that it refers to the current image on screen. 505 * @return the cursor at the current position or 513 final int position [all...] |
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/ |
H A D | TriangleRenderer.java | 150 mFVertexBuffer.position(0); 151 mIndexBuffer.position(0);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
H A D | PhotoViewActivity.java | 328 public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { argument 332 public void onPageSelected(int position) { argument 333 mPhotoIndex = position; 456 final int position = mViewPager.getCurrentItem() + 1; 470 if (mIsEmpty || !hasAlbumCount || position <= 0) { 473 subtitle = getResources().getString(R.string.photo_view_count, position, mAlbumCount); 484 * at the current position so that it refers to the current image on screen. 485 * @return the cursor at the current position or 493 final int position = mViewPager.getCurrentItem(); 500 cursor.moveToPosition(position); [all...] |
/frameworks/wilhelm/tests/sandbox/ |
H A D | xaplay.c | 51 XAmillisecond seekPos = XA_TIME_UNKNOWN; // seek to this position initially 135 XAmillisecond position; local 136 result = (*caller)->GetPosition(caller, &position); 140 printf("XA_PLAYEVENT_HEADATEND current position=%u ms\n", position); 144 printf("XA_PLAYEVENT_HEADATNEWPOS current position=%u ms\n", position); 148 printf("XA_PLAYEVENT_HEADATMARKER current position=%u ms\n", position); 210 // display position periodicall 212 XAmillisecond position; local 559 XAmillisecond position; local [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/av/libvideoeditor/osal/inc/ |
H A D | LVOSA_FileReader_optim.h | 76 M4OSA_FilePosition* position );
|