Home
last modified time | relevance | path

Searched refs:target (Results 1 – 25 of 146) sorted by relevance

123456

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DAndroidClasspathContainerInitializer.java163 IAndroidTarget target = null; in allocateAndroidContainer() local
183 target = state.getTarget(); in allocateAndroidContainer()
187 if (sdkIsLoaded && target != null) { in allocateAndroidContainer()
191 target.getVersion().getApiLevel() >= 18) { in allocateAndroidContainer()
193 Sdk.getCurrent().checkAndLoadTargetData(target, null /*project*/); in allocateAndroidContainer()
195 String targetName = target.getClasspathName(); in allocateAndroidContainer()
198 createClasspathEntries(iProject, target, targetName), in allocateAndroidContainer()
229 target); in allocateAndroidContainer()
302 IAndroidTarget target, String targetName) {
305 String[] paths = getTargetPaths(target);
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
DSdkSelectionPage.java100 mValues.target = mSdkTargetSelector.getSelected(); in createControl()
122 if (mValues.target != null) { in setVisible()
123 mSdkTargetSelector.setSelection(mValues.target); in setVisible()
136 if (mValues.target == null) { in isPageComplete()
154 IAndroidTarget target = mValues.target; in onSdkTargetModified() local
158 if (target != null) { in onSdkTargetModified()
160 AndroidVersion version = target.getVersion(); in onSdkTargetModified()
192 loadSamplesForTarget(target); in onSdkTargetModified()
200 private void loadSamplesForTarget(IAndroidTarget target) { in loadSamplesForTarget() argument
207 if (target != null) { in loadSamplesForTarget()
[all …]
DApplicationInfoPage.java245 protected void setSdkTargets(IAndroidTarget[] targets, IAndroidTarget target) { in setSdkTargets() argument
253 if (targets[i] == target) { in setSdkTargets()
269 private String targetLabel(IAndroidTarget target) { in targetLabel() argument
272 return String.format("%1$s (%2$s)", target.getVersion().getApiString(), in targetLabel()
273 target.getFullName()); in targetLabel()
312 IAndroidTarget target = targets[index]; in modifyText() local
313 if (targetLabel(target).equals(mValues.minSdk)) { in modifyText()
314 mValues.minSdk = target.getVersion().getApiString(); in modifyText()
387 IAndroidTarget target = targets[index]; in widgetSelected() local
390 mValues.minSdk = target.getVersion().getApiString(); in widgetSelected()
[all …]
DImportedProject.java222 IAndroidTarget target = targets[targets.length - 1]; in getTarget() local
223 int targetDelta = target.getVersion().getApiLevel() - targetLevel; in getTarget()
228 target = t; in getTarget()
232 return target; in getTarget()
240 IAndroidTarget target = targets[targets.length - 1]; in getTarget() local
244 int targetDelta = target.getVersion().getApiLevel() - minSdkLevel; in getTarget()
249 target = t; in getTarget()
254 return target; in getTarget()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DTargetMenuListener.java48 @Nullable IAndroidTarget target, in TargetMenuListener() argument
51 mTarget = target; in TargetMenuListener()
57 IAndroidTarget target = mTarget; in widgetSelected() local
64 target = ConfigurationMatcher.findDefaultRenderTarget(mConfigChooser); in widgetSelected()
73 mConfigChooser.selectTarget(target); in widgetSelected()
97 IAndroidTarget target = targets.get(i); in show() local
99 AndroidVersion version = target.getVersion(); in show()
108 String title = ConfigurationChooser.getRenderingTargetLabel(target, false); in show()
112 boolean selected = current == target; in show()
117 item.addSelectionListener(new TargetMenuListener(chooser, target, false)); in show()
DConfiguration.java487 public void setTarget(IAndroidTarget target, boolean skipSync) { in setTarget() argument
488 mTarget = target; in setTarget()
602 IAndroidTarget target = getTarget(); in syncFolderConfig() local
603 if (target == null && mConfigChooser != null) { in syncFolderConfig()
604 target = mConfigChooser.getProjectTarget(); in syncFolderConfig()
606 if (target != null) { in syncFolderConfig()
607 int apiLevel = target.getVersion().getApiLevel(); in syncFolderConfig()
848 IAndroidTarget target = null; in loadRenderState() local
868 target = ConfigurationMatcher.findDefaultRenderTarget(chooser); in loadRenderState()
871 target = stringToTarget(chooser, targetString); in loadRenderState()
[all …]
DConfigurationChooser.java408 IAndroidTarget target = mConfiguration.getTarget(); in getTarget() local
409 if (target == null) { in getTarget()
410 target = mProjectTarget; in getTarget()
413 return target; in getTarget()
673 public void onSdkLoaded(IAndroidTarget target) { in onSdkLoaded() argument
678 mProjectTarget = target; in onSdkLoaded()
789 IAndroidTarget target = mConfiguration.getTarget(); in onXmlModelLoaded() local
790 selectTarget(target); in onXmlModelLoaded()
791 targetData = Sdk.getCurrent().getTargetData(target); in onXmlModelLoaded()
796 IAndroidTarget target = ConfigurationMatcher.findDefaultRenderTarget(this); in onXmlModelLoaded() local
[all …]
DConfigurationDescription.java86 public IAndroidTarget target; field in ConfigurationDescription
149 description.target = configuration.getTarget(); in fromConfiguration()
195 IAndroidTarget target = Configuration.stringToTarget(targetId); in fromXml() local
196 description.target = target; in fromXml()
279 if (target != null) { in toXml()
280 element.setAttribute(ATTR_TARGET, Configuration.targetToString(target)); in toXml()
347 String defaultTheme = manifest.getDefaultTheme(target, screenSize); in computePreferredTheme()
376 if (target != null) { in checkThemePrefix()
379 AndroidTargetData data = sdk.getTargetData(target); in checkThemePrefix()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/
DSampleProjectTest.java67 for (IAndroidTarget target : targets) { in testSamples()
68 doTestSamplesForTarget(target); in testSamples()
72 private void doTestSamplesForTarget(IAndroidTarget target) throws CoreException { in doTestSamplesForTarget() argument
73 String path = target.getPath(IAndroidTarget.SAMPLES); in doTestSamplesForTarget()
79 doTestSampleProject(file.getName(), file.getAbsolutePath(), target); in doTestSamplesForTarget() local
93 private void doTestSampleProject(String name, String path, IAndroidTarget target) in doTestSampleProject() argument
98 target.getName())); in doTestSampleProject()
100 prepareProject(path, target); in doTestSampleProject()
111 state.target = target; in doTestSampleProject()
127 "for target %s", name, target.getName())); in doTestSampleProject()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/
Dentries.in16 void, glBeginQuery, GLenum target, GLuint id
17 void, glBeginQueryEXT, GLenum target, GLuint id
20 void, glBindBuffer, GLenum target, GLuint buffer
21 void, glBindBufferBase, GLenum target, GLuint index, GLuint buffer
22 void, glBindBufferRange, GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr si…
23 void, glBindFramebuffer, GLenum target, GLuint framebuffer
24 void, glBindFramebufferOES, GLenum target, GLuint framebuffer
26 void, glBindRenderbuffer, GLenum target, GLuint renderbuffer
27 void, glBindRenderbufferOES, GLenum target, GLuint renderbuffer
29 void, glBindTexture, GLenum target, GLuint texture
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DNewProjectPage.java186 for (IAndroidTarget target : targets) { in createControl()
188 if (target.isPlatform() in createControl()
189 && target.getVersion().getApiLevel() <= AdtUtils.getHighestKnownApiLevel()) { in createControl()
190 targetLabel = AdtUtils.getAndroidName(target.getVersion().getApiLevel()); in createControl()
192 targetLabel = AdtUtils.getTargetLabel(target); in createControl()
195 mMinNameToApi.put(targetLabel, target.getVersion().getApiLevel()); in createControl()
201 IAndroidTarget target = targets[i]; in createControl() local
202 AndroidVersion version = target.getVersion(); in createControl()
209 } else if (target.isPlatform() in createControl()
210 && (mValues.target == null || in createControl()
[all …]
DNewProjectWizardState.java75 public IAndroidTarget target; field in NewProjectWizardState
123 return target != null ? target.getVersion().getApiLevel() : minSdkLevel; in getBuildApi()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/
DSdkLoadingTestCase.java95 protected boolean validateSdk(IAndroidTarget target) { in validateSdk() argument
105 for (IAndroidTarget target : sdk.getTargets()) { in validateSdk()
106 if (!validateSdk(target)) { in validateSdk()
110 IStatus status = new AndroidTargetParser(target).run(new NullProgressMonitor()); in validateSdk()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DSdk.java172 void onTargetLoaded(IAndroidTarget target); in onTargetLoaded() argument
207 public void onTargetLoaded(IAndroidTarget target) { in onTargetLoaded() argument
209 if (target != null && target.equals(Sdk.getCurrent().getTarget(project))) { in onTargetLoaded()
450 public void initProject(@Nullable IProject project, @Nullable IAndroidTarget target) in initProject() argument
452 if (project == null || target == null) { in initProject()
477 properties.setProperty(ProjectProperties.PROPERTY_TARGET, target.hashString()); in initProject()
587 IAndroidTarget target = null; in loadTargetAndBuildTools() local
591 state.setTarget(target = getTargetFromHashString(hash)); in loadTargetAndBuildTools()
614 return target; in loadTargetAndBuildTools()
671 public LoadStatus checkAndLoadTargetData(final IAndroidTarget target, IJavaProject project) { in checkAndLoadTargetData() argument
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DDependencyGraph.java109 ViewData target = mIdToView.get(targetId); in DependencyGraph() local
110 if (target == view) { in DependencyGraph()
116 } else if (target != null) { in DependencyGraph()
117 Constraint constraint = new Constraint(type, view, target); in DependencyGraph()
119 target.dependedOnBy.add(constraint); in DependencyGraph()
227 List<Constraint> path, boolean vertical, INode target) { in findForwards() argument
240 if (constraint.to.node == target) { in findForwards()
251 List<Constraint> chain = findForwards(to, visiting, path, vertical, target); in findForwards()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DAdtProjectTest.java115 IAndroidTarget target = current.getTarget(getProject()); in setUp() local
123 LoadStatus status = current.checkAndLoadTargetData(target, javaProject); in setUp()
125 fail("Couldn't load target " + target); in setUp()
133 AndroidTargetData targetData = current.getTargetData(target); in setUp()
162 protected boolean validateSdk(IAndroidTarget target) { in validateSdk() argument
265 IAndroidTarget target = null; in createProject() local
273 target = t; in createProject()
277 assertNotNull(target); in createProject()
288 state.target = target; in createProject()
308 IAndroidTarget target = null; in createTestProject() local
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/properties/
DAndroidPropertyPage.java175 IAndroidTarget target = state.getTarget(); in fillUi() local
176 if (target != null) { in fillUi()
177 mSelector.setSelection(target); in fillUi()
188 IAndroidTarget target = mSelector.getSelected(); in updateValidity() local
189 setValid(target != null); in updateValidity()
/sdk/apps/DeviceConfig/
Dproject.properties10 # Project target.
11 target=android-15 key
/sdk/testapps/testSensors/
Dproject.properties10 # Project target.
11 target=android-8 key
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/
DUiManifestElementNode.java64 AndroidTargetData target = getAndroidTarget(); in getShortDescription() local
66 if (target != null) { in getShortDescription()
67 manifestDescriptors = target.getManifestDescriptors(); in getShortDescription()
/sdk/testapps/jarCheckTests2/lib1/
Dproject.properties10 # Project target.
11 target=android-15 key
/sdk/testapps/basicProjectWithAidl/
Dproject.properties10 # Project target.
11 target=android-AOSP key
/sdk/testapps/jarCheckTests2/lib2/
Dproject.properties10 # Project target.
11 target=android-15 key
/sdk/testapps/jarCheckTests1/lib1/
Dproject.properties10 # Project target.
11 target=android-15 key
/sdk/testapps/aidlTest/libWithAidl/
Dproject.properties10 # Project target.
11 target=android-15 key

123456