/frameworks/av/tools/resampler_tools/ |
H A D | fir.cpp | 82 " -f output format, can be fixed, fixed16, or float (fixed)\n" 101 int format = 0; // 0=fixed, 1=float local 194 format = 0; 197 format = 0; 201 format = 1; 247 if (!format) { 251 printf("static %s resampleFIR[] = {", !format ? "int32_t" : "float"); 267 if (!format) { 293 if (!format) {
|
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
H A D | EventsCommand.java | 60 System.out.println(String.format("%s %s", 61 formatter.format(new Date()), event.toString()));
|
/frameworks/base/core/java/android/view/ |
H A D | GraphicBuffer.java | 74 * @param format The format of each pixel as specified in {@link PixelFormat} 79 public static GraphicBuffer create(int width, int height, int format, int usage) { argument 80 long nativeObject = nCreateGraphicBuffer(width, height, format, usage); 82 return new GraphicBuffer(width, height, format, usage, nativeObject); 90 private GraphicBuffer(int width, int height, int format, int usage, long nativeObject) { argument 93 mFormat = format; 113 * Returns the pixel format of this buffer. The pixel format must be one of 272 int format 286 nCreateGraphicBuffer(int width, int height, int format, int usage) argument [all...] |
H A D | SurfaceHolder.java | 24 * control the surface size and format, edit the pixels in the surface, and 82 * This is called immediately after any structural changes (format or 88 * @param format The new PixelFormat of the surface. 92 public void surfaceChanged(SurfaceHolder holder, int format, int width, argument 180 * @param format A constant from PixelFormat. 184 public void setFormat(int format); argument
|
/frameworks/base/libs/hwui/ |
H A D | Readback.cpp | 59 GLenum format; local 64 format = GL_ALPHA; 68 format = GL_RGB; 72 format = GL_RGBA; 77 format = GL_RGBA; 85 // need explicit format control we can't currently. 96 glTexImage2D(GL_TEXTURE_2D, 0, format, destWidth, destHeight, 97 0, format, type, nullptr); 179 glReadPixels(0, 0, bitmap->width(), bitmap->height(), format,
|
/frameworks/base/media/java/android/media/ |
H A D | AudioMixPort.java | 45 public AudioMixPortConfig buildConfig(int samplingRate, int channelMask, int format, argument 47 return new AudioMixPortConfig(this, samplingRate, channelMask, format, gain);
|
/frameworks/base/media/java/android/media/tv/ |
H A D | ITvInputHardware.aidl | 60 * @param format desired format. Use default when it's AudioFormat.ENCODING_DEFAULT. 63 int format);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
H A D | MediaFrameworkIntegrationTestRunner.java | 64 String.format("Reading camera_id from icicle: '%s'", cameraId)); 68 Log.e(TAG, String.format("Failed to convert camera_id to integer"));
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | CameraTestResultPrinter.java | 53 Log.v(TAG, String.format("Saving test results under: %s", baseDir.getAbsolutePath())); 59 Log.v(TAG, String.format("Print status: numAttempts=%d iteration=%d cameraId=%s", 93 String results = String.format("%s=%d|%s=%d", KEY_NUM_ATTEMPTS, numAttempts, 96 results += String.format("|%s=%s", KEY_CAMERA_ID, cameraId); 98 Log.v(TAG, String.format("Writing result to a file: %s", results)); 110 Log.w(TAG, String.format("Failed to write results to a file: %s", e)); 116 String resultFileName = String.format(RESULT_FILE_FORMAT, cameraId); 121 Log.w(TAG, String.format("Failed to write results to a file: %s", e));
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
H A D | AssetMatcherFactory.java | 36 throw new AssociationServiceException(String.format( 46 String.format(NAMESPACE_NOT_SUPPORTED_STRING, namespace));
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
H A D | GpuVideoTrackDecoder.java | 68 int trackIndex, MediaFormat format, Listener listener) { 69 super(trackIndex, format, listener); 82 mOutputWidth = format.getInteger(MediaFormat.KEY_WIDTH); 83 mOutputHeight = format.getInteger(MediaFormat.KEY_HEIGHT); 89 protected MediaCodec initMediaCodec(MediaFormat format) { argument 93 format.getString(MediaFormat.KEY_MIME)); 97 + format.getString(MediaFormat.KEY_MIME), e); 100 mediaCodec.configure(format, surface, null, 0); 67 GpuVideoTrackDecoder( int trackIndex, MediaFormat format, Listener listener) argument
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
H A D | DateUtils.java | 32 * Returns timestamp given by param in KML format ie yyyy-mm-ddThh:mm:ssZ, 42 return String.format("%tY-%tm-%tdT%tH:%tM:%tSZ", c, c, c, c, c, c); 54 * Returns timestamp in following format: yyyy-mm-dd-hh-mm-ss 59 return String.format("%tY-%tm-%td-%tH-%tM-%tS", c, c, c, c, c, c);
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/ |
H A D | SysTrace.java | 67 Log.v(TAG, String.format("beginSection[%d] %s", sNestingLevel, sectionName)); 86 Log.v(TAG, String.format("endSection[%d]", sNestingLevel));
|
/frameworks/native/include/android/ |
H A D | native_window.h | 71 // The format of the buffer. One of WINDOW_FORMAT_* 72 int32_t format; member in struct:ANativeWindow_Buffer 105 * Return the current pixel format of the window surface. Returns a 111 * Change the format and size of the window buffers. 125 int32_t width, int32_t height, int32_t format);
|
/frameworks/native/libs/gui/ |
H A D | GraphicBufferAlloc.cpp | 35 uint32_t height, PixelFormat format, uint32_t usage, 38 width, height, format, usage, std::move(requestorName))); 34 createGraphicBuffer(uint32_t width, uint32_t height, PixelFormat format, uint32_t usage, std::string requestorName, status_t* error) argument
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/text/ |
H A D | BidiFormatterSupport.java | 40 String formattedText = String.format(text, phone); 47 formattedText = String.format(text, wrappedPhone);
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/text/ |
H A D | BidiFormatterSupport.java | 40 String formattedText = String.format(text, phone); 47 formattedText = String.format(text, wrappedPhone);
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
H A D | BluetoothTestUtils.java | 453 writeOutput(String.format("enable() completed in 0 ms")); 459 fail(String.format("enable() timeout: state=%d (expected %d)", btState, 496 writeOutput(String.format("disable() completed in 0 ms")); 502 fail(String.format("disable() timeout: state=%d (expected %d)", btState, 546 writeOutput(String.format("discoverable() completed in 0 ms")); 552 fail(String.format("discoverable() timeout: scanMode=%d (expected %d)", scanMode, 596 writeOutput(String.format("undiscoverable() completed in 0 ms")); 602 fail(String.format("undiscoverable() timeout: scanMode=%d (expected %d)", scanMode, 631 writeOutput(String.format("startScan() completed in %d ms", 641 fail(String.format("startSca [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | DateTimeView.java | 19 import static android.text.format.DateUtils.DAY_IN_MILLIS; 20 import static android.text.format.DateUtils.HOUR_IN_MILLIS; 21 import static android.text.format.DateUtils.MINUTE_IN_MILLIS; 22 import static android.text.format.DateUtils.YEAR_IN_MILLIS; 23 import static android.text.format.Time.getJulianDay; 35 import android.text.format.Time; 50 // - listen for date format pref changed 187 // Choose the format 188 DateFormat format; 190 // use cached format [all...] |
/frameworks/av/include/media/nbaio/ |
H A D | Pipe.h | 34 // which must be of size roundup(maxFrames) * Format_frameSize(format) bytes. 35 Pipe(size_t maxFrames, const NBAIO_Format& format, void *buffer = NULL); 44 //virtual NBAIO_Format format() const;
|
/frameworks/av/media/ndk/ |
H A D | NdkMediaMuxer.cpp | 56 AMediaMuxer* AMediaMuxer_new(int fd, OutputFormat format) { argument 59 mData->mImpl = new MediaMuxer(fd, (android::MediaMuxer::OutputFormat)format); 81 ssize_t AMediaMuxer_addTrack(AMediaMuxer *muxer, const AMediaFormat *format) { argument 83 AMediaFormat_getFormat(format, &msg);
|
/frameworks/base/core/java/android/nfc/tech/ |
H A D | NdefFormatable.java | 31 * Provide access to NDEF format operations on a {@link Tag}. 36 * class for tags for which it can format to NDEF. 93 public void format(NdefMessage firstMessage) throws IOException, FormatException { method in class:NdefFormatable 94 format(firstMessage, false); 116 format(firstMessage, true); 119 /*package*/ void format(NdefMessage firstMessage, boolean makeReadOnly) throws IOException, method in class:NdefFormatable 138 // Now check and see if the format worked
|
/frameworks/base/include/android_runtime/ |
H A D | android_app_NativeActivity.h | 32 ANativeActivity* activity, int32_t format);
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
H A D | TestResources.java | 37 return String.format(getString(id), formatArgs);
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
H A D | NodeAttribute.java | 28 return String.format("%s (%s) = '%s'", mName, mType, mValue);
|