/development/perftests/panorama/feature_stab/db_vlvm/ |
D | db_utilities_indexing.h | 97 int pos; in db_MaxIndex3() local 99 best=s[0];pos=0; in db_MaxIndex3() 100 if(s[1]>best){best=s[1];pos=1;} in db_MaxIndex3() 101 if(s[2]>best){best=s[2];pos=2;} in db_MaxIndex3() 102 return(pos); in db_MaxIndex3() 108 int pos; in db_MaxIndex4() local 110 best=s[0];pos=0; in db_MaxIndex4() 111 if(s[1]>best){best=s[1];pos=1;} in db_MaxIndex4() 112 if(s[2]>best){best=s[2];pos=2;} in db_MaxIndex4() 113 if(s[3]>best){best=s[3];pos=3;} in db_MaxIndex4() [all …]
|
D | db_utilities_indexing.cpp | 59 double db_LeanQuickSelect(const double *s,long nr_elements,long pos,double *temp) in db_LeanQuickSelect() argument 81 if(first_equal>pos) last=first_equal-1; in db_LeanQuickSelect() 82 else if(last_equal<pos) first=last_equal+1; in db_LeanQuickSelect()
|
/development/ndk/platforms/android-L/include/linux/netfilter/ |
D | x_tables.h | 112 …pos, ehead, esize) for ((pos) = (typeof(pos))(ehead); (pos) < (typeof(pos))((char *)(ehead) + … argument 114 …pos, entry) for ((pos) = (struct xt_entry_match *)entry->elems; (pos) < (struct xt_entry_match… argument
|
/development/ndk/platforms/android-3/include/linux/ |
D | plist.h | 35 #define plist_for_each(pos, head) list_for_each_entry(pos, &(head)->node_list, plist.node_list) argument 37 #define plist_for_each_safe(pos, n, head) list_for_each_entry_safe(pos, n, &(head)->node_list, pl… argument 39 #define plist_for_each_entry(pos, head, mem) list_for_each_entry(pos, &(head)->node_list, mem.pli… argument 41 #define plist_for_each_entry_safe(pos, n, head, m) list_for_each_entry_safe(pos, n, &(head)->node… argument
|
D | mca.h | 37 unsigned char pos[8]; member
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | TextAlign.java | 57 float[] pos = new float[n * 2]; in buildTextPositions() local 60 pos[i*2 + 0] = accumulatedX; in buildTextPositions() 61 pos[i*2 + 1] = y; in buildTextPositions() 64 return pos; in buildTextPositions() 93 float[] pos = mPos; in onDraw() local 118 for (int i = 0; i < pos.length/2; i++) { in onDraw() 119 canvas.drawLine(pos[i*2+0], pos[i*2+1]-DY, in onDraw() 120 pos[i*2+0], pos[i*2+1]+DY*2, p); in onDraw() 125 canvas.drawPosText(POSTEXT, pos, p); in onDraw() 129 canvas.drawPosText(POSTEXT, pos, p); in onDraw() [all …]
|
D | UnicodeChart.java | 63 float[] pos = mPos; in SampleView() local 68 pos[index++] = x; in SampleView() 69 pos[index++] = row * YMUL + YBASE; in SampleView()
|
/development/ndk/sources/android/ndk_helper/ |
D | shader.cpp | 49 size_t pos = 0; in CompileShader() local 50 while( (pos = str.find( it->first, pos )) != std::string::npos ) in CompileShader() 54 size_t replaced_pos = str_replacement_map.find( REPLACEMENT_TAG, pos ); in CompileShader() 55 if( replaced_pos == std::string::npos || replaced_pos > pos ) in CompileShader() 58 str.replace( pos, it->first.length(), it->second ); in CompileShader() 59 str_replacement_map.replace( pos, it->first.length(), it->first.length(), in CompileShader() 61 pos += it->second.length(); in CompileShader() 66 pos += it->second.length(); in CompileShader()
|
D | vecmath.cpp | 119 float pos = 0; in Inverse() local 125 pos += temp; in Inverse() 130 pos += temp; in Inverse() 135 pos += temp; in Inverse() 140 pos += temp; in Inverse() 145 pos += temp; in Inverse() 150 pos += temp; in Inverse() 153 det_1 = pos + neg; in Inverse()
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
D | MorseCodeConverter.java | 118 int pos = 1; in pattern() local 124 result[pos] = WORD_GAP; in pattern() 125 pos++; in pattern() 130 result[pos] = LETTER_GAP; in pattern() 131 pos++; in pattern() 135 System.arraycopy(letter, 0, result, pos, letter.length); in pattern() 136 pos += letter.length; in pattern()
|
/development/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
D | GridLayoutManagerActivity.java | 122 final int pos = vh.getPosition(); 123 if (pos + 1 < getItemCount()) { 124 swap(pos, pos + 1); 126 notifyItemChanged(pos);
|
D | BaseLayoutManagerActivity.java | 87 final int pos = vh.getPosition(); in createAdapter() 88 if (pos + 1 < getItemCount()) { in createAdapter() 89 swap(pos, pos + 1); in createAdapter() 91 notifyItemChanged(pos); in createAdapter()
|
D | RecyclerViewActivity.java | 59 final int pos = vh.getPosition(); in onCreate() 60 if (pos + 1 < getItemCount()) { in onCreate() 61 swap(pos, pos + 1); in onCreate()
|
/development/samples/Spinner/src/com/android/example/spinner/ |
D | SpinnerActivity.java | 190 public void onItemSelected(AdapterView<?> parent, View v, int pos, long row) { in onItemSelected() argument 192 SpinnerActivity.this.mPos = pos; in onItemSelected() 193 SpinnerActivity.this.mSelection = parent.getItemAtPosition(pos).toString(); in onItemSelected() 363 public void setSpinnerPosition(int pos) { in setSpinnerPosition() argument 364 this.mPos = pos; in setSpinnerPosition()
|
/development/ndk/platforms/android-3/include/linux/sunrpc/ |
D | sched.h | 83 #define task_for_each(task, pos, head) list_for_each(pos, head) if ((task=list_entry(pos, struc… argument 87 #define alltask_for_each(task, pos, head) list_for_each(pos, head) if ((task=list_entry(pos, st… argument
|
/development/samples/Support4Demos/src/com/example/android/supportv4/media/ |
D | MediaController.java | 228 long pos = 1000L * position / duration; in updateProgress() local 229 mProgress.setProgress( (int) pos); in updateProgress() 326 long pos = mController.getCurrentPosition(); 327 pos -= 5000; // milliseconds 328 mController.seekTo(pos); 335 long pos = mController.getCurrentPosition(); 336 pos += 15000; // milliseconds 337 mController.seekTo(pos);
|
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
D | SessionManager.java | 136 public PlaylistItem seek(String iid, long pos) { in seek() argument 138 log("seek: iid=" + iid +", pos=" + pos); in seek() 145 if (pos != item.getPosition()) { in seek() 146 item.setPosition(pos); in seek() 246 public void suspend(long pos) { in suspend() argument 253 log("suspend: item=" + item + ", pos=" + pos); in suspend() 259 item.setPosition(pos); in suspend()
|
D | PlaylistItem.java | 58 public void setPosition(long pos) { in setPosition() argument 59 mContentPosition = pos; in setPosition()
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
D | SessionManager.java | 140 public PlaylistItem seek(String iid, long pos) { in seek() argument 142 log("seek: iid=" + iid +", pos=" + pos); in seek() 149 if (pos != item.getPosition()) { in seek() 150 item.setPosition(pos); in seek() 238 public void suspend(long pos) { in suspend() argument 245 log("suspend: item=" + item + ", pos=" + pos); in suspend() 251 item.setPosition(pos); in suspend()
|
D | PlaylistItem.java | 58 public void setPosition(long pos) { in setPosition() argument 59 mContentPosition = pos; in setPosition()
|
/development/ndk/platforms/android-17/samples/Teapot/jni/ |
D | TeapotRenderer.cpp | 71 p[i].pos[0] = teapotPositions[iIndex]; in Init() 72 p[i].pos[1] = teapotPositions[iIndex + 1]; in Init() 73 p[i].pos[2] = teapotPositions[iIndex + 2]; in Init()
|
/development/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/ |
D | AppNavHomeActivity.java | 45 protected void onListItemClick(ListView lv, View v, int pos, long id) { in onListItemClick() argument 46 SampleInfo info = (SampleInfo) getListAdapter().getItem(pos); in onListItemClick()
|
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/ |
D | AppNavHomeActivity.java | 45 protected void onListItemClick(ListView lv, View v, int pos, long id) { in onListItemClick() argument 46 SampleInfo info = (SampleInfo) getListAdapter().getItem(pos); in onListItemClick()
|
/development/testrunner/test_defs/ |
D | native_test.py | 95 pos = output.rfind("exit code") 96 output = output[0:pos]
|
/development/samples/browseable/BasicAccessibility/src/com.example.android.basicaccessibility/ |
D | DialView.java | 229 private float[] computeXYForPosition(final int pos, final float radius) { in computeXYForPosition() argument 232 Double angle = startAngle + (pos * (Math.PI / 4)); in computeXYForPosition()
|