Searched defs:format (Results 1 - 25 of 299) sorted by relevance

1234567891011>>

/frameworks/base/media/mca/filterfw/java/android/filterfw/format/
H A Dpackage-info.java4 package android.filterfw.format;
H A DImageFormat.java18 package android.filterfw.format;
H A DObjectFormat.java18 package android.filterfw.format;
30 // Create frame format
H A DPrimitiveFormat.java18 package android.filterfw.format;
/frameworks/native/libs/ui/
H A DPixelFormat.cpp24 ssize_t bytesPerPixel(PixelFormat format) { argument
25 switch (format) {
40 ssize_t bitsPerPixel(PixelFormat format) { argument
41 switch (format) {
/frameworks/base/core/tests/coretests/src/android/text/format/
H A DDateFormatTest.java17 package android.text.format;
H A DDateUtilsTest.java17 package android.text.format;
/frameworks/base/telephony/java/android/telephony/
H A DJapanesePhoneNumberFormatter.java157 public static void format(Editable text) { method in class:JapanesePhoneNumberFormatter
/frameworks/base/tools/layoutlib/bridge/src/android/text/format/
H A DDateFormat_Delegate.java17 package android.text.format;
H A DTime_Delegate.java17 package android.text.format;
39 /*package*/ static String format1(Time thisTime, String format) { argument
42 // Change the format by adding changing '%' to "%1$t". This is required to tell the
47 return String.format(
48 p.matcher(format).replaceAll("$0\\1\\$t"),
51 Bridge.getLog().fidelityWarning(LayoutLog.TAG_STRFTIME, "Unrecognized format", e, format);
52 return format;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DDecoderUtil.java25 public static boolean isAudioFormat(MediaFormat format) { argument
26 return format.getString(MediaFormat.KEY_MIME).startsWith("audio/");
29 public static boolean isVideoFormat(MediaFormat format) { argument
30 return format.getString(MediaFormat.KEY_MIME).startsWith("video/");
/frameworks/av/libvideoeditor/osal/src/
H A DM4PSW_Trace.c40 * M4OSA_Char* format, ...)
46 * @param format (IN): the "printf" formated string
53 M4OSA_Int32 level, M4OSA_Char* format, ...)
60 va_start(marker,format); /* set ptr to first argument in the list of arguments passed to the function */
61 vsprintf((char *)message, (const char *)format,marker ); /* formats and writes the data into message */
52 M4OSA_Trace(M4OSA_Int32 line, M4OSA_Char* file , M4OSA_Int32 level, M4OSA_Char* format, ...) argument
/frameworks/av/media/libnbaio/
H A DPipe.cpp28 Pipe::Pipe(size_t maxFrames, NBAIO_Format format) : argument
29 NBAIO_Sink(format),
31 mBuffer(malloc(mMaxFrames * Format_frameSize(format))),
/frameworks/base/core/java/android/nfc/tech/
H A DNdefFormatable.java32 * Provide access to NDEF format operations on a {@link Tag}.
37 * class for tags for which it can format to NDEF.
94 public void format(NdefMessage firstMessage) throws IOException, FormatException { method in class:NdefFormatable
95 format(firstMessage, false);
117 format(firstMessage, true);
120 /*package*/ void format(NdefMessage firstMessage, boolean makeReadOnly) throws IOException, method in class:NdefFormatable
139 // Now check and see if the format worked
/frameworks/base/core/java/android/text/format/
H A DFormatter.java17 package android.text.format;
76 value = String.format("%.2f", result);
79 value = String.format("%.1f", result);
81 value = String.format("%.2f", result);
85 value = String.format("%.0f", result);
87 value = String.format("%.2f", result);
90 value = String.format("%.0f", result);
98 * Returns a string in the canonical IPv4 format ###.###.###.### from a packed integer
100 * format (LSB first). That is, 0x01020304 will return "4.3.2.1".
/frameworks/base/core/java/com/android/internal/view/
H A DRootViewSurfaceTaker.java10 void setSurfaceFormat(int format); argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DSimpleFrameManager.java37 public Frame newFrame(FrameFormat format) { argument
38 return createNewFrame(format);
42 public Frame newBoundFrame(FrameFormat format, int bindingType, long bindingId) { argument
44 switch(format.getTarget()) {
46 GLFrame glFrame = new GLFrame(format, this, bindingType, bindingId);
54 + FrameFormat.targetToString(format.getTarget()) + "!");
59 private Frame createNewFrame(FrameFormat format) { argument
61 switch(format.getTarget()) {
63 result = new SimpleFrame(format, this);
67 result = new NativeFrame(format, thi
[all...]
/frameworks/base/native/android/
H A Dnative_activity.cpp28 void ANativeActivity_setWindowFormat(ANativeActivity* activity, int32_t format) { argument
29 android_NativeActivity_setWindowFormat(activity, format);
/frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/
H A DFountainView.java52 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
53 super.surfaceChanged(holder, format, w, h);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DSimpleAppView.java39 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
40 super.surfaceChanged(holder, format, w, h);
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DLogAbortException.java24 public LogAbortException(String format, Object... args) { argument
25 mFormat = format;
/frameworks/native/include/android/
H A Dnative_window.h49 // The format of the buffer. One of WINDOW_FORMAT_*
50 int32_t format; member in struct:ANativeWindow_Buffer
83 * Return the current pixel format of the window surface. Returns a
89 * Change the format and size of the window buffers.
103 int32_t width, int32_t height, int32_t format);
/frameworks/native/libs/gui/
H A DGraphicBufferAlloc.cpp35 PixelFormat format, uint32_t usage, status_t* error) {
36 sp<GraphicBuffer> graphicBuffer(new GraphicBuffer(w, h, format, usage));
34 createGraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage, status_t* error) argument
/frameworks/base/graphics/java/android/graphics/
H A DImageFormat.java28 * RGB format used for pictures encoded as RGB_565. See
34 * <p>Android YUV format.</p>
36 * <p>This format is exposed to software decoders and applications.</p>
38 * <p>YV12 is a 4:2:0 YCrCb planar format comprised of a WxH Y plane followed
41 * <p>This format assumes
57 * <p>This format is guaranteed to be supported for camera preview images since
76 * <p>Android Y8 format.</p>
78 * <p>Y8 is a YUV planar format comprised of a WxH Y plane only, with each pixel
80 * format.</p>
82 * <p>This format assume
229 getBitsPerPixel(int format) argument
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DCropFilter.java33 import android.filterfw.format.ImageFormat;
34 import android.filterfw.format.ObjectFormat;
93 protected void createProgram(FilterContext context, FrameFormat format) { argument
95 if (mLastFormat != null && mLastFormat.getTarget() == format.getTarget()) return;
96 mLastFormat = format;
98 switch (format.getTarget()) {
123 // Create output format

Completed in 2439 milliseconds

1234567891011>>