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

1234567891011>>

/frameworks/native/opengl/libagl/
H A Ddxt.h29 void *surface, int stride, int format);
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
H A DBluetoothPbapVcardList.java51 public BluetoothPbapVcardList(InputStream in, byte format) throws IOException { argument
52 parse(in, format);
55 private void parse(InputStream in, byte format) throws IOException { argument
58 if (format == BluetoothPbapClient.VCARD_TYPE_30) {
/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 DPixelBuffer.cpp37 CpuPixelBuffer(GLenum format, uint32_t width, uint32_t height);
50 CpuPixelBuffer::CpuPixelBuffer(GLenum format, uint32_t width, uint32_t height) argument
51 : PixelBuffer(format, width, height)
52 , mBuffer(new uint8_t[width * height * formatSize(format)]) {
81 GpuPixelBuffer(GLenum format, uint32_t width, uint32_t height);
97 GpuPixelBuffer::GpuPixelBuffer(GLenum format, argument
99 : PixelBuffer(format, width, height)
161 PixelBuffer* PixelBuffer::create(GLenum format, argument
164 return new GpuPixelBuffer(format, width, height);
166 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.
170 uint32_t format; member in class:Rectangle
241 uint32_t format; member in struct:meas
277 uint32_t maxOverlays(uint32_t format, bool allowOverlap);
278 list<uint32_t> supportedTransforms(uint32_t format);
279 list<uint32_t> supportedBlends(uint32_t format);
280 uint32_t dfMinWidth(uint32_t format);
281 uint32_t dfMinHeight(uint32_t format);
282 uint32_t dfMaxWidth(uint32_t format);
283 uint32_t dfMaxHeight(uint32_t format);
433 const struct hwcTestGraphicFormat *format; local
636 maxOverlays(uint32_t format, bool allowOverlap) argument
672 supportedTransforms(uint32_t format) argument
697 supportedBlends(uint32_t format) argument
722 dfMinWidth(uint32_t format) argument
746 dfMinHeight(uint32_t format) argument
770 dfMaxWidth(uint32_t format) argument
794 dfMaxHeight(uint32_t format) argument
819 dfMinDim(uint32_t format) argument
860 dfMaxDim(uint32_t format) argument
909 scMinWidth(uint32_t format, const HwcTestDim& dfDim) argument
929 scMinHeight(uint32_t format, const HwcTestDim& dfDim) argument
948 scMaxWidth(uint32_t format, const HwcTestDim& dfDim) argument
967 scMaxHeight(uint32_t format, const HwcTestDim& dfDim) argument
991 scMinDim(uint32_t format, const HwcTestDim& dfDim) argument
1032 scMaxDim(uint32_t format, const HwcTestDim& dfDim) argument
1097 scHScale(uint32_t format, const HwcTestDim& dfMin, const HwcTestDim& dfMax, const HwcTestDim& scMin, const HwcTestDim& scMax, HwcTestDim& outBestDf, HwcTestDim& outBestSc) argument
1196 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...]
/frameworks/base/media/java/android/media/
H A DMediaFormat.java24 * Encapsulates the information describing the format of media data,
27 * The format of the media data is specified as string/value pairs.
33 * <tr><td>{@link #KEY_MIME}</td><td>String</td><td>The type of the format.</td></tr>
44 * for encoders, readable in the output format of decoders</b></td></tr>
82 * <tr><td>{@link #KEY_MIME}</td><td>String</td><td>The type of the format.</td></tr>
136 * A key describing the sample rate of an audio format.
142 * A key describing the number of channels in an audio format.
148 * A key describing the width of the content in a video format.
154 * A key describing the height of the content in a video format.
161 * decoder format, i
[all...]
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/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/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
H A DL.java51 printMessage(Diagnostic.Kind.NOTE, String.format(msg, args));
58 String.format(msg, args) + " " + ExceptionUtils.getStackTrace(t));
63 printMessage(Kind.WARNING, String.format(msg, args));
68 String.format(msg, args) + " " + ExceptionUtils.getStackTrace(t));
85 String fullMsg = String.format(msg, args);
91 String fullMsg = String.format(msg, args);
/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/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestUtils.java452 fail(String.format("enable() invalid state: state=%d", state));
463 writeOutput(String.format("enable() completed in %d ms", (finish - start)));
475 fail(String.format("enable() timeout: state=%d (expected %d), flags=0x%x (expected 0x%x)",
512 fail(String.format("disable() invalid state: state=%d", state));
523 writeOutput(String.format("disable() completed in %d ms", (finish - start)));
535 fail(String.format("disable() timeout: state=%d (expected %d), flags=0x%x (expected 0x%x)",
567 writeOutput(String.format("discoverable() completed in %d ms",
577 fail(String.format("discoverable() timeout: scanMode=%d (expected %d), flags=0x%x "
610 writeOutput(String.format("undiscoverable() completed in %d ms",
620 fail(String.format("undiscoverabl
[all...]
/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/core/java/com/android/internal/util/
H A DPreconditions.java182 String.format(
186 String.format(
209 String.format(
213 String.format(
238 String.format("%s[%d] must not be null", valueName, i));
266 String.format("%s[%d] must not be null", valueName, ctr));
323 String.format("%s[%d] is out of range of [%f, %f] (too low)",
327 String.format("%s[%d] is out of range of [%f, %f] (too high)",
/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/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));

Completed in 820 milliseconds

1234567891011>>