Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 248) sorted by relevance

12345678910

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridMatch.java91 return String.format("Align baseline in row %1$d", cellIndex + 1); in getDisplayName()
96 return String.format("Insert into column %1$d", cellIndex + 1); in getDisplayName()
102 return String.format("Add next to column %1$d", cellIndex + 1); in getDisplayName()
104 return String.format("Align left at x=%1$d", matchedLine - layout.getBounds().x); in getDisplayName()
107 return String.format("Insert right-aligned into column %1$d", cellIndex + 1); in getDisplayName()
109 return String.format("Align right at x=%1$d", matchedLine - layout.getBounds().x); in getDisplayName()
112 return String.format("Insert into row %1$d", cellIndex + 1); in getDisplayName()
118 return String.format("Add below row %1$d", cellIndex + 1); in getDisplayName()
120 return String.format("Align top at y=%1d", matchedLine - layout.getBounds().y); in getDisplayName()
123 return String.format("Insert into bottom of row %1$d", cellIndex + 1); in getDisplayName()
[all …]
/sdk/files/
Dandroid.el73 (format "%s -attach localhost:%s -sourcepath%s"
76 (format "%s/src" root))))
96 (compile (format "adb install -r %s" apk)))
104 (compile (format "adb uninstall %s" package-name)))
116 (compile (format "adb shell am start -n %s/%s" package class)))
128 (compile (format "adb shell am start -D -n %s/%s" package class)))
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/format/
DGLMessageFormatter.java17 package com.android.ide.eclipse.gltrace.format;
56 return String.format(" = (%s) %s", returnSpec.getCType(), //$NON-NLS-1$ in formatReturnValue()
63 return String.format("%s(%s)", apiSpec.getFunction(), //$NON-NLS-1$ in formatCall()
103 return String.format("%f", var.getFloatValue(0)); //$NON-NLS-1$ in formatDataValue()
122 return String.format("0x%x", var.getIntValue(0)); //$NON-NLS-1$ in formatPointer()
149 … return String.format("[ %d bytes ]", var.getRawBytesList().get(0).size()); //$NON-NLS-1$ in formatPointer()
159 return String.format("0x%x", var.getIntValue(0)); //$NON-NLS-1$ in formatPointer()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/
DActivityLaunchAction.java57 String msg = String.format("Starting activity %1$s on device %2$s", mActivity, in doLaunchAction()
80 AdtPlugin.printErrorToConsole(info.getProject(), String.format( in doLaunchAction()
91 String.format("Launch error: %s", e.getMessage())); in doLaunchAction()
122 return String.format("%1$s activity launch", mActivity); in getLaunchDescription()
DAndroidLaunchController.java254 String msg = String.format( in getLaunchConfig()
305 String message = String.format("Performing %1$s", launchAction.getLaunchDescription()); in launch()
393 AdtPlugin.printErrorToConsole(project, String.format( in launch()
410 AdtPlugin.printToConsole(project, String.format( in launch()
423 AdtPlugin.printToConsole(project, String.format( in launch()
513 AdtPlugin.printToConsole(project, String.format( in launch()
520 AdtPlugin.printToConsole(project, String.format( in launch()
544 AdtPlugin.printErrorToConsole(project, String.format( in launch()
551 AdtPlugin.printToConsole(project, String.format( in launch()
567 …message = String.format("Automatic Target Mode: using existing emulator '%1$s' running compatible … in launch()
[all …]
DAMReceiver.java91 msg = String.format( in processNewLines()
96 msg = String.format( in processNewLines()
101 msg = String.format( in processNewLines()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/device/
DDeviceBridge.java152 Log.e("hierarchy", String.format( in setupDeviceForward()
156 Log.e("hierarchy", String.format( in setupDeviceForward()
174 Log.e("hierarchy", String.format( in removeDeviceForward()
178 Log.e("hierarchy", String.format( in removeDeviceForward()
200 return String.format("service call window %d i32 %d", in buildStartServerShellCommand()
205 return String.format("service call window %d", Configuration.SERVICE_CODE_STOP_SERVER); in buildStopServerShellCommand()
209 return String.format("service call window %d", in buildIsServerRunningShellCommand()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/mock/
DTestLogger.java32 String message = String.format(errorFormat, args); in error()
41 System.out.println(String.format(msgFormat, args)); in info()
51 System.err.println(String.format(warningFormat, args)); in warning()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DAndroidXmlFormatter.java39 public final void format(IDocument document, IRegion region) { in format() method in AndroidXmlFormatter
52 format(document, context); in format()
61 public void format(IDocument document, IFormattingContext context) { in format() method in AndroidXmlFormatter
80 strategy.format(); in formatMaster()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/
DAdtConsoleSdkLog.java36 AdtPlugin.printErrorToConsole(TAG, String.format(errorFormat, args)); in error()
42 String msg = String.format(msgFormat, args); in info()
57 AdtPlugin.printToConsole(TAG, String.format("Warning: " + warningFormat, args)); in warning()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DDexWrapper.java74 return new Status(IStatus.ERROR, AdtPlugin.PLUGIN_ID, String.format( in loadDex()
114 String.format(Messages.DexWrapper_Failed_to_load_s, osFilepath), e); in loadDex()
117 String.format(Messages.DexWrapper_Failed_to_load_s, osFilepath), e); in loadDex()
169 String.format(Messages.DexWrapper_Unable_To_Execute_Dex_s, in run()
203 msg = String.format("%s. Check the Eclipse log for stack trace.", in run()
208 String.format(Messages.DexWrapper_Unable_To_Execute_Dex_s, msg), t)); in run()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/
DResourceNameValidator.java137 return String.format("'%1$c' is not a valid resource name character", c); in isValid()
144 return String.format( in isValid()
153 return String.format( in isValid()
162 return String.format("%1$s is not a valid name (reserved Java keyword)", newText); in isValid()
169 return String.format("%1$s already exists", newText); in isValid()
171 return String.format("%1$s does not exist", newText); in isValid()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/
DSampleProjectTest.java97 sLogger.log(Level.INFO, String.format("Testing sample %s for target %s", name, in doTestSampleProject()
126 String.format("Unexpected exception when creating sample project %s " + in doTestSampleProject()
143 assertNotNull(String.format("could not read manifest %s", manifestPath), in prepareProject()
151 assertTrue(String.format("%s project not created", name), iproject.exists()); in validateProjectExists()
152 assertTrue(String.format("%s project not opened", name), iproject.isOpen()); in validateProjectExists()
166 StringBuilder failureBuilder = new StringBuilder(String.format("%s project has errors:", in validateNoProblems()
229 fail(String.format("Expected build event never happened for %s", iproject.getName())); in waitForBuild()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/pages/
DOverviewLinksPart.java51 …buf.append(String.format("<form><li style=\"image\" value=\"app_img\"><a href=\"page:%1$s\">", //$… in OverviewLinksPart()
58 …buf.append(String.format("<li style=\"image\" value=\"perm_img\"><a href=\"page:%1$s\">", //$NON-N… in OverviewLinksPart()
65 …buf.append(String.format("<li style=\"image\" value=\"inst_img\"><a href=\"page:%1$s\">", //$NON-N… in OverviewLinksPart()
72 …buf.append(String.format("<li style=\"image\" value=\"srce_img\"><a href=\"page:%1$s\">", //$NON-N… in OverviewLinksPart()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
DGLUtils.java27 public static String formatData(byte[] data, GLEnum format) { in formatData() argument
28 switch (format) { in formatData()
52 sb.append(String.format("%.4f", bb.get())); in formatFloats()
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/launch/
DNdkLaunchConstants.java33 String.format("%1$s/obj/local/%2$s/app_process", //$NON-NLS-1$
37 String.format("%1$s/obj/local/%2$s/", //$NON-NLS-1$
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/export/
DKeyCheckPage.java181 String.format("<p>Certificate expires in %d years.</p>", in onShow()
230 mKeyDetails = String.format( in onShow()
243 StringBuilder sb = new StringBuilder(String.format( in onShow()
257 sb.append(String.format( in onShow()
270 sb.append(String.format("<li>MD5 : %s</li>", md5)); in onShow()
271 sb.append(String.format("<li>SHA1: %s</li>", sha1)); in onShow()
376 mKeyDetails = String.format("ERROR: %1$s", ExportWizard.getExceptionMessage(t)); in onException()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/
DPreCompilerBuilder.java451 String msg = String.format(Messages.s_File_Missing, in build()
476 String msg = String.format(Messages.s_Contains_Xml_Error, in build()
496 String msg = String.format( in build()
505 String msg = String.format( in build()
513 String msg = String.format( in build()
541 String msg = String.format( in build()
550 String msg = String.format( in build()
564 String msg = String.format( in build()
573 String msg = String.format( in build()
591 String msg = String.format( in build()
[all …]
DPreCompilerDeltaVisitor.java296 String msg = String.format(Messages.s_Removed_Recreating_s, fileName); in visit()
300 String msg = String.format(Messages.s_Modified_Manually_Recreating_s, in visit()
335 message = String.format(Messages.s_Modified_Recreating_s, p); in visit()
339 message = String.format(Messages.Added_s_s_Needs_Updating, p, in visit()
344 message = String.format(Messages.s_Removed_s_Needs_Updating, p, in visit()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DBaseProjectHelper.java250 return String.format("%1$s is abstract", className); in testClassForManifest()
261 return String.format( in testClassForManifest()
266 return String.format( in testClassForManifest()
281 return String.format("%1$s is enclosed, but not static", in testClassForManifest()
287 return String.format("%1$s is not public", in testClassForManifest()
316 return String.format("%1$s does not extend %2$s", className, superClassName); in testClassForManifest()
321 return String.format("Class %1$s does not exist", className); in testClassForManifest()
324 return String.format("%1$s: %2$s", className, e.getMessage()); in testClassForManifest()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DAndroidPrintStream.java83 return String.format(Messages.Console_Date_Tag, c); in getMessageTag()
86 return String.format(Messages.Console_Data_Project_Tag, c, tag); in getMessageTag()
DAdtPlugin.java949 public static void log(int severity, String format, Object ... args) {
950 if (format == null) {
954 String message = String.format(format, args);
976 public static void log(Throwable exception, String format, Object ... args) {
978 if (format != null) {
979 message = String.format(format, args);
1006 String format, Object ... args) {
1008 String message = String.format(format, args);
1313 String.format(Messages.Could_Not_Find_Folder, osSdkLocation));
1321 String.format(Messages.Could_Not_Find_Folder_In_SDK,
[all …]
/sdk/apps/DeviceConfig/src/com/example/android/deviceconfig/
DMyActivity.java114 tv.setText(String.format("%f", metrics.xdpi)); in onCreate()
118 tv.setText(String.format("%f", metrics.ydpi)); in onCreate()
123 tv.setText(String.format("%f", metrics.scaledDensity)); in onCreate()
128 tv.setText(String.format("%f", config.fontScale)); in onCreate()
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/systrace/
DSystraceOutputParser.java131 String header = String.format(mHtmlPrefix, mCss, mJs, ""); in getSystraceHtml()
138 return String.format("<script language=\"javascript\">%s</script>", in getJs()
147 return String.format("<style type=\"text/css\">%s</style>", in getCss()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DResizeState.java113 return String.format(VALUE_N_DP, mRule.mRulesEngine.pxToDp(bounds.w)); in getWidthAttribute()
128 return String.format(VALUE_N_DP, mRule.mRulesEngine.pxToDp(bounds.h)); in getHeightAttribute()

12345678910