/frameworks/av/include/media/stagefright/ |
H A D | Utils.h | 47 const sp<MetaData> &meta, sp<AMessage> *format); 49 const sp<AMessage> &format, sp<MetaData> &meta); 59 status_t mapMimeToAudioFormat(audio_format_t& format, const char* mime); 62 void mapAACProfileToAudioFormat(audio_format_t& format, uint64_t eAacProfile);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARawAudioAssembler.h | 37 const char *desc, const sp<MetaData> &format);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapFactory.h | 23 jstring encodedFormatToString(JNIEnv* env, SkEncodedFormat format);
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
H A D | NetworkState.java | 93 Log.v(LOG_TAG, String.format("Print state depository: %s", printStates())); 124 Log.v(LOG_TAG, String.format("%s is expected, but it is %s", 127 mReason = String.format("%s is expected, but it is %s", 144 str.append(String.format(" Initial state should be CONNECTED, but it is %s.", 151 str.append(String.format(" Last state should be DISCONNECTED, but it is %s", 167 str.append(String.format(" Transition state from %s to %s is not valid", 185 str.append(String.format(" Initial state should be DISCONNECTED, but it is %s.", 192 str.append(String.format(" Last state should be %s, but it is %s", mTransitionTarget, 208 str.append(String.format(" Transition state from %s to %s is not valid.",
|
/frameworks/base/core/tests/coretests/src/android/text/format/ |
H A D | DateFormatTest.java | 17 package android.text.format;
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
H A D | ActivityRecognitionEvent.java | 63 return String.format(
|
/frameworks/base/media/java/android/media/ |
H A D | ImageUtils.java | 43 public static int getNumPlanesForFormat(int format) { argument 44 switch (format) { 70 String.format("Invalid format specified %d", format)); 79 * Only support the copy between two non-{@link ImageFormat#PRIVATE PRIVATE} format 80 * images with same properties (format, size, etc.). The data from the 89 * have different format, or one of the images is not copyable. 96 throw new IllegalArgumentException("Src and dst images should have the same format"); 100 throw new IllegalArgumentException("PRIVATE format image 183 getEstimatedNativeAllocBytes(int width, int height, int format, int numImages) argument [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/text/ |
H A D | StringLogger.java | 24 import android.filterfw.format.ObjectFormat;
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
H A D | AssetFactory.java | 39 throw new AssociationServiceException(String.format(
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | DateView.java | 54 // need to get a fresh date format 104 DateFormat format = DateFormat.getInstanceForSkeleton(mDatePattern, l); 105 format.setContext(DisplayContext.CAPITALIZATION_FOR_STANDALONE); 106 mDateFormat = format; 111 final String text = mDateFormat.format(mCurrentTime);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
H A D | ScreenshotTest.java | 68 assertNotNull(String.format("Could not find screenshot after %d seconds", 73 assertTrue(String.format("Detected new screenshot %s but its not a file", 75 assertTrue(String.format("Detected new screenshot %s but its not an image", 96 Log.d(LOG_TAG, String.format("Detected new file added %s", path));
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | UploadedTexture.java | 194 int format = GLUtils.getInternalFormat(bitmap); 196 canvas.texSubImage2D(this, mBorder, mBorder, bitmap, format, type); 231 int format = GLUtils.getInternalFormat(bitmap); 235 canvas.initializeTextureSize(this, format, type); 236 canvas.texSubImage2D(this, mBorder, mBorder, bitmap, format, type); 241 canvas.texSubImage2D(this, 0, 0, line, format, type); 245 canvas.texSubImage2D(this, 0, 0, line, format, type); 251 canvas.texSubImage2D(this, mBorder + bWidth, 0, line, format, type); 257 canvas.texSubImage2D(this, 0, mBorder + bHeight, line, format, type);
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
H A D | WifiP2pUpnpServiceRequest.java | 78 sb.append(String.format(Locale.US, "%02x", WifiP2pUpnpServiceInfo.VERSION_1_0));
|
/frameworks/native/include/android/ |
H A D | bitmap.h | 51 /** Bitmap pixel format. */ 53 /** No format. */ 73 /** The bitmap pixel format. See {@link AndroidBitmapFormat} */ 74 int32_t format; member in struct:__anon1293
|
/frameworks/native/include/gui/ |
H A D | GraphicBufferAlloc.h | 37 uint32_t height, PixelFormat format, uint32_t usage,
|
/frameworks/native/libs/gui/ |
H A D | IGraphicBufferAlloc.cpp | 48 uint32_t height, PixelFormat format, uint32_t usage, 54 data.writeInt32(static_cast<int32_t>(format)); 108 PixelFormat format = static_cast<PixelFormat>(data.readInt32()); local 114 format, usage, requestorName, &error); 47 createGraphicBuffer(uint32_t width, uint32_t height, PixelFormat format, uint32_t usage, std::string requestorName, status_t* error) argument
|
/frameworks/native/libs/ui/ |
H A D | GraphicBufferAllocator.cpp | 60 rec.width, rec.stride, rec.height, rec.format, rec.usage, 65 rec.width, rec.stride, rec.height, rec.format, rec.usage, 85 PixelFormat format, uint32_t usage, buffer_handle_t* handle, 104 error = descriptor->setFormat(static_cast<android_pixel_format_t>(format)); 106 ALOGE("Failed to set format to %d: %d", format, error); 124 ALOGE("Failed to allocate (%u x %u) format %d usage %u: %d", 125 width, height, format, usage, error); 137 uint32_t bpp = bytesPerPixel(format); 142 rec.format 84 allocate(uint32_t width, uint32_t height, PixelFormat format, uint32_t usage, buffer_handle_t* handle, uint32_t* stride, uint64_t graphicBufferId, std::string requestorName) argument [all...] |
/frameworks/native/opengl/libagl/ |
H A D | TextureObjectManager.cpp | 153 sur.format= native_buffer->format; 162 int format, int compressedFormat, int bpr) 183 surface.format = format; 215 mipmap.format = format; 223 if (curr->format != surface.format) { 160 reallocate( GLint level, int w, int h, int s, int format, int compressedFormat, int bpr) argument
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | GsmCdmaConnectionTest.java | 59 connection = new GsmCdmaConnection(mPhone, String.format( 64 String.format("+1 (700).555-41NN1234%c", PhoneNumberUtils.PAUSE)); 75 connection = new GsmCdmaConnection(mPhone, String.format( 93 connection = new GsmCdmaConnection(mPhone, String.format( 111 connection = new GsmCdmaConnection(mPhone, String.format( 129 connection = new GsmCdmaConnection(mPhone, String.format( 146 connection = new GsmCdmaConnection(mPhone, String.format( 166 String.format("+1 (700).555-41NN%c1234", PhoneNumberUtils.WAIT),mCT,null, 182 connection = new GsmCdmaConnection(mPhone, String.format(
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
H A D | TimeZoneInfo.java | 22 import android.text.format.DateUtils; 23 import android.text.format.Time; 91 String format = "%I:%M %p"; 94 format = "%b %d %H:%M"; 96 format = "%b %d %I:%M %p"; 99 format = "%H:%M"; 102 // format = "%Y-%m-%d %H:%M"; 103 localTimeStr = recycledTime.format(format); 243 return df.format(ne [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | HTTPLiveSource.cpp | 126 sp<AMessage> format; local 128 format = new AMessage(); 129 format->setInt32("err", err); 130 return format; 133 if (err != OK || convertMetaDataToMessage(meta, &format) != OK) { 136 return format; 310 sp<AMessage> format = getFormat(false /* audio */); local 313 if (format != NULL && 314 format->findInt32("width", &width) && format [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | TextClock.java | 33 import android.text.format.DateFormat; 52 * <p>This view honors the 24-hour format system setting. As such, it is 61 * <p>The rules used by this widget to decide how to format the date and 291 * you supply a format string generated by 293 * takes care of generating a format string adapted to the desired locale.</p> 296 * @param format A date/time formatting pattern as described in {@link DateFormat} 306 public void setFormat12Hour(CharSequence format) { argument 307 mFormat12 = format; 317 public void setContentDescriptionFormat12Hour(CharSequence format) { argument 318 mDescFormat12 = format; 364 setFormat24Hour(CharSequence format) argument 375 setContentDescriptionFormat24Hour(CharSequence format) argument [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/ |
H A D | Utils.java | 69 sb.append(String.format("%02x", (mac >>> n) & Constants.BYTE_MASK)); 100 sb.append(String.format(" %012x", bssid)); 126 sb.append(String.format("%06x", oi)); 128 sb.append(String.format("%010x", oi)); 141 sb.append("\\u").append(String.format("%04x", (int) ch)); 160 sb.append(String.format("%02x", b & BYTE_MASK)); 168 sb.append(String.format("%02x", o & BYTE_MASK)); 236 sbx.append(String.format("%02x ", dup.get() & BYTE_MASK)); 241 sbx.append(String.format("%c", toAscii(dup.get() & BYTE_MASK))); 259 return String.format(" [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | GLTest.cpp | 182 msg += String8::format("error reading pixel: %#x", err); 184 msg += String8::format(", %#x", err); 189 msg += String8::format("r(%d isn't %d)", pixel[0], r); 195 msg += String8::format("g(%d isn't %d)", pixel[1], g); 201 msg += String8::format("b(%d isn't %d)", pixel[2], b); 207 msg += String8::format("a(%d isn't %d)", pixel[3], a); 221 msg += String8::format("left(%d isn't %d)", r1.left, r2.left); 227 msg += String8::format("top(%d isn't %d)", r1.top, r2.top); 233 msg += String8::format("right(%d isn't %d)", r1.right, r2.right); 239 msg += String8::format("botto [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | muxer.cpp | 102 sp<AMessage> format; local 103 status_t err = extractor->getTrackFormat(i, &format); 105 ALOGV("extractor getTrackFormat: %s", format->debugString().c_str()); 108 CHECK(format->findString("mime", &mime)); 123 CHECK(format->findInt32("width", &width)); 124 CHECK(format->findInt32("height", &height)); 129 CHECK(format->findInt64("durationUs", &duration)); 145 ssize_t newTrackIndex = muxer->addTrack(format);
|