/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | ToRGBFilter.java | 30 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 D | CropFilter.java | 33 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 D | GraphicBufferAlloc.cpp | 35 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 D | native_activity.cpp | 28 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 D | SoftMPEG4.cpp | 114 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 D | SoftAVC.cpp | 118 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 D | MockRilTest.java | 65 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 D | RootViewSurfaceTaker.java | 10 void setSurfaceFormat(int format); argument
|
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | MessageQueueTest.java | 177 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 D | PixelFormat.h | 38 // 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 D | dxt.h | 29 void *surface, int stride, int format);
|
/frameworks/av/media/mtp/ |
H A D | MtpDatabase.h | 34 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 D | DateTimeView.java | 26 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 D | TextClock.java | 30 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 D | LoggingPrintStream.java | 168 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 D | hwcCommit.cpp | 70 * 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 D | GraphicBuffer.cpp | 44 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 D | SimpleSessionDescription.java | 70 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 D | BluetoothTestUtils.java | 450 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 D | Utils.h | 44 const sp<MetaData> &meta, sp<AMessage> *format); 46 const sp<AMessage> &format, sp<MetaData> &meta);
|
/frameworks/av/media/libnbaio/ |
H A D | NBAIO.cpp | 25 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 D | LocalLog.java | 19 import android.text.format.Time; 45 mLog.add(mNow.format("%H:%M:%S") + " - " + msg);
|
/frameworks/base/core/java/android/view/ |
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/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/native/include/android/ |
H A D | native_window.h | 49 // 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);
|