/development/tools/bugreport/src/com/android/bugreport/util/ |
D | Lines.java | 39 public int pos; field in Lines 90 this.pos = min; in Lines() 97 return pos < mMax; in hasNext() 105 if (pos >= mMin && pos < mMax) { in next() 106 return this.mList.get(pos++); in next() 116 pos--; in rewind() 122 public void rewind(int pos) { in rewind() argument 123 this.pos = pos; in rewind()
|
D | ArgParser.java | 65 public int pos() { in pos() method in ArgParser
|
/development/tools/bugreport/src/com/android/bugreport/bugreport/ |
D | BugreportParser.java | 96 int pos; in parse() local 101 pos = lines.pos; in parse() 106 mMetadataParser.parseHeader(lines.copy(pos, lines.pos)); in parse() 121 parseSection(section, lines.copy(pos, lines.pos-1), command, durationMs); in parse() 122 pos = lines.pos; // for the footer in parse() 133 mMetadataParser.parseFooter(lines.copy(pos, lines.pos-1), durationMs); in parse() 144 parseSection(section, lines.copy(pos, lines.pos-1), null, -1); in parse() 148 pos = lines.pos; in parse()
|
/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/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/ |
D | MediaIDHelper.java | 69 int pos = mediaID.indexOf(LEAF_SEPARATOR); in extractMusicIDFromMediaID() local 70 if (pos >= 0) { in extractMusicIDFromMediaID() 71 return mediaID.substring(pos+1); in extractMusicIDFromMediaID() 85 int pos = mediaID.indexOf(LEAF_SEPARATOR); in getHierarchy() local 86 if (pos >= 0) { in getHierarchy() 87 mediaID = mediaID.substring(0, pos); in getHierarchy()
|
/development/tools/bugreport/src/com/android/bugreport/ |
D | Options.java | 86 return new Options(args, argParser.pos(), in parseArgs() 92 return new Options(args, argParser.pos(), in parseArgs() 98 return new Options(args, argParser.pos(), in parseArgs() 103 return new Options(args, argParser.pos(), in parseArgs() 108 return new Options(args, argParser.pos(), in parseArgs()
|
/development/vndk/tools/sourcedr/sourcedr/blueprint/ |
D | blueprint.py | 120 def __init__(self, buf, pos, message): argument 124 self.line, self.column = Lexer.compute_line_column(buf, pos) 181 def compute_line_column(buf, pos): argument 185 prior = buf[0:pos] 188 return (1, pos + 1) 189 return (prior.count('\n') + 1, pos - newline_pos) 248 pos = offset + 1 250 while pos < buf_len: 252 match = cls.UNICODE_CHARS_PATTERN.match(buf, pos) 255 pos = match.end() [all …]
|
/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/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/tools/winscope/src/ |
D | transform_sf.js | 32 var pos = layer.position || {}; 36 left: pos.x || 0, 37 right: pos.x + size.w || 0, 38 top: pos.y || 0, 39 bottom: pos.y + size.h || 0,
|
/development/vndk/tools/header-checker/header-abi-util/src/ |
D | version_script_parser.cpp | 123 std::string::size_type pos = line.find(";"); in ParseSymbolLine() local 124 if (pos == std::string::npos) { in ParseSymbolLine() 128 std::string symbol = line.substr(0, pos); in ParseSymbolLine() 130 symbol = symbol.substr(last_space + 1, pos); in ParseSymbolLine() 131 std::string tags = line.substr(pos + 1); in ParseSymbolLine()
|
/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/samples/browseable/WearDrawers/src/com.example.android.wearable.wear.weardrawers/ |
D | MainActivity.java | 197 public String getItemText(int pos) { in getItemText() argument 198 return mSolarSystem.get(pos).getName(); in getItemText() 202 public Drawable getItemDrawable(int pos) { in getItemDrawable() argument 203 String navigationIcon = mSolarSystem.get(pos).getNavigationIcon(); in getItemDrawable()
|
/development/vndk/tools/sourcedr/sourcedr/ |
D | ninja.py | 257 def match(self, buf, pos): argument 258 match = self._matcher.match(buf, pos) 901 pos = len(s) 903 while count > 0 and pos > 0 and s[pos - 1] == b'\0': 904 pos -= 1 906 return intern(s[0:pos]) 910 pos = len(s) 912 while count > 0 and pos > 0 and s[pos - 1] == 0: 913 pos -= 1 915 return intern(s[0:pos].decode(encoding))
|
/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/vndk/tools/sourcedr/sourcedr/static/prism/js/ |
D | prism.js | 291 for (var i = index, pos = startPos; i < strarr.length; pos += strarr[i].length, ++i) { 311 pattern.lastIndex = pos; 320 p = pos; 327 pos = p; 341 str = text.slice(pos, p); 342 match.index -= pos; 367 pos += before.length; 382 _.matchGrammar(text, strarr, grammar, i, pos, true, token);
|
/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()
|
/development/testrunner/test_defs/ |
D | native_test.py | 95 pos = output.rfind("exit code") 96 output = output[0:pos]
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/ |
D | MidiPortSelector.java | 70 int pos, long id) { in MidiPortSelector() 71 mCurrentWrapper = mAdapter.getItem(pos); in MidiPortSelector()
|
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/ |
D | MidiPortSelector.java | 70 int pos, long id) { in MidiPortSelector() 71 mCurrentWrapper = mAdapter.getItem(pos); in MidiPortSelector()
|
/development/apps/CustomLocale/src/com/android/customlocale2/ |
D | CustomLocaleActivity.java | 301 int pos = mListView.getCheckedItemPosition(); in getCheckedLocale() local 304 if (pos >= 0 && pos < n) { in getCheckedLocale() 305 Object o = a.getItem(pos); in getCheckedLocale()
|
/development/samples/ApiDemos/src/com/example/android/apis/media/projection/ |
D | MediaProjectionDemo.java | 174 public void onItemSelected(AdapterView<?> parent, View v, int pos, long id) { in onItemSelected() argument 175 Resolution r = (Resolution) parent.getItemAtPosition(pos); in onItemSelected()
|
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/ |
D | TitlesFragment.java | 115 public boolean onItemLongClick(AdapterView<?> av, View v, int pos, long id) { in onActivityCreated() 119 final String textData = String.format("%d||%d", mCategory, pos); in onActivityCreated()
|