/frameworks/ex/variablespeed/jni/ |
H A D | ring_buffer.h | 25 // Circular buffer of multichannel audio, maintaining the position of the 46 // Gets the position of a reading head. 48 // @returns position pointed to by the #reader reading head. 53 // @param position target position. 54 void Seek(int reader, int64 position); 67 // Flushes the content of the buffer and reset the position of the heads. 97 // Returns the position of the laziest reader.
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | Program.h | 36 // known locations for position and texture coordinates 37 enum { position=0, texCoords=1 }; enumerator in enum:android::Program::__anon1574
|
/frameworks/wilhelm/tests/listening/ |
H A D | seekTorture.c | 100 unsigned position, duration; local 101 while (fscanf(fp_map, "%u %u", &position, &duration) == 2) { 102 printf("%u %u\n", position, duration); 103 result = (*playerSeek)->SetPosition(playerSeek, (SLmillisecond) position,
|
/frameworks/av/libvideoeditor/osal/inc/ |
H A D | M4OSA_FileReader.h | 53 /** Get the file position (M4OSA_fpos*)*/ 86 M4OSA_FilePosition* position); 114 M4OSA_FilePosition* position);
|
H A D | M4OSA_FileWriter.h | 82 M4OSA_FilePosition* position); 109 the position in the file (from the beginning) after the seek in the "position" 115 M4OSA_FilePosition* position);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | RecentsCreateFragment.java | 142 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { 143 final DocumentStack stack = mAdapter.getItem(position); 211 public View getView(int position, View convertView, ViewGroup parent) { argument 223 final DocumentStack stack = getItem(position); 250 public DocumentStack getItem(int position) { argument 251 return mStacks.get(position); 255 public long getItemId(int position) { argument 256 return getItem(position).hashCode();
|
H A D | RootsFragment.java | 177 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { 179 final Item item = mAdapter.getItem(position); 192 public boolean onItemLongClick(AdapterView<?> parent, View view, int position, long id) { 193 final Item item = mAdapter.getItem(position); 360 public View getView(int position, View convertView, ViewGroup parent) { argument 361 final Item item = getItem(position); 371 public boolean isEnabled(int position) { argument 372 return getItemViewType(position) != 1; 376 public int getItemViewType(int position) { argument 377 final Item item = getItem(position); [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ListActivity.java | 112 public View getView(int position, View convertView, ViewGroup parent) { argument 113 TextView v = (TextView) super.getView(position, convertView, parent);
|
H A D | TransparentListActivity.java | 110 public View getView(int position, View convertView, ViewGroup parent) { argument 111 TextView v = (TextView) super.getView(position, convertView, parent);
|
H A D | ViewLayersActivity2.java | 57 public View getView(int position, View convertView, ViewGroup parent) { argument 58 TextView v = (TextView) super.getView(position, convertView, parent);
|
H A D | ViewLayersActivity4.java | 61 public View getView(int position, View convertView, ViewGroup parent) { argument 62 TextView v = (TextView) super.getView(position, convertView, parent);
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
H A D | PhotoPagerAdapter.java | 49 public Fragment getItem(Context context, Cursor cursor, int position) { argument 72 return PhotoViewFragment.newInstance(builder.build(), position, onlyShowSpinner);
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
H A D | TimeZoneFilterTypeAdapter.java | 101 public FilterTypeResult getItem(int position) { argument 102 return mLiveResults.get(position); 106 public long getItemId(int position) { argument 107 return position; 111 public View getView(int position, View convertView, ViewGroup parent) { argument 123 if (position >= mLiveResults.size()) { 124 Log.e(TAG, "getView: " + position + " of " + mLiveResults.size()); 127 FilterTypeResult filter = mLiveResults.get(position);
|
/frameworks/base/core/java/android/widget/ |
H A D | GridView.java | 195 int position; 197 position = lookForSelectablePosition(mItemCount - 1, false); 199 position = lookForSelectablePosition(0, true); 201 setSelectedPositionInt(position); 202 setNextSelectedPositionInt(position); 214 int lookForSelectablePosition(int position, boolean lookDown) { argument 220 if (position < 0 || position >= mItemCount) { 223 return position; 243 int position 532 fillSpecific(int position, int top) argument 831 smoothScrollToPosition(int position) argument 1328 makeAndAddView(int position, int y, boolean flow, int childrenLeft, boolean selected, int where) argument 1369 setupChild(View child, int position, int y, boolean flow, int childrenLeft, boolean selected, boolean recycled, int where) argument 1481 setSelection(int position) argument 1500 setSelectionInt(int position) argument 2273 onInitializeAccessibilityNodeInfoForItem( View view, int position, AccessibilityNodeInfo info) argument [all...] |
H A D | ListPopupWindow.java | 244 * @param position A position constant declaring where the prompt should be displayed. 249 public void setPromptPosition(int position) { argument 250 mPromptPosition = position; 551 * will recalculate the popup's size and position. 694 * Set the selected position of the list. 697 * @param position List position to set as selected. 699 public void setSelection(int position) { argument 703 list.setSelection(position); 746 performItemClick(int position) argument 1518 clickPressedItem(final View child, final int position) argument 1549 setPressedItem(View child, int position) argument 1584 obtainView(int position, boolean[] isScrap) argument [all...] |
/frameworks/base/core/java/android/database/ |
H A D | BulkCursorNative.java | 102 int position = data.readInt(); 103 onMove(position); 155 public CursorWindow getWindow(int position) throws RemoteException argument 161 data.writeInt(position); 177 public void onMove(int position) throws RemoteException { argument 182 data.writeInt(position);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | MediaRouteChooserDialog.java | 207 public boolean isEnabled(int position) { argument 208 return getItem(position).isEnabled(); 212 public View getView(int position, View convertView, ViewGroup parent) { argument 217 MediaRouter.RouteInfo route = getItem(position); 234 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument 235 MediaRouter.RouteInfo route = getItem(position);
|
H A D | ActionBarImpl.java | 360 public void setSelectedNavigationItem(int position) { argument 363 selectTab(mTabs.get(position)); 366 mActionView.setDropdownSelectedPosition(position); 473 private void configureTab(Tab tab, int position) { argument 481 tabi.setPosition(position); 482 mTabs.add(position, tabi); 485 for (int i = position + 1; i < count; i++) { 496 public void addTab(Tab tab, int position) { argument 497 addTab(tab, position, mTabs.isEmpty()); 511 public void addTab(Tab tab, int position, boolea argument 531 removeTabAt(int position) argument 1066 setPosition(int position) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | ListContextMenu.java | 65 public Object getItem(int position) { argument 66 return position; 69 public long getItemId(int position) { argument 70 return position; 73 public View getView(int position, View convertView, ViewGroup parent) { argument 81 view.setText("List item " + mTitles[position]);
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
H A D | SimpleMonthAdapter.java | 142 public Object getItem(int position) { argument 147 public long getItemId(int position) { argument 148 return position; 159 public View getView(int position, View convertView, ViewGroup parent) { argument 180 final int month = position % MONTHS_IN_YEAR; 181 final int year = position / MONTHS_IN_YEAR + mController.getMinYear();
|
H A D | DayPickerView.java | 186 final int position = (day.year - mController.getMinYear()) 204 // Compute the first and last position visible 217 Log.d(TAG, "GoTo position " + position); 221 if (position != selectedPosition || forceScroll) { 226 position, LIST_TOP_OFFSET, GOTO_SCROLL_DURATION); 229 postSetSelection(position); 237 public void postSetSelection(final int position) { argument 243 setSelection(position); 308 // Fix the position afte [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | MediaRouteChooserDialog.java | 191 public boolean isEnabled(int position) { argument 192 return getItem(position).isEnabled(); 196 public View getView(int position, View convertView, ViewGroup parent) { argument 201 MediaRouter.RouteInfo route = getItem(position); 218 public void onItemClick(AdapterView<?> parent, View view, int position, long id) { argument 219 MediaRouter.RouteInfo route = getItem(position);
|
/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/packages/Keyguard/src/com/android/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(),
|