Home
last modified time | relevance | path

Searched refs:location (Results 1 – 25 of 148) sorted by relevance

123456

/sdk/lint/cli/src/com/android/tools/lint/
DTextReporter.java102 if (warning.location != null && warning.location.getSecondary() != null) { in write()
103 Location location = warning.location.getSecondary(); in write() local
104 while (location != null) { in write()
105 if (location.getMessage() != null in write()
106 && location.getMessage().length() > 0) { in write()
109 location.getFile()); in write()
112 Position start = location.getStart(); in write()
121 if (location.getMessage() != null in write()
122 && location.getMessage().length() > 0) { in write()
125 output.append(location.getMessage()); in write()
[all …]
DXmlReporter.java104 assert (warning.file != null) == (warning.location != null); in write()
107 assert warning.location.getFile() == warning.file; in write()
110 Location location = warning.location; in write() local
111 if (location != null) { in write()
113 while (location != null) { in write()
116 String path = mClient.getDisplayPath(warning.project, location.getFile()); in write()
118 Position start = location.getStart(); in write()
135 location = location.getSecondary(); in write()
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/
DDdmUiPreferences.java58 public static void setSymbolsLocation(String location) { in setSymbolsLocation() argument
59 sSymbolLocation = location; in setSymbolsLocation()
66 public static void setAddr2LineLocation(String location) { in setAddr2LineLocation() argument
67 sAddr2LineLocation = location; in setAddr2LineLocation()
74 public static void setTraceviewLocation(String location) { in setTraceviewLocation() argument
75 sTraceviewLocation = location; in setTraceviewLocation()
/sdk/emulator/opengl/shared/OpenglCodecCommon/
DGLClientState.cpp74 void GLClientState::enable(int location, int state) in enable() argument
76 if (!validLocation(location)) { in enable()
80 m_states[location].enableDirty |= (state != m_states[location].enabled); in enable()
81 m_states[location].enabled = state; in enable()
84 void GLClientState::setState(int location, int size, GLenum type, GLboolean normalized, GLsizei str… in setState() argument
86 if (!validLocation(location)) { in setState()
89 m_states[location].size = size; in setState()
90 m_states[location].type = type; in setState()
91 m_states[location].stride = stride; in setState()
92 m_states[location].data = (void*)data; in setState()
[all …]
/sdk/manifmerger/src/com/android/manifmerger/
DMergerLog.java40 @NonNull FileAndLine location, in wrapSdkLog()
48 location, in wrapSdkLog()
54 location, in wrapSdkLog()
60 location, in wrapSdkLog()
120 @NonNull FileAndLine location,
125 location = new FileAndLine(filePath1, location.getLine());
128 parentLog.error(severity, location, message, msgParams);
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/
DSystemImage.java47 public SystemImage(File location, LocationType locationType, String abiType) { in SystemImage() argument
48 mLocation = location; in SystemImage()
73 File location = null; in SystemImage() local
76 location = new File(target.getLocation(), SdkConstants.OS_IMAGES_FOLDER); in SystemImage()
80 location = FileOp.append(target.getLocation(), SdkConstants.OS_IMAGES_FOLDER, abiType); in SystemImage()
89 location = getCanonicalFolder(sdkManager.getLocation(), target.getVersion(), abiType); in SystemImage()
96 mLocation = location; in SystemImage()
/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/
DLintCliXmlParserTest.java90 Location location = parser.getLocation(context, attr); in test() local
91 Position start = location.getStart(); in test()
92 Position end = location.getEnd(); in test()
101 location = parser.getLocation(context, button); in test()
102 start = location.getStart(); in test()
103 end = location.getEnd(); in test()
112 assertSame(location.getFile(), location.getFile()); in test()
119 location = parser.getLocation(context, button2); in test()
120 start = location.getStart(); in test()
121 end = location.getEnd(); in test()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DAaptParser.java263 String location = m.group(1); in parseOutput() local
266 if (checkAndMark(location, lineStr, msg, osRoot, project, in parseOutput()
276 String location = m.group(1); in parseOutput() local
290 if (checkAndMark(location, null, msg, osRoot, project, in parseOutput()
310 String location = m.group(1); in parseOutput() local
314 if (checkAndMark(location, lineStr, msg, osRoot, project, in parseOutput()
323 String location = m.group(1); in parseOutput() local
328 if (checkAndMark(location, lineStr, msg, osRoot, project, in parseOutput()
340 String location = m.group(1); in parseOutput() local
352 if (checkAndMark(location, lineStr, msg, osRoot, project, in parseOutput()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/
DNdkManager.java41 String location = getNdkLocation(); in isNdkLocationValid() local
42 if (location.length() == 0) in isNdkLocationValid()
45 return isValidNdkLocation(location); in isNdkLocationValid()
48 public static boolean isValidNdkLocation(String location) { in isValidNdkLocation() argument
49 File dir = new File(location); in isValidNdkLocation()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DGestureToolTip.java136 Point location = mShell.getDisplay().getCursorLocation(); in update() local
161 location.y += OFFSET_Y; in update()
163 location.y -= OFFSET_Y; in update()
164 location.y -= size.y; in update()
168 location.x += OFFSET_X; in update()
170 location.x -= OFFSET_X; in update()
171 location.x -= size.x; in update()
174 mShell.setLocation(location); in update()
DOutlineDropListener.java63 int location = determineLocation(event); in performDrop() local
64 if (location == LOCATION_NONE) { in performDrop()
91 if (location == LOCATION_BEFORE || location == LOCATION_AFTER) { in performDrop()
107 if (location == LOCATION_AFTER) { in performDrop()
167 int location = determineLocation(event); in validateDrop() local
168 if (location == LOCATION_NONE) { in validateDrop()
184 if (location == LOCATION_ON) { in validateDrop()
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/
DDuplicateIdDetector.java170 Location location = occurrence.location; in afterCheckProject() local
171 if (location == null) { in afterCheckProject()
172 location = Location.create(occurrence.file); in afterCheckProject()
174 Object clientData = location.getClientData(); in afterCheckProject()
190 Location prev = location; in afterCheckProject()
192 if (o.location != null) { in afterCheckProject()
193 prev.setSecondary(o.location); in afterCheckProject()
194 prev = o.location; in afterCheckProject()
198 context.report(CROSS_LAYOUT, location, occurrence.message, null); in afterCheckProject()
230 Location location = context.getLocation(element); in visitElement() local
[all …]
DArraySizeDetector.java171 Location location = mLocations.get(name); in afterCheckProject() local
173 location = Location.reverse(location); in afterCheckProject()
178 Location curr = location; in afterCheckProject()
181 for (curr = location; curr != null; curr = curr.getSecondary()) { in afterCheckProject()
210 context.report(INCONSISTENT, location, message, null); in afterCheckProject()
242 Location location = context.getLocation(element); in visitElement() local
243 location.setClientData(element); in visitElement()
244 location.setMessage(String.format("Declaration with array size (%1$d)", in visitElement()
246 location.setSecondary(mLocations.get(name)); in visitElement()
247 mLocations.put(name, location); in visitElement()
DAlwaysShowActionDetector.java148 Location location = null; in afterCheckFile() local
150 Location next = location; in afterCheckFile()
151 location = xmlContext.getLocation(always.get(i)); in afterCheckFile()
153 location.setSecondary(next); in afterCheckFile()
156 context.report(ISSUE, location, in afterCheckFile()
166 for (Location location : mAlwaysFields) { in afterCheckProject()
167 context.report(ISSUE, location, in afterCheckProject()
DExtraTextDetector.java95 Location location = context.getLocation(node); in visitNode() local
101 Position start = location.getStart(); in visitNode()
123 location = Location.create(context.file, start, location.getEnd()); in visitNode()
126 context.report(ISSUE, node, location, in visitNode()
/sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/detector/api/
DLocationTest.java93 Location location = Location.create(paths[i]); in testFaen() local
94 location.setSecondary(last); in testFaen()
95 last = location; in testFaen()
103 private static boolean containsCycle(Location location) { in containsCycle() argument
105 Location a = location; in containsCycle()
106 Location b = location; in containsCycle()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DTargetMenuListener.java75 Point location = new Point(bounds.x, bounds.y + bounds.height); in show() local
76 location = combo.getParent().toDisplay(location); in show()
77 menu.setLocation(location.x, location.y); in show()
DLocaleMenuListener.java110 Point location = new Point(bounds.x, bounds.y + bounds.height); in show() local
111 location = combo.getParent().toDisplay(location); in show()
112 menu.setLocation(location.x, location.y); in show()
/sdk/lint/libs/lint_api/src/com/android/tools/lint/detector/api/
DJavaContext.java77 public void report(@NonNull Issue issue, @Nullable Location location, in report() argument
82 super.report(issue, location, message, data); in report()
100 @Nullable Location location, in report() argument
106 super.report(issue, location, message, data); in report()
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/location/
DTrackContentProvider.java17 package com.android.ddmuilib.location;
19 import com.android.ddmuilib.location.GpxParser.Track;
/sdk/testapps/jarCheckTests3/app/
Dant.properties9 # 'source.dir' for the location of your java source folder and
10 # 'out.dir' for the location of your output folder.
14 # 'key.store' for the location of your keystore and
/sdk/testapps/jarCheckTests2/lib1/
Dant.properties9 # 'source.dir' for the location of your java source folder and
10 # 'out.dir' for the location of your output folder.
14 # 'key.store' for the location of your keystore and
/sdk/testapps/jarCheckTests3/lib1/
Dant.properties9 # 'source.dir' for the location of your java source folder and
10 # 'out.dir' for the location of your output folder.
14 # 'key.store' for the location of your keystore and
/sdk/testapps/buildConfigTest/app/
Dant.properties9 # 'source.dir' for the location of your java source folder and
10 # 'out.dir' for the location of your output folder.
14 # 'key.store' for the location of your keystore and
/sdk/testapps/jarCheckTests2/app/
Dant.properties9 # 'source.dir' for the location of your java source folder and
10 # 'out.dir' for the location of your output folder.
14 # 'key.store' for the location of your keystore and

123456