Home
last modified time | relevance | path

Searched refs:pos (Results 1 – 25 of 48) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DGesture.java98 public void begin(ControlPoint pos, int startMask) { in begin() argument
99 this.mStart = pos; in begin()
109 public void update(ControlPoint pos) { in update() argument
121 public void end(ControlPoint pos, boolean canceled) { in end() argument
DResizeGesture.java74 public void begin(ControlPoint pos, int startMask) { in begin() argument
75 super.begin(pos, startMask); in begin()
80 Rect newBounds = getNewBounds(pos); in begin()
88 update(pos); in begin()
107 public void update(ControlPoint pos) { in update() argument
108 super.update(pos); in update()
110 Rect newBounds = getNewBounds(pos); in update()
118 public void end(ControlPoint pos, boolean canceled) { in end() argument
119 super.end(pos, canceled); in end()
123 Rect newBounds = getNewBounds(pos); in end()
[all …]
DMarqueeGesture.java67 public void update(ControlPoint pos) { in update() argument
72 int x = Math.min(pos.x, mStart.x); in update()
73 int y = Math.min(pos.y, mStart.y); in update()
74 int w = Math.abs(pos.x - mStart.x); in update()
75 int h = Math.abs(pos.y - mStart.y); in update()
DClipboardSupport.java185 int pos = title.lastIndexOf('.'); in deleteSelection() local
186 if (pos > 0 && pos < title.length() - 1) { in deleteSelection()
187 title = title.substring(pos + 1); in deleteSelection()
324 int pos = title.lastIndexOf('.'); in pasteInEmptyDocument() local
325 if (pos > 0 && pos < title.length() - 1) { in pasteInEmptyDocument()
326 title = title.substring(pos + 1); in pasteInEmptyDocument()
DSimpleElement.java196 int pos = s2.indexOf('='); in parseLines() local
197 if (pos <= 0 || pos == s2.length() - 1) { in parseLines()
200 String key = s2.substring(0, pos).trim(); in parseLines()
201 String value = s2.substring(pos + 1).trim(); in parseLines()
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/
DSdkRepoSource.java212 int pos = name.indexOf(':'); in findAlternateToolsXml() local
213 if (pos > 0 && pos < name.length() - 1) { in findAlternateToolsXml()
214 prefix = name.substring(0, pos); in findAlternateToolsXml()
215 name = name.substring(pos + 1); in findAlternateToolsXml()
262 int pos = name.indexOf(':'); in findAlternateToolsXml() local
263 if (pos > 0 && pos < name.length() - 1) { in findAlternateToolsXml()
264 name = name.substring(pos + 1); in findAlternateToolsXml()
450 int pos = nodeName.indexOf(':'); in duplicateNode() local
451 if (pos > 0 && pos < nodeName.length() - 1) { in duplicateNode()
452 nodeName = nodeName.substring(pos + 1); in duplicateNode()
[all …]
DArchiveInstaller.java163 int pos = repoXml.lastIndexOf('/'); in downloadFile() local
164 String base = repoXml.substring(0, pos + 1); in downloadFile()
175 int pos = link.lastIndexOf('/'); in downloadFile() local
176 String base = link.substring(pos + 1); in downloadFile()
669 int pos = name.indexOf('/'); in unzipFolder() local
670 if (pos < 0 || pos == name.length() - 1) { in unzipFolder()
673 name = name.substring(pos + 1); in unzipFolder()
/sdk/emulator/qtools/
Dhash_table.h100 int pos = HashFunction(key) & mask_; in Update() local
103 for (entry_type *ptr = table_[pos]; ptr; ptr = ptr->next) { in Update()
119 ptr->next = table_[pos]; in Update()
120 table_[pos] = ptr; in Update()
129 int pos = HashFunction(key) & mask_; in Remove() local
134 for (entry_type *ptr = table_[pos]; ptr; prev = ptr, ptr = ptr->next) { in Remove()
137 table_[pos] = ptr->next; in Remove()
153 int pos = HashFunction(key) & mask_; in Find() local
156 for (entry_type *ptr = table_[pos]; ptr; ptr = ptr->next) { in Find()
Dgtrace.cpp25 long pos = ftell(ftrace_); in ~Gtrace() local
26 long pos_end = (pos + 0x1fff) & ~0x1fff; in ~Gtrace()
27 if (pos_end > pos) { in ~Gtrace()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt.ndk/src/com/android/ide/eclipse/adt/ndk/internal/discovery/
DNdkDiscoveryUpdater.java152 private int pos; field in NdkDiscoveryUpdater.Line
158 public Line(String line, int pos) { in Line() argument
160 this.pos = pos; in Line()
165 if (pos == line.length()) in getToken()
168 int start = pos; in getToken()
172 char c = line.charAt(pos); in getToken()
175 return line.substring(start, pos); in getToken()
180 if (++pos == line.length()) in getToken()
187 if (pos == line.length()) in getRemaining()
191 String rc = line.substring(pos); in getRemaining()
[all …]
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/util/
DSparseIntArray.java195 int pos = mSize; in append() local
196 if (pos >= mKeys.length) { in append()
197 int n = ArrayUtils.idealIntArraySize(pos + 1); in append()
210 mKeys[pos] = key; in append()
211 mValues[pos] = value; in append()
212 mSize = pos + 1; in append()
DSparseArray.java286 int pos = mSize; in append() local
287 if (pos >= mKeys.length) { in append()
288 int n = ArrayUtils.idealIntArraySize(pos + 1); in append()
301 mKeys[pos] = key; in append()
302 mValues[pos] = value; in append()
303 mSize = pos + 1; in append()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/
DAbstractPropertiesFieldsPart.java167 int pos = line.indexOf('='); in saveFieldsToModel() local
168 if (pos > 0 && pos < line.length() - 1) { in saveFieldsToModel()
169 String key = line.substring(0, pos).trim(); in saveFieldsToModel()
282 int pos = line.indexOf('='); in onModelInit() local
283 if (pos > 0 && pos < line.length() - 1) { in onModelInit()
284 String key = line.substring(0, pos).trim(); in onModelInit()
288 String value = line.substring(pos + 1).trim(); in onModelInit()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DMockNodeProxy.java58 int pos = xmlName.lastIndexOf('.'); in makeUiViewNode() local
59 if (pos > 0) { in makeUiViewNode()
60 xmlName = xmlName.substring(pos + 1); in makeUiViewNode()
/sdk/sdklauncher/
Dsdklauncher.c186 int ret, pos; in sdk_launcher() local
211 pos = ret - 1; in sdk_launcher()
212 while (pos > 0 && program_dir[pos] != '\\') { in sdk_launcher()
213 --pos; in sdk_launcher()
215 program_dir[pos] = 0; in sdk_launcher()
/sdk/avdlauncher/
Davdlauncher.c186 int ret, pos; in avd_launcher() local
211 pos = ret - 1; in avd_launcher()
212 while (pos > 0 && program_dir[pos] != '\\') { in avd_launcher()
213 --pos; in avd_launcher()
215 program_dir[pos] = 0; in avd_launcher()
/sdk/ide_common/src/com/android/ide/common/resources/
DSingleResourceFile.java135 int pos = name.indexOf('.'); in getResourceName() local
136 if (pos != -1) { in getResourceName()
137 name = name.substring(0, pos); in getResourceName()
DIdGeneratingResourceFile.java215 int pos = name.indexOf('.'); in getFileName() local
216 if (pos != -1) { in getFileName()
217 name = name.substring(0, pos); in getFileName()
/sdk/eclipse/plugins/com.android.ide.eclipse.pdt/src/com/android/ide/eclipse/pdt/internal/
DSourceRevealer.java54 int pos = className.indexOf('$'); in reveal() local
55 if (pos != -1) { in reveal()
56 className = className.substring(0, pos); in reveal()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
DElementDescriptor.java182 int pos = mXmlName.indexOf(':'); in getXmlLocalName() local
183 if (pos != -1) { in getXmlLocalName()
184 return mXmlName.substring(pos+1); in getXmlLocalName()
260 int pos = name.lastIndexOf('.'); in getCustomizedIcon() local
261 if (pos != -1) { in getCustomizedIcon()
265 name = name.substring(pos + 1); in getCustomizedIcon()
DDescriptorsUtils.java504 int pos = url.lastIndexOf('#');
505 if (pos < 0) {
507 } else if (pos < url.length() - 1) {
508 url = url.substring(0, pos + 1);
628 int pos = s.indexOf(' ', JAVADOC_BREAK_LENGTH - currentLength);
629 if (pos <= 0) {
632 spans.add(s.substring(0, pos + 1));
635 s = s.substring(pos + 1);
822 int pos = prefix.indexOf('.'); in getFreeWidgetId() local
823 if (pos >= 0) { in getFreeWidgetId()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/
DEditableDialogCellEditor.java425 int pos = text.getCaretPosition(); in performDelete() local
426 if (pos < text.getCharCount()) { in performDelete()
427 text.setSelection(pos, pos + 1); in performDelete()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/
DAdtTestData.java69 int pos = mOsRootDataPath.indexOf(':'); in AdtTestData() local
70 if (pos > 0 && mOsRootDataPath.charAt(0) == '/') { in AdtTestData()
/sdk/emulator/gps/
Dgps_qemu.c182 int pos; member
226 r->pos = 0; in nmea_reader_init()
418 D("Received: '%.*s'", r->pos, r->in); in nmea_reader_parse()
419 if (r->pos < 9) { in nmea_reader_parse()
424 nmea_tokenizer_init(tzer, r->in, r->in + r->pos); in nmea_reader_parse()
537 if (r->pos >= (int) sizeof(r->in)-1 ) { in nmea_reader_addc()
539 r->pos = 0; in nmea_reader_addc()
543 r->in[r->pos] = (char)c; in nmea_reader_addc()
544 r->pos += 1; in nmea_reader_addc()
548 r->pos = 0; in nmea_reader_addc()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DBasePullParser.java89 public String getNamespacePrefix(int pos) throws XmlPullParserException { in getNamespacePrefix() argument
105 public String getNamespaceUri(int pos) throws XmlPullParserException { in getNamespaceUri() argument

12