Searched refs:format (Results 51 - 75 of 1375) sorted by relevance

1234567891011>>

/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>For the {@link android.hardware.camera2} API, the {@link #YUV_420_888} format is
60 * <p>For the older camera API, this format is guaranteed to be supported for
79 * <p>Android Y8 format.</p>
81 * <p>Y8 is a YUV planar format comprised of a WxH Y plane only, with each pixel
83 * format
699 getBitsPerPixel(int format) argument
748 isPublicFormat(int format) argument
[all...]
/frameworks/base/services/net/java/android/net/apf/
H A DApfCapabilities.java49 return String.format("%s{version: %d, maxSize: %d format: %d}", getClass().getSimpleName(),
/frameworks/base/tools/layoutlib/bridge/src/android/text/format/
H A DDateFormat_Delegate.java17 package android.text.format;
/frameworks/native/opengl/libagl/
H A Ddxt.h29 void *surface, int stride, int format);
/frameworks/native/opengl/tools/glgen/
H A Dconvert_to_java.py31 print(' public static final int {0[0]:<{1}} = {0[1]};'.format(define, maxLen))
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/
H A Dbuild-local.py10 print 'About to replace repo path to {0} in {1}'.format(newVal, inputFile)
27 print "ERROR: Missing leanback-v17 library {} in local repo".format(leanback_maven_metadata_path)
39 print "ERROR: Invalid repo {0}".format(current_path)
45 print 'ERROR : Repo "{0}" does not exist'.format(repo_path)
/frameworks/support/samples/SupportLeanbackShowcase/
H A Dbuild-local.py10 print 'About to replace repo path to {0} in {1}'.format(newVal, inputFile)
27 print "ERROR: Missing leanback-v17 library {} in local repo".format(leanback_maven_metadata_path)
39 print "ERROR: Invalid repo {0}".format(current_path)
45 print 'ERROR : Repo "{0}" does not exist'.format(repo_path)
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/
H A DPickerConstant.java55 public static String[] createStringIntArrays(int firstNumber, int lastNumber, String format) { argument
58 if (format != null) {
59 array[i - firstNumber] = String.format(format, i);
/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/libs/hwui/
H A DTexture.h66 * Sets the width, height, and format of the texture along with allocating
67 * the texture ID. Does nothing if the width, height, and format are already
72 void resize(uint32_t width, uint32_t height, GLint format) { argument
73 upload(format, width, height, format, GL_UNSIGNED_BYTE, nullptr);
78 * also setting the appropriate width, height, and format. It is not necessary
89 GLenum format, GLenum type, const void* pixels);
94 void wrap(GLuint id, uint32_t width, uint32_t height, GLint format);
108 GLint format() const { function in class:android::uirenderer::Texture
151 bool updateSize(uint32_t width, uint32_t height, GLint format);
[all...]
H A DPixelBuffer.cpp36 CpuPixelBuffer(GLenum format, uint32_t width, uint32_t height);
51 CpuPixelBuffer::CpuPixelBuffer(GLenum format, uint32_t width, uint32_t height) argument
52 : PixelBuffer(format, width, height)
53 , mBuffer(new uint8_t[width * height * formatSize(format)]) {
82 GpuPixelBuffer(GLenum format, uint32_t width, uint32_t height);
100 GpuPixelBuffer::GpuPixelBuffer(GLenum format, argument
102 : PixelBuffer(format, width, height)
162 PixelBuffer* PixelBuffer::create(GLenum format, argument
165 return new GpuPixelBuffer(format, width, height);
167 return new CpuPixelBuffer(format, widt
[all...]
/frameworks/base/native/graphics/jni/
H A Dbitmap.cpp41 info->format = ANDROID_BITMAP_FORMAT_RGBA_8888;
44 info->format = ANDROID_BITMAP_FORMAT_RGB_565;
47 info->format = ANDROID_BITMAP_FORMAT_RGBA_4444;
50 info->format = ANDROID_BITMAP_FORMAT_A_8;
53 info->format = ANDROID_BITMAP_FORMAT_NONE;
/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.
169 uint32_t format; member in class:Rectangle
240 uint32_t format; member in struct:meas
276 uint32_t maxOverlays(uint32_t format, bool allowOverlap);
277 list<uint32_t> supportedTransforms(uint32_t format);
278 list<uint32_t> supportedBlends(uint32_t format);
279 uint32_t dfMinWidth(uint32_t format);
280 uint32_t dfMinHeight(uint32_t format);
281 uint32_t dfMaxWidth(uint32_t format);
282 uint32_t dfMaxHeight(uint32_t format);
432 const struct hwcTestGraphicFormat *format; local
635 maxOverlays(uint32_t format, bool allowOverlap) argument
671 supportedTransforms(uint32_t format) argument
696 supportedBlends(uint32_t format) argument
721 dfMinWidth(uint32_t format) argument
745 dfMinHeight(uint32_t format) argument
769 dfMaxWidth(uint32_t format) argument
793 dfMaxHeight(uint32_t format) argument
818 dfMinDim(uint32_t format) argument
859 dfMaxDim(uint32_t format) argument
908 scMinWidth(uint32_t format, const HwcTestDim& dfDim) argument
928 scMinHeight(uint32_t format, const HwcTestDim& dfDim) argument
947 scMaxWidth(uint32_t format, const HwcTestDim& dfDim) argument
966 scMaxHeight(uint32_t format, const HwcTestDim& dfDim) argument
990 scMinDim(uint32_t format, const HwcTestDim& dfDim) argument
1031 scMaxDim(uint32_t format, const HwcTestDim& dfDim) argument
1096 scHScale(uint32_t format, const HwcTestDim& dfMin, const HwcTestDim& dfMax, const HwcTestDim& scMin, const HwcTestDim& scMax, HwcTestDim& outBestDf, HwcTestDim& outBestSc) argument
1195 scVScale(uint32_t format, const HwcTestDim& dfMin, const HwcTestDim& dfMax, const HwcTestDim& scMin, const HwcTestDim& scMax, HwcTestDim& outBestDf, HwcTestDim& outBestSc) argument
[all...]
/frameworks/base/location/java/android/location/
H A DGpsMeasurement.java1249 final String format = " %-29s = %s\n";
1253 builder.append(String.format(format, "Prn", mPrn));
1255 builder.append(String.format(format, "TimeOffsetInNs", mTimeOffsetInNs));
1257 builder.append(String.format(format, "State", getStateString()));
1259 builder.append(String.format(
1266 builder.append(String.format(format, "Cn0InDbH
[all...]
H A DGnssMeasurement.java913 final String format = " %-29s = %s\n";
917 builder.append(String.format(format, "Svid", mSvid));
918 builder.append(String.format(format, "ConstellationType", mConstellationType));
919 builder.append(String.format(format, "TimeOffsetNanos", mTimeOffsetNanos));
921 builder.append(String.format(format, "State", getStateString()));
923 builder.append(String.format(
[all...]
H A DGnssNavigationMessage.java299 * <p>The bytes (or words) specified using big endian format (MSB first).
411 final String format = " %-15s = %s\n";
414 builder.append(String.format(format, "Type", getTypeString()));
415 builder.append(String.format(format, "Svid", mSvid));
416 builder.append(String.format(format, "Status", getStatusString()));
417 builder.append(String.format(format, "MessageI
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioProfile.h39 AudioProfile(audio_format_t format, argument
43 mFormat(format)
49 AudioProfile(audio_format_t format, argument
53 mFormat(format),
97 status_t checkExact(uint32_t rate, audio_channel_mask_t channels, audio_format_t format) const;
143 // TODO: compareFormats could be a lambda to convert between pointer-to-format to format:
152 // for a profile with dynamic format, rate and channels attributes
181 profileToAdd->setDynamicFormat(true); // set the format as dynamic to allow removal
198 audio_format_t format) cons
299 setSampleRatesFor(const SampleRateVector &sampleRates, audio_format_t format) argument
318 setChannelsFor(const ChannelsVector &channelMasks, audio_format_t format) argument
[all...]
/frameworks/av/media/libstagefright/omx/
H A DSoftVideoDecoderOMXComponent.cpp113 def.format.video.cMIMEType = const_cast<char *>(mimeType);
114 def.format.video.pNativeRender = NULL;
116 def.format.video.nBitrate = 0;
117 def.format.video.xFramerate = 0;
118 def.format.video.bFlagErrorConcealment = OMX_FALSE;
119 def.format.video.eCompressionFormat = mCodingType;
120 def.format.video.eColorFormat = OMX_COLOR_FormatUnused;
121 def.format.video.pNativeWindow = NULL;
135 def.format.video.cMIMEType = const_cast<char *>("video/raw");
136 def.format
[all...]
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
H A DL.java53 printMessage(null, Diagnostic.Kind.NOTE, String.format(msg, args));
59 printMessage(element, Diagnostic.Kind.NOTE, String.format(msg, args));
66 String.format(msg, args) + " " + getStackTrace(t));
71 printMessage(null, Kind.WARNING, String.format(msg, args));
75 printMessage(element, Kind.WARNING, String.format(msg, args));
80 String.format(msg, args) + " " + getStackTrace(t));
97 String fullMsg = String.format(msg, args);
103 String fullMsg = String.format(msg, args);
109 String fullMsg = String.format(msg, args);
/frameworks/base/media/java/android/media/
H A DMediaFormat.java28 * Encapsulates the information describing the format of media data,
31 * The format of the media data is specified as string/value pairs.
37 * <tr><td>{@link #KEY_MIME}</td><td>String</td><td>The type of the format.</td></tr>
48 * for encoders, readable in the output format of decoders</b></td></tr>
95 * <tr><td>{@link #KEY_MIME}</td><td>String</td><td>The type of the format.</td></tr>
150 * A key describing the sample rate of an audio format.
156 * A key describing the number of channels in an audio format.
162 * A key describing the width of the content in a video format.
168 * A key describing the height of the content in a video format.
175 * decoder format, i
[all...]
/frameworks/base/core/java/android/net/metrics/
H A DRaEvent.java80 .append(String.format("router=%ds, ", routerLifetime))
81 .append(String.format("prefix_valid=%ds, ", prefixValidLifetime))
82 .append(String.format("prefix_preferred=%ds, ", prefixPreferredLifetime))
83 .append(String.format("route_info=%ds, ", routeInfoLifetime))
84 .append(String.format("rdnss=%ds, ", rdnssLifetime))
85 .append(String.format("dnssl=%ds)", dnsslLifetime))
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DCropFilter.java29 import android.filterfw.format.ImageFormat;
30 import android.filterfw.format.ObjectFormat;
87 protected void createProgram(FilterContext context, FrameFormat format) { argument
89 if (mLastFormat != null && mLastFormat.getTarget() == format.getTarget()) return;
90 mLastFormat = format;
92 switch (format.getTarget()) {
117 // Create output format
/frameworks/opt/net/voip/src/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/av/include/ndk/
H A DNdkImageReader.h54 * Create a new reader for images of the desired size and format.
67 * @param format The format of the Image that this reader will produce. This must be one of the
80 * height, format, maxImages arguments is not supported.</li>
86 int32_t width, int32_t height, int32_t format, int32_t maxImages,
148 * Query the format of the {@link AImage} generated by this reader.
151 * @param format the fromat of the reader will be filled here if the method call succeeeds. The
156 * <li>{@link AMEDIA_ERROR_INVALID_PARAMETER} if reader or format is NULL.</li></ul>
158 media_status_t AImageReader_getFormat(const AImageReader* reader, /*out*/int32_t* format);

Completed in 663 milliseconds

1234567891011>>