Searched refs:pos (Results 1 - 25 of 28) sorted by relevance

12

/development/ndk/platforms/android-3/include/linux/
H A Dplist.h35 #define plist_for_each(pos, head) list_for_each_entry(pos, &(head)->node_list, plist.node_list)
37 #define plist_for_each_safe(pos, n, head) list_for_each_entry_safe(pos, n, &(head)->node_list, plist.node_list)
39 #define plist_for_each_entry(pos, head, mem) list_for_each_entry(pos, &(head)->node_list, mem.plist.node_list)
41 #define plist_for_each_entry_safe(pos, n, head, m) list_for_each_entry_safe(pos, n, &(head)->node_list, m.plist.node_list)
H A Dmca.h37 unsigned char pos[8]; member in struct:mca_device
H A Dsoundcard.h802 #define SEQ_PANNING(dev, voice, pos) SEQ_CONTROL(dev, voice, CTL_PAN, (pos+128) / 2)
813 #define SEQ_SONGPOS(pos) _TIMER_EVENT(TMR_SPP, pos)
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
H A DTextAlign.java57 float[] pos = new float[n * 2];
60 pos[i*2 + 0] = accumulatedX;
61 pos[i*2 + 1] = y;
64 return pos;
93 float[] pos = mPos;
118 for (int i = 0; i < pos.length/2; i++) {
119 canvas.drawLine(pos[i*2+0], pos[i*2+1]-DY,
120 pos[i*2+0], pos[
[all...]
H A DUnicodeChart.java63 float[] pos = mPos;
68 pos[index++] = x;
69 pos[index++] = row * YMUL + YBASE;
/development/samples/Spinner/src/com/android/example/spinner/
H A DSpinnerActivity.java187 * @param pos - the 0-based position of the selection in the mLocalAdapter
190 public void onItemSelected(AdapterView<?> parent, View v, int pos, long row) { argument
192 SpinnerActivity.this.mPos = pos;
193 SpinnerActivity.this.mSelection = parent.getItemAtPosition(pos).toString();
363 public void setSpinnerPosition(int pos) { argument
364 this.mPos = pos;
/development/samples/ApiDemos/src/com/example/android/apis/os/
H A DMorseCodeConverter.java118 int pos = 1;
124 result[pos] = WORD_GAP;
125 pos++;
130 result[pos] = LETTER_GAP;
131 pos++;
135 System.arraycopy(letter, 0, result, pos, letter.length);
136 pos += letter.length;
/development/tools/emulator/system/libqemu/
H A Dtest_guest_2.c164 int pos, len; local
173 pos = 0;
176 ret = pipe_recv(pipe, buffer2 + pos, len);
185 pos += ret;
/development/ndk/platforms/android-3/include/linux/sunrpc/
H A Dsched.h83 #define task_for_each(task, pos, head) list_for_each(pos, head) if ((task=list_entry(pos, struct rpc_task, u.tk_wait.list)),1)
87 #define alltask_for_each(task, pos, head) list_for_each(pos, head) if ((task=list_entry(pos, struct rpc_task, tk_task)),1)
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/
H A DAppNavHomeActivity.java45 protected void onListItemClick(ListView lv, View v, int pos, long id) { argument
46 SampleInfo info = (SampleInfo) getListAdapter().getItem(pos);
/development/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/
H A DAppNavHomeActivity.java45 protected void onListItemClick(ListView lv, View v, int pos, long id) { argument
46 SampleInfo info = (SampleInfo) getListAdapter().getItem(pos);
/development/testrunner/test_defs/
H A Dnative_test.py95 pos = output.rfind("exit code")
96 output = output[0:pos]
/development/ndk/platforms/android-14/samples/native-media/src/com/example/nativemedia/
H A DNativeMedia.java152 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
153 mSourceString = parent.getItemAtPosition(pos).toString();
172 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
173 mSinkString = parent.getItemAtPosition(pos).toString();
/development/tools/emulator/system/gps/
H A Dgps_qemu.c182 int pos; member in struct:__anon609
226 r->pos = 0;
428 D("Received: '%.*s'", r->pos, r->in);
429 if (r->pos < 9) {
434 nmea_tokenizer_init(tzer, r->in, r->in + r->pos);
551 if (r->pos >= (int) sizeof(r->in)-1 ) {
553 r->pos = 0;
557 r->in[r->pos] = (char)c;
558 r->pos += 1;
562 r->pos
[all...]
/development/apps/CustomLocale/src/com/android/customlocale2/
H A DCustomLocaleActivity.java301 int pos = mListView.getCheckedItemPosition();
304 if (pos >= 0 && pos < n) {
305 Object o = a.getItem(pos);
/development/ndk/platforms/android-9/samples/native-audio/src/com/example/nativeaudio/
H A DNativeAudio.java72 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
73 URI = parent.getItemAtPosition(pos).toString();
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
H A DTitlesFragment.java115 public boolean onItemLongClick(AdapterView<?> av, View v, int pos, long id) {
119 final String textData = String.format("%d||%d", mCategory, pos);
/development/samples/training/device-management-policy/src/com/example/training/deviceadmin/
H A DPolicySetupActivity.java129 public void onItemSelected(AdapterView<?> parent, View view, int pos, long id) {
134 if (pos > 2)
/development/tools/recovery_l10n/src/com/android/recovery_l10n/
H A DMain.java136 int pos, long id) {
137 switch (pos) {
/development/samples/training/multiscreen/newsreader/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/content/ ...
/development/samples/training/AnimationsDemo/libs/
H A Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v13/ android/support/v13/app/ ...
/development/samples/training/bitmapfun/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/widget/ ...
/development/samples/training/basic/ActivityLifecycle/libs/
H A Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v13/ android/support/v13/app/ ...
/development/samples/training/basic/FragmentBasics/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/development/samples/training/location-aware/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...

Completed in 1007 milliseconds

12