/frameworks/base/core/java/android/webkit/ |
DateSorter.java | 78 String format = resources.getQuantityString(resId, NUM_DAYS_AGO); local 79 mLabels[2] = String.format(format, NUM_DAYS_AGO);
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
BitmapOverlayFilter.java | 29 import android.filterfw.format.ImageFormat; 133 FrameFormat format = ImageFormat.create(mBitmap.getWidth(), local 138 Frame frame = context.getFrameManager().newFrame(format);
|
/frameworks/base/opengl/java/android/opengl/ |
GLUtils.java | 44 * return the internal format as defined by OpenGL ES of the supplied bitmap. 46 * @return the internal format of the bitmap. 64 * is one. If the bitmap is stored in a compressed format, it may not have 115 throw new IllegalArgumentException("invalid Bitmap format"); 141 throw new IllegalArgumentException("invalid Bitmap format"); 163 throw new IllegalArgumentException("invalid Bitmap format"); 199 throw new IllegalArgumentException("invalid Bitmap format"); 215 Bitmap bitmap, int format, int type) { 222 if (native_texSubImage2D(target, level, xoffset, yoffset, bitmap, format, type)!=0) { 223 throw new IllegalArgumentException("invalid Bitmap format"); [all...] |
/frameworks/testing/androidtestlib/src/com/android/test/runner/ |
TestLoader.java | 72 String errMsg = String.format("Could not find class: %s", className); 131 Log.v(LOG_TAG, String.format("Skipping abstract class %s: not a test", 148 Log.v(LOG_TAG, String.format("Skipping class %s: not a test", loadedClass.getName()));
|
/hardware/qcom/audio/legacy/alsa_sound/ |
AudioHardwareALSA.h | 171 snd_pcm_format_t format; member in struct:android_audio_legacy::alsa_handle_t 269 status_t set(int *format, uint32_t *channels, uint32_t *rate, uint32_t device); 276 int format() const; 310 virtual int format() const function in class:android_audio_legacy::AudioStreamOutALSA 312 return ALSAStreamOps::format(); 369 virtual int format() const function in class:android_audio_legacy::AudioStreamInALSA 371 return ALSAStreamOps::format(); 487 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channels); 494 int *format, 505 int *format=0 [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldObjectStreamFieldTest.java | 144 assertEquals(String.format("Unexpected value for osfArray[%d].getOffset(): ", i), 164 assertTrue(String.format("osfArray[%d].isPrimitive() should return true.", i), 167 assertFalse(String.format("osfArray[%d].isPrimitive() should return false.",
|
/packages/apps/Browser/src/com/android/browser/preferences/ |
AccessibilityPreferencesFragment.java | 85 pref.setSummary(mFormat.format(textZoom / 100.0)); 89 pref.setSummary(mFormat.format(doubleTapZoom / 100.0)); 93 pref.setSummary(mFormat.format(contrast / 100.0));
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/ |
DataKind.java | 68 * If this is a date field, this specifies the format of the date when saving. The 75 * If this is a date field, this specifies the format of the date when saving. The 129 public static String toString(SimpleDateFormat format) { 130 return format == null ? "(null)" : format.toPattern();
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
SizeClustering.java | 98 mNames[k] = String.format( 101 mNames[k] = String.format( 106 mNames[k] = String.format(
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/systrace/ |
SystraceOutputParser.java | 167 String header = String.format(HTML_PREFIX, mCss, mJs); 174 return String.format("<script language=\"javascript\">%s</script>", 183 return String.format("<style type=\"text/css\">%s</style>",
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
GLUtils.java | 27 public static String formatData(byte[] data, GLEnum format) { 28 switch (format) { 52 sb.append(String.format("%.4f", bb.get()));
|
/system/extras/tests/bionic/libc/bionic/ |
test_mutex.c | 35 static void panic( const char* format, ... ) 38 va_start(args, format); 39 vfprintf(stderr, format, args);
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_cursor.c | 305 x += this->screen->offset / this->screen->format->BytesPerPixel; 309 this->screen->format->BytesPerPixel; 380 switch (screen->format->BytesPerPixel) { 387 pixels8[0] = (Uint8)SDL_MapRGB(screen->format, 255, 255, 255); 388 pixels8[1] = (Uint8)SDL_MapRGB(screen->format, 0, 0, 0); 509 dstbpp = screen->format->BytesPerPixel; 517 if ( screen->format->BytesPerPixel == 1 ) { 519 pixels8[0] = (Uint8)SDL_MapRGB(screen->format, 255, 255, 255); 520 pixels8[1] = (Uint8)SDL_MapRGB(screen->format, 0, 0, 0); 562 the pixel format of the shadow surface to that of the video surface [all...] |
/system/core/liblog/ |
logprint.c | 41 AndroidLogPrintFormat format; member in struct:AndroidLogFormat_t 176 p_ret->format = FORMAT_BRIEF; 200 AndroidLogPrintFormat format) 202 p_format->format=format; 210 static AndroidLogPrintFormat format; local 212 if (strcmp(formatString, "brief") == 0) format = FORMAT_BRIEF; 213 else if (strcmp(formatString, "process") == 0) format = FORMAT_PROCESS; 214 else if (strcmp(formatString, "tag") == 0) format = FORMAT_TAG; 215 else if (strcmp(formatString, "thread") == 0) format = FORMAT_THREAD [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/ |
Ruby.stg | 370 <if(d.label)><d.label; format="label"><else><d.name; format="snakecase"><endif> 380 <if(scope.attributes)>@@<scope.name> = Scope( <scope.attributes:{it | <it.decl; format="rubyString">}; separator=", "> )<\n><endif> 417 returnStructName(r) ::= "<r.name; format=\"camelcase\">ReturnValue" 487 <label.label.text; format="label"> = nil<\n> 499 {<it.label.text; format="label"> = nil<\n>} 505 {list_of_<it.label.text; format="label"> = []<\n>} 563 /** helper template to format a ruby method call */ 644 <if(label)><label; format="label"> = <endif>match( <token>, TOKENS_FOLLOWING_<token>_IN_<ruleName>_<elementIndex> ) 650 <addToList(elem={<label; format="label">},...) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
EncodeDecodeTest.java | 223 * See http://b.android.com/37769 for a discussion of input format pitfalls. 245 MediaFormat format = MediaFormat.createVideoFormat(MIME_TYPE, mWidth, mHeight); local 249 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, colorFormat); 250 format.setInteger(MediaFormat.KEY_BIT_RATE, mBitRate); 251 format.setInteger(MediaFormat.KEY_FRAME_RATE, FRAME_RATE); 252 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, IFRAME_INTERVAL); 253 if (VERBOSE) Log.d(TAG, "format: " + format); 258 encoder.configure(format, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE); 262 // format details will be passed through the csd-0 meta-data later on 308 MediaFormat format = MediaFormat.createVideoFormat(MIME_TYPE, mWidth, mHeight); local 571 MediaFormat format = local [all...] |
/external/harfbuzz_ng/src/ |
hb-ot-layout-common-private.hh | 301 * passes check: this is the format used when there is a design size 411 USHORT format; /* Format number is set to 0. */ member in struct:OT::FeatureParamsCharacterVariants 684 USHORT coverageFormat; /* Format identifier--format = 1 */ 795 USHORT coverageFormat; /* Format identifier--format = 2 */ 808 switch (u.format) { 825 u.format.set (num_glyphs * 2 < num_ranges * 3 ? 1 : 2); 826 switch (u.format) { 910 unsigned int format; member in struct:OT::Coverage::Iter 919 USHORT format; \/* Format identifier *\/ member in union:OT::Coverage::__anon8428 1056 USHORT format; \/* Format identifier *\/ member in union:OT::ClassDef::__anon8429 [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
OpenWnnDictionaryImpl.java | 225 mExactQuerySqlOrderByFreq = String.format( 227 String.format( "%s=?", COLUMN_NAME_STROKE ), String.format( "%s DESC", COLUMN_NAME_ID ) ); 229 mExactQuerySqlOrderByKey = String.format( 231 String.format( "%s=?", COLUMN_NAME_STROKE ), COLUMN_NAME_STROKE ); 234 mFullPrefixQuerySqlOrderByFreq = String.format( 236 queryFullBaseString, String.format( "%s DESC", COLUMN_NAME_ID ) ); 238 mFastPrefixQuerySqlOrderByFreq = String.format( 240 queryFastBaseString, String.format( "%s DESC", COLUMN_NAME_ID ) ); 242 mFullPrefixQuerySqlOrderByKey = String.format( [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/ |
MethodAnalyzer.java | 33 import org.jf.dexlib.Code.Format.*; 224 ex.addContext(String.format("opcode: %s", instructionToAnalyze.instruction.opcode.name)); 225 ex.addContext(String.format("CodeAddress: %d", codeAddress)); 226 ex.addContext(String.format("Method: %s", encodedMethod.method.getMethodString())); 330 ex.addContext(String.format("opcode: %s", instructionToVerify.instruction.opcode.name)); 331 ex.addContext(String.format("CodeAddress: %d", codeAddress)); 332 ex.addContext(String.format("Method: %s", encodedMethod.method.getMethodString())); [all...] |
/build/core/combo/ |
HOST_linux-x86.mk | 22 stat --format "%s" "$(1)" | tr -d '\n'
|
/cts/apps/CtsVerifier/jni/cameraanalyzer/ |
com_android_cts_verifier_camera_analyzer_CameraTests.cpp | 37 if (inputInfo.format != ANDROID_BITMAP_FORMAT_RGBA_8888 && 38 inputInfo.format != ANDROID_BITMAP_FORMAT_RGB_565) { 40 inputInfo.format); 68 switch (inputInfo.format) { 88 ALOGV("RGB_565 Format with width, height and stride as %d, %d, %d", 96 ALOGV("RGB_8888 Format with width, height and stride as %d, %d, %d", 119 ALOGV("Input format switched!");
|
/cts/tests/tests/nativeopengl/src/com/android/opengl/cts/ |
GLTestActivity.java | 34 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
|
/cts/tests/tests/permission2/src/android/permission2/cts/ |
NoReceiveSmsPermissionTest.java | 96 Log.i(LOG_TAG, String.format("Sending SMS to self: %s", currentNumber)); 123 Log.w(LOG_TAG, String.format("unknown intent received: %s", intent.getAction())); 143 Log.i(LOG_TAG, String.format("message %1$s successful", action)); 148 Log.e(LOG_TAG, String.format("message %1$s failed: %2$s", action, reason));
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
TestPackageXmlParser.java | 98 Log.e(LOG_TAG, String.format("Invalid XML: missing 'name' attribute for '%s'", 106 Log.e(LOG_TAG, String.format("Invalid XML: missing 'name' attribute for '%s'", 112 Log.e(LOG_TAG, String.format( 116 Log.e(LOG_TAG, String.format("Invalid XML: missing 'name' attribute for '%s'",
|
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/device/ |
DeviceInfoCollectorFuncTest.java | 42 System.out.println(String.format("%s=%s", metricEntry.getKey(), metricEntry.getValue()));
|