Searched refs:position (Results 101 - 125 of 277) sorted by relevance

1234567891011>>

/frameworks/ex/variablespeed/jni/
H A Dring_buffer.h25 // 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/wilhelm/tests/listening/
H A DseekTorture.c100 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/ex/chips/src/com/android/ex/chips/
H A DRecipientAlternatesAdapter.java217 public long getItemId(int position) { argument
219 if (c.moveToPosition(position)) {
225 public RecipientEntry getRecipientEntry(int position) { argument
227 c.moveToPosition(position);
240 public View getView(int position, View convertView, ViewGroup parent) { argument
242 cursor.moveToPosition(position);
247 mCheckedItemPosition = position;
260 int position = cursor.getPosition();
264 RecipientEntry entry = getRecipientEntry(position);
265 if (position
297 onCheckedItemChanged(int position) argument
[all...]
H A DSingleRecipientArrayAdapter.java42 public View getView(int position, View convertView, ViewGroup parent) { argument
46 bindView(convertView, convertView.getContext(), getItem(position));
/frameworks/av/libvideoeditor/osal/inc/
H A DM4OSA_FileReader.h53 /** Get the file position (M4OSA_fpos*)*/
86 M4OSA_FilePosition* position);
114 M4OSA_FilePosition* position);
H A DM4OSA_FileWriter.h82 M4OSA_FilePosition* position);
109 the position in the file (from the beginning) after the seek in the "position"
115 M4OSA_FilePosition* position);
/frameworks/base/core/java/android/webkit/
H A DHTML5VideoInline.java37 HTML5VideoInline(int videoLayerId, int position) { argument
38 init(videoLayerId, position, false);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DListActivity.java116 public View getView(int position, View convertView, ViewGroup parent) { argument
117 TextView v = (TextView) super.getView(position, convertView, parent);
H A DTransparentListActivity.java110 public View getView(int position, View convertView, ViewGroup parent) { argument
111 TextView v = (TextView) super.getView(position, convertView, parent);
H A DViewLayersActivity2.java57 public View getView(int position, View convertView, ViewGroup parent) { argument
58 TextView v = (TextView) super.getView(position, convertView, parent);
H A DViewLayersActivity4.java61 public View getView(int position, View convertView, ViewGroup parent) { argument
62 TextView v = (TextView) super.getView(position, convertView, parent);
H A DViewLayersActivity5.java67 public View getView(int position, View convertView, ViewGroup parent) { argument
68 TextView v = (TextView) super.getView(position, convertView, parent);
/frameworks/ex/chips/tests/src/com/android/ex/chips/
H A DRecipientAlternatesAdapterTest.java82 private static void assertRow(Cursor c, int position, argument
92 assertTrue(c.moveToPosition(position));
/frameworks/base/core/java/android/database/
H A DBulkCursorNative.java102 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/tests/coretests/src/android/view/
H A DListContextMenu.java65 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/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ui/
H A DDirListActivity.java168 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 DGridView.java191 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
518 fillSpecific(int position, int top) argument
817 smoothScrollToPosition(int position) argument
1314 makeAndAddView(int position, int y, boolean flow, int childrenLeft, boolean selected, int where) argument
1355 setupChild(View child, int position, int y, boolean flow, int childrenLeft, boolean selected, boolean recycled, int where) argument
1463 setSelection(int position) argument
1482 setSelectionInt(int position) argument
[all...]
H A DListPopupWindow.java224 * @param position A position constant declaring where the prompt should be displayed.
229 public void setPromptPosition(int position) { argument
230 mPromptPosition = position;
521 * will recalculate the popup's size and position.
664 * Set the selected position of the list.
667 * @param position List position to set as selected.
669 public void setSelection(int position) { argument
673 list.setSelection(position);
716 performItemClick(int position) argument
1187 obtainView(int position, boolean[] isScrap) argument
[all...]
/frameworks/base/core/java/android/accounts/
H A DChooseAccountTypeActivity.java109 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 DListFragment.java159 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 DActionBarImpl.java353 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
1028 setPosition(int position) argument
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DListFragment.java57 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 DIRecord.c95 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
/frameworks/base/core/java/android/preference/
H A DPreferenceScreen.java199 public void onItemClick(AdapterView parent, View view, int position, long id) { argument
202 position -= ((ListView) parent).getHeaderViewsCount();
204 Object item = getRootAdapter().getItem(position);
/frameworks/base/core/java/android/util/
H A DEventLog.java107 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);

Completed in 1233 milliseconds

1234567891011>>