/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | VertexFrame.java | 34 VertexFrame(FrameFormat format, FrameManager frameManager) { argument 35 super(format, frameManager);
|
/frameworks/base/native/android/ |
H A D | native_window.cpp | 62 int32_t height, int32_t format) { 63 int32_t err = native_window_set_buffers_format(window, format); 61 ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format) argument
|
/frameworks/base/tests/RenderScriptTests/FountainFbo/src/com/example/android/rs/fountainfbo/ |
H A D | FountainFboView.java | 35 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument 36 super.surfaceChanged(holder, format, w, h);
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
H A D | SceneGraphView.java | 53 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument 54 super.surfaceChanged(holder, format, w, h);
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
H A D | RsBenchView.java | 53 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument 54 super.surfaceChanged(holder, format, w, h);
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | Diagnostic.h | 79 // format - format this diagnostic into string, subsituting the formal 81 void format(std::string& pOutStr) const; 83 // format - format the given formal string, subsituting the formal 85 void format(const char* pBegin, const char* pEnd, std::string& pOutStr) const;
|
/frameworks/native/services/surfaceflinger/ |
H A D | MonitoredProducer.h | 40 uint32_t w, uint32_t h, PixelFormat format, uint32_t usage); 55 PixelFormat format, uint32_t usage);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
H A D | CellularNetwork.java | 35 String.format("%03x%03x", mcc, (mnc << 4) | n2) : 36 String.format("%03x%02x", mcc, mnc);
|
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/ |
H A D | RSTestView.java | 55 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument 56 super.surfaceChanged(holder, format, w, h);
|
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/ |
H A D | RSTestView.java | 55 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument 56 super.surfaceChanged(holder, format, w, h);
|
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/ |
H A D | RSTestView.java | 55 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument 56 super.surfaceChanged(holder, format, w, h);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTPSession.cpp | 67 ALOGE("Invalid media format."); 73 ALOGE("Unsupported format."); 199 AString format; local 200 mDesc->getFormat(index, &format); 202 ssize_t i = format.find(" "); 209 while (isdigit(format.c_str()[j])) { 212 if (format.c_str()[j] != ' ') { 216 AString portString(format, i, j - i);
|
/frameworks/base/core/java/android/widget/ |
H A D | Chronometer.java | 25 import android.text.format.DateUtils; 42 * to format the timer value into an arbitrary string. 138 * Sets the format string used for display. The Chronometer will display 142 * If the format string is null, or if you never call setFormat(), the 146 * @param format the format string. 149 public void setFormat(String format) { argument 150 mFormat = format; 151 if (format != null && mFormatBuilder == null) { 152 mFormatBuilder = new StringBuilder(format [all...] |
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
H A D | DisplaySourceService.java | 189 MediaFormat format = MediaFormat.createVideoFormat("video/avc", mWidth, mHeight); 190 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, 192 format.setInteger(MediaFormat.KEY_BIT_RATE, BIT_RATE); 193 format.setInteger(MediaFormat.KEY_FRAME_RATE, FRAME_RATE); 194 format.setInteger(MediaFormat.KEY_I_FRAME_INTERVAL, I_FRAME_INTERVAL); 202 codec.configure(format, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE);
|
/frameworks/av/media/mtp/ |
H A D | MtpServer.cpp | 282 uint64_t size, MtpObjectFormat format, int fd) { 283 ObjectEdit* edit = new ObjectEdit(handle, path, size, format, fd); 561 MtpObjectFormat format = mRequest.getParameter(1); 562 MtpObjectPropertyList* properties = mDatabase->getSupportedObjectProperties(format); 574 MtpObjectFormat format = mRequest.getParameter(2); // 0 for all formats local 581 MtpObjectHandleList* handles = mDatabase->getObjectList(storageID, format, parent); 593 MtpObjectFormat format = mRequest.getParameter(2); // 0 for all formats local 599 int count = mDatabase->getNumObjects(storageID, format, parent); 710 uint32_t format = mRequest.getParameter(2); local 714 ALOGV("GetObjectPropList %d format 281 addEditObject(MtpObjectHandle handle, MtpString& path, uint64_t size, MtpObjectFormat format, int fd) argument 772 MtpObjectFormat format; local 845 MtpObjectFormat format; local 896 MtpObjectFormat format; local 1125 MtpObjectFormat format; local 1148 MtpObjectFormat format = mRequest.getParameter(2); local 1275 MtpObjectFormat format; local [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioRecord.java | 47 * on the audio data storage format that is the most convenient for the user of AudioRecord. 258 * @param audioFormat the format in which the audio data is to be returned. 290 * @param format a non-null {@link AudioFormat} instance describing the format of the data 292 * configuring the audio format parameters such as encoding, channel mask and sample rate. 305 public AudioRecord(AudioAttributes attributes, AudioFormat format, int bufferSizeInBytes, argument 312 if (format == null) { 341 if ((format.getPropertySetMask() 344 rate = format.getSampleRate(); 353 if ((format 482 setAudioFormat(@onNull AudioFormat format) argument [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 149 ALOGE("Invalid output format: %d", of); 817 ALOGE("Unsupported output file format: %d", mOutputFormat); 882 ALOGE("Unsupported output file format: %d", mOutputFormat); 945 sp<AMessage> format = new AMessage; local 949 format->setString("mime", MEDIA_MIMETYPE_AUDIO_AMR_NB); 952 format->setString("mime", MEDIA_MIMETYPE_AUDIO_AMR_WB); 955 format->setString("mime", MEDIA_MIMETYPE_AUDIO_AAC); 956 format->setInt32("aac-profile", OMX_AUDIO_AACObjectLC); 959 format->setString("mime", MEDIA_MIMETYPE_AUDIO_AAC); 960 format 1495 sp<AMessage> format = new AMessage(); local [all...] |
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | PlaybackSession.cpp | 63 Track(const sp<AMessage> ¬ify, const sp<AMessage> &format); 122 static bool IsAudioFormat(const sp<AMessage> &format); 144 const sp<AMessage> ¬ify, const sp<AMessage> &format) 146 mFormat(format), 148 mIsAudio(IsAudioFormat(format)), 158 const sp<AMessage> &format) { 160 CHECK(format->findString("mime", &mime)); 766 sp<AMessage> format; local 767 err = mExtractor->getTrackFormat(i, &format); 774 CHECK(format 143 Track( const sp<AMessage> ¬ify, const sp<AMessage> &format) argument 157 IsAudioFormat( const sp<AMessage> &format) argument 945 sp<AMessage> format; local [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioPort.cpp | 140 const audio_format_t format = port->mFormats.itemAt(k); local 141 if (format != 0) { // skip "dynamic" formats 144 if (format == mFormats.itemAt(l)) { 149 if (!hasFormat) { // never import a format twice 150 mFormats.add(format); 195 audio_format_t format = (audio_format_t)ConfigParsingUtils::stringToEnum(sFormatNameToEnumTable, local 198 if (format != AUDIO_FORMAT_DEFAULT) { 199 mFormats.add(format); 204 // TODO: compareFormats could be a lambda to convert between pointer-to-format to format 542 checkCompatibleFormat(audio_format_t format, audio_format_t *updatedFormat) const argument 713 audio_format_t format = AUDIO_FORMAT_DEFAULT; local [all...] |
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcRects.cpp | 68 * of the graphic format and then the display frame rectangle where 80 * a list of attributes and the format of their expected value. 145 Rectangle() : format(defaultFormat), transform(defaultTransform), 151 uint32_t format; member in class:Rectangle 367 const struct hwcTestGraphicFormat *format; local 373 testPrintE("Error parsing format from: %s", rectStr.c_str()); 376 format = hwcTestGraphicFormatLookup(str.c_str()); 377 if (format == NULL) { 378 testPrintE("Unknown graphic format in: %s", rectStr.c_str()); 381 rect.format [all...] |
/frameworks/base/media/jni/ |
H A D | android_mtp_MtpDatabase.cpp | 104 MtpObjectFormat format, 112 MtpObjectFormat format, 116 MtpObjectFormat format, 120 MtpObjectFormat format, 127 virtual MtpObjectPropertyList* getSupportedObjectProperties(MtpObjectFormat format); 147 uint32_t format, uint32_t property, 171 MtpObjectFormat format); 229 MtpObjectFormat format, 237 pathStr, (jint)format, (jint)parent, (jint)storage, 247 MtpObjectFormat format, boo 228 beginSendObject(const char* path, MtpObjectFormat format, MtpObjectHandle parent, MtpStorageID storage, uint64_t size, time_t modified) argument 246 endSendObject(const char* path, MtpObjectHandle handle, MtpObjectFormat format, bool succeeded) argument 258 getObjectList(MtpStorageID storageID, MtpObjectFormat format, MtpObjectHandle parent) argument 278 getNumObjects(MtpStorageID storageID, MtpObjectFormat format, MtpObjectHandle parent) argument 325 getSupportedObjectProperties(MtpObjectFormat format) argument 667 getObjectPropertyList(MtpObjectHandle handle, uint32_t format, uint32_t property, int groupCode, int depth, MtpDataPacket& packet) argument 788 MtpObjectFormat format; local 854 MtpObjectFormat format; local 1014 getObjectPropertyDesc(MtpObjectProperty property, MtpObjectFormat format) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/text/format/ |
H A D | TimeTest.java | 17 package android.text.format; 21 import android.text.format.Time; 193 String expectedTime = String.format("%d-%02d-%02d %02d:%02d", 195 String actualTime = String.format("%d-%02d-%02d %02d:%02d", 211 String expectedTime = String.format("%d-%02d-%02d %02d:%02d", 213 String actualTime = String.format("%d-%02d-%02d %02d:%02d", 234 String expectedTime = String.format("%d-%02d-%02d %02d:%02d isDst: %d", 237 String actualTime = String.format("%d-%02d-%02d %02d:%02d isDst: %d", 256 String expectedTime = String.format("%d-%02d-%02d %02d:%02d isDst: %d", 259 String actualTime = String.format(" [all...] |
/frameworks/base/libs/hwui/ |
H A D | TextureCache.cpp | 339 void TextureCache::uploadToTexture(bool resize, GLenum format, GLsizei stride, GLsizei bpp, argument 350 glTexImage2D(GL_TEXTURE_2D, 0, format, width, height, 0, format, type, data); 352 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, format, type, data); 374 glTexImage2D(GL_TEXTURE_2D, 0, format, width, height, 0, format, type, temp); 376 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, format, type, temp);
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationRecord.java | 135 pw.println(prefix + String.format(" defaults=0x%08x flags=0x%08x", 140 pw.println(prefix + String.format(" color=0x%08x", notification.color)); 142 pw.println(prefix + String.format(" led=0x%08x onMs=%d offMs=%d", 149 pw.println(String.format("%s [%d] \"%s\" -> %s", 170 pw.print(String.format(" (%dx%d)", 179 pw.print(String.format("%s [%d] %s", 228 return String.format(
|
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/ |
H A D | ProcessErrorsTest.java | 107 fail(String.format("Got %d errors:\n%s", errSet.size(), 125 fail(String.format("Got %d asynchronous errors:\n%s", mAsyncErrors.size(), 146 Log.i(TAG, String.format("Running activity %s/%s", app.activityInfo.packageName, 158 Log.i(TAG, String.format("Activity %s/%s is disabled, skipping", 228 Log.d(TAG, String.format("packageMatches(%s, %s)", appPkg, errPkg)); 304 builder.append(String.format("Process %s encountered %s (%s)", entry.processName, 307 builder.append(String.format(" with stack trace:\n%s\n", entry.stackTrace));
|