Searched refs:format (Results 26 - 50 of 677) sorted by relevance

1234567891011>>

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DToRGBFilter.java30 import android.filterfw.format.ImageFormat;
61 public FrameFormat getConvertedFormat(FrameFormat format) { argument
62 MutableFrameFormat result = format.mutableCopy();
68 public void createProgram(FilterContext context, FrameFormat format) { argument
69 mInputBPP = format.getBytesPerSample();
71 mLastFormat = format;
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
/frameworks/native/services/surfaceflinger/DisplayHardware/
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/native/android/
H A Dnative_activity.cpp28 void ANativeActivity_setWindowFormat(ANativeActivity* activity, int32_t format) { argument
29 android_NativeActivity_setWindowFormat(activity, format);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
H A DSoftMPEG4.cpp114 def.format.video.cMIMEType =
119 def.format.video.pNativeRender = NULL;
120 def.format.video.nFrameWidth = mWidth;
121 def.format.video.nFrameHeight = mHeight;
122 def.format.video.nStride = def.format.video.nFrameWidth;
123 def.format.video.nSliceHeight = def.format.video.nFrameHeight;
124 def.format.video.nBitrate = 0;
125 def.format
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/
H A DSoftAVC.cpp118 def.format.video.cMIMEType = const_cast<char *>(MEDIA_MIMETYPE_VIDEO_AVC);
119 def.format.video.pNativeRender = NULL;
120 def.format.video.nFrameWidth = mWidth;
121 def.format.video.nFrameHeight = mHeight;
122 def.format.video.nStride = def.format.video.nFrameWidth;
123 def.format.video.nSliceHeight = def.format.video.nFrameHeight;
124 def.format.video.nBitrate = 0;
125 def.format
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mockril/
H A DMockRilTest.java65 assertTrue(String.format("expected rs.state == 0 was %d", rs.getState()),
68 assertTrue(String.format("expected rs.state == 1 was %d", rs.getState()),
73 assertTrue(String.format("expected rsNew.state == 1 was %d", rs.getState()),
96 assertTrue(String.format("expected mhd.header.cmd == 0 was %d",respMsg.getCmd()),
98 assertTrue(String.format("expected mhd.header.token == 1 was %d",respMsg.getToken()),
100 assertTrue(String.format("expected mhd.header.status == 2 was %d", respMsg.getStatus()),
102 assertTrue(String.format("expected mhd.data[0] == 3 was %d", respMsg.getData(0)),
104 assertTrue(String.format("expected mhd.data[1] == 4 was %d", respMsg.getData(1)),
106 assertTrue(String.format("expected mhd.data[2] == 5 was %d", respMsg.getData(2)),
127 assertTrue(String.format("expecte
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DRootViewSurfaceTaker.java10 void setSurfaceFormat(int format); argument
/frameworks/base/core/tests/coretests/src/android/os/
H A DMessageQueueTest.java177 failure(new RuntimeException(String.format(
181 failure(new RuntimeException(String.format(
185 failure(new RuntimeException(String.format(
189 failure(new RuntimeException(String.format(
205 failure(new RuntimeException(String.format(
211 failure(new RuntimeException(String.format(
226 failure(new RuntimeException(String.format(
231 failure(new RuntimeException(String.format(
236 failure(new RuntimeException(String.format(
241 failure(new RuntimeException(String.format(
[all...]
/frameworks/native/include/ui/
H A DPixelFormat.h38 // in graphics/PixelFormat.java & pixelflinger/format.h
45 // Custom pixel-format described by a PixelFormatInfo structure
48 // System chooses a format that supports translucency (many alpha bits)
51 // System chooses a format that supports transparency
55 // System chooses an opaque format (no alpha bits required)
99 PixelFormat format; member in struct:android::PixelFormatInfo
122 ssize_t bytesPerPixel(PixelFormat format);
123 ssize_t bitsPerPixel(PixelFormat format);
124 status_t getPixelFormatInfo(PixelFormat format, PixelFormatInfo* info);
/frameworks/native/opengl/libagl/
H A Ddxt.h29 void *surface, int stride, int format);
/frameworks/av/media/mtp/
H A DMtpDatabase.h34 MtpObjectFormat format,
45 MtpObjectFormat format,
49 MtpObjectFormat format,
53 MtpObjectFormat format,
60 virtual MtpObjectPropertyList* getSupportedObjectProperties(MtpObjectFormat format) = 0;
80 uint32_t format, uint32_t property,
102 MtpObjectFormat format) = 0;
/frameworks/base/core/java/android/widget/
H A DDateTimeView.java26 import android.text.format.Time;
43 // - listen for date format pref changed
144 // Choose the format
145 DateFormat format;
147 // use cached format
148 format = mLastFormat;
152 format = getTimeFormat();
155 format = getDateFormat();
160 mLastFormat = format;
164 String text = format
[all...]
H A DTextClock.java30 import android.text.format.DateFormat;
46 * <p>This view honors the 24-hour format system setting. As such, it is
54 * <p>The rules used by this widget to decide how to format the date and
204 CharSequence format;
206 format = a.getText(R.styleable.TextClock_format12Hour);
207 mFormat12 = format == null ? DEFAULT_FORMAT_12_HOUR : format;
209 format = a.getText(R.styleable.TextClock_format24Hour);
210 mFormat24 = format == null ? DEFAULT_FORMAT_24_HOUR : format;
269 setFormat12Hour(CharSequence format) argument
311 setFormat24Hour(CharSequence format) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DLoggingPrintStream.java168 public PrintStream format(String format, Object... args) { argument
169 return format(Locale.getDefault(), format, args);
173 public PrintStream printf(String format, Object... args) { argument
174 return format(format, args);
178 public PrintStream printf(Locale l, String format, Object... args) { argument
179 return format(l, format, arg
185 format( Locale l, String format, Object... args) argument
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp70 * made and reported for each of the known graphic format.
171 uint32_t format; member in class:Rectangle
242 uint32_t format; member in struct:meas
278 uint32_t maxOverlays(uint32_t format, bool allowOverlap);
279 list<uint32_t> supportedTransforms(uint32_t format);
280 list<uint32_t> supportedBlends(uint32_t format);
281 uint32_t dfMinWidth(uint32_t format);
282 uint32_t dfMinHeight(uint32_t format);
283 uint32_t dfMaxWidth(uint32_t format);
284 uint32_t dfMaxHeight(uint32_t format);
435 const struct hwcTestGraphicFormat *format; local
638 maxOverlays(uint32_t format, bool allowOverlap) argument
674 supportedTransforms(uint32_t format) argument
699 supportedBlends(uint32_t format) argument
724 dfMinWidth(uint32_t format) argument
748 dfMinHeight(uint32_t format) argument
772 dfMaxWidth(uint32_t format) argument
796 dfMaxHeight(uint32_t format) argument
821 dfMinDim(uint32_t format) argument
862 dfMaxDim(uint32_t format) argument
911 scMinWidth(uint32_t format, const HwcTestDim& dfDim) argument
931 scMinHeight(uint32_t format, const HwcTestDim& dfDim) argument
950 scMaxWidth(uint32_t format, const HwcTestDim& dfDim) argument
969 scMaxHeight(uint32_t format, const HwcTestDim& dfDim) argument
993 scMinDim(uint32_t format, const HwcTestDim& dfDim) argument
1034 scMaxDim(uint32_t format, const HwcTestDim& dfDim) argument
1099 scHScale(uint32_t format, const HwcTestDim& dfMin, const HwcTestDim& dfMax, const HwcTestDim& scMin, const HwcTestDim& scMax, HwcTestDim& outBestDf, HwcTestDim& outBestSc) argument
1198 scVScale(uint32_t format, const HwcTestDim& dfMin, const HwcTestDim& dfMax, const HwcTestDim& scMin, const HwcTestDim& scMax, HwcTestDim& outBestDf, HwcTestDim& outBestSc) argument
[all...]
/frameworks/native/libs/ui/
H A DGraphicBuffer.cpp44 format =
57 format =
73 format = inFormat;
86 format = buffer->format;
132 if (handle && w==width && h==height && f==format && reqUsage==usage)
143 status_t GraphicBuffer::initSize(uint32_t w, uint32_t h, PixelFormat format, argument
147 status_t err = allocator.alloc(w, h, format, reqUsage, &handle, &stride);
151 this->format = format;
[all...]
/frameworks/base/voip/java/android/net/sip/
H A DSimpleSessionDescription.java70 mFields.parse(String.format(Locale.US, "o=- %d %d %s", sessionId,
97 for (String format : parts[3].split(" ")) {
98 media.setFormat(format, null);
288 * Returns the {@code fmtp} attribute of the given format or
291 public String getFmtp(String format) { argument
292 return super.get("a=fmtp:" + format, ' ');
296 * Sets a format and its {@code fmtp} attribute. If the attribute is
299 public void setFormat(String format, String fmtp) { argument
300 mFormats.remove(format);
301 mFormats.add(format);
309 removeFormat(String format) argument
[all...]
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestUtils.java450 fail(String.format("enable() invalid state: state=%d", state));
461 writeOutput(String.format("enable() completed in %d ms", (finish - start)));
473 fail(String.format("enable() timeout: state=%d (expected %d), flags=0x%x (expected 0x%x)",
510 fail(String.format("disable() invalid state: state=%d", state));
521 writeOutput(String.format("disable() completed in %d ms", (finish - start)));
533 fail(String.format("disable() timeout: state=%d (expected %d), flags=0x%x (expected 0x%x)",
565 writeOutput(String.format("discoverable() completed in %d ms",
575 fail(String.format("discoverable() timeout: scanMode=%d (expected %d), flags=0x%x "
608 writeOutput(String.format("undiscoverable() completed in %d ms",
618 fail(String.format("undiscoverabl
[all...]
/frameworks/av/include/media/stagefright/
H A DUtils.h44 const sp<MetaData> &meta, sp<AMessage> *format);
46 const sp<AMessage> &format, sp<MetaData> &meta);
/frameworks/av/media/libnbaio/
H A DNBAIO.cpp25 size_t Format_frameSize(NBAIO_Format format) argument
27 switch (format) {
40 size_t Format_frameBitShift(NBAIO_Format format) argument
42 switch (format) {
55 unsigned Format_sampleRate(NBAIO_Format format) argument
57 switch (format) {
70 unsigned Format_channelCount(NBAIO_Format format) argument
72 switch (format) {
/frameworks/base/core/java/android/util/
H A DLocalLog.java19 import android.text.format.Time;
45 mLog.add(mNow.format("%H:%M:%S") + " - " + msg);
/frameworks/base/core/java/android/view/
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/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/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);

Completed in 644 milliseconds

1234567891011>>