Searched refs:format (Results 76 - 100 of 1375) sorted by relevance

1234567891011>>

/frameworks/av/tools/resampler_tools/
H A Dfir.cpp82 " -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 DEventsCommand.java60 System.out.println(String.format("%s %s",
61 formatter.format(new Date()), event.toString()));
/frameworks/base/core/java/android/view/
H A DGraphicBuffer.java74 * @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 DSurfaceHolder.java24 * 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 DReadback.cpp59 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 DAudioMixPort.java45 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 DITvInputHardware.aidl60 * @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 DMediaFrameworkIntegrationTestRunner.java64 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 DCameraTestResultPrinter.java53 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 DAssetMatcherFactory.java36 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 DGpuVideoTrackDecoder.java68 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 DDateUtils.java32 * 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 DSysTrace.java67 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 Dnative_window.h71 // 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 DGraphicBufferAlloc.cpp35 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 DBidiFormatterSupport.java40 String formattedText = String.format(text, phone);
47 formattedText = String.format(text, wrappedPhone);
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/text/
H A DBidiFormatterSupport.java40 String formattedText = String.format(text, phone);
47 formattedText = String.format(text, wrappedPhone);
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestUtils.java453 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 DDateTimeView.java19 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 DPipe.h34 // 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 DNdkMediaMuxer.cpp56 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 DNdefFormatable.java31 * 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 Dandroid_app_NativeActivity.h32 ANativeActivity* activity, int32_t format);
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DTestResources.java37 return String.format(getString(id), formatArgs);
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
H A DNodeAttribute.java28 return String.format("%s (%s) = '%s'", mName, mType, mValue);

Completed in 1201 milliseconds

1234567891011>>