/frameworks/base/services/net/java/android/net/apf/ |
H A D | ApfCapabilities.java | 49 return String.format("%s{version: %d, maxSize: %d, format: %d}", getClass().getSimpleName(),
|
/frameworks/base/tools/incident_report/ |
H A D | printer.h | 28 void printf(const char* format, ...);
|
H A D | printer.cpp | 59 Out::printf(const char* format, ...) argument 69 va_start(args, format); 71 len = vsnprintf(mBuf, mBufSize, format, args); 75 va_start(args, format); 76 len = vsnprintf(mBuf, mBufSize, format, args);
|
/frameworks/base/tools/layoutlib/bridge/src/android/text/format/ |
H A D | DateFormat_Delegate.java | 17 package android.text.format;
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/ |
H A D | TimedStatementResult.java | 48 return String.format( 57 UNITS_FORMAT.format((mTimeStats.getMedian() / mCalibrationTimeMs) * 100000), 58 UNITS_FORMAT.format((mTimeStats.getMin() / mCalibrationTimeMs) * 100000), 59 UNITS_FORMAT.format((mTimeStats.getMax() / mCalibrationTimeMs) * 100000),
|
/frameworks/native/opengl/libagl/ |
H A D | dxt.h | 29 void *surface, int stride, int format);
|
/frameworks/native/opengl/tools/glgen/ |
H A D | convert_to_java.py | 31 print(' public static final int {0[0]:<{1}} = {0[1]};'.format(define, maxLen))
|
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/ |
H A D | build-local.py | 10 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 D | build-local.py | 10 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/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/graphics/java/android/graphics/ |
H A D | GraphicBuffer.java | 71 * @param format The format of each pixel as specified in {@link PixelFormat} 76 public static GraphicBuffer create(int width, int height, int format, int usage) { argument 77 long nativeObject = nCreateGraphicBuffer(width, height, format, usage); 79 return new GraphicBuffer(width, height, format, usage, nativeObject); 87 private GraphicBuffer(int width, int height, int format, int usage, long nativeObject) { argument 90 mFormat = format; 100 int format, int usage, long unwrappedNativeObject) { 103 return new GraphicBuffer(width, height, format, usage, nativeObject); 123 * Returns the pixel format o 99 createFromExisting(int width, int height, int format, int usage, long unwrappedNativeObject) argument 296 nCreateGraphicBuffer(int width, int height, int format, int usage) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | PixelBuffer.cpp | 36 CpuPixelBuffer(GLenum format, uint32_t width, uint32_t height); 49 CpuPixelBuffer::CpuPixelBuffer(GLenum format, uint32_t width, uint32_t height) argument 50 : PixelBuffer(format, width, height) 51 , mBuffer(new uint8_t[width * height * formatSize(format)]) { 76 GpuPixelBuffer(GLenum format, uint32_t width, uint32_t height); 92 GpuPixelBuffer::GpuPixelBuffer(GLenum format, argument 94 : PixelBuffer(format, width, height) 150 PixelBuffer* PixelBuffer::create(GLenum format, argument 153 return new GpuPixelBuffer(format, width, height); 155 return new CpuPixelBuffer(format, widt [all...] |
/frameworks/native/vulkan/include/vulkan/ |
H A D | vk_android_native_buffer.h | 62 // Gralloc format and usage requested when the buffer was allocated. 63 int format; member in struct:__anon1922 87 typedef VkResult (VKAPI_PTR *PFN_vkGetSwapchainGrallocUsageANDROID)(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage); 89 typedef VkResult (VKAPI_PTR *PFN_vkGetSwapchainGrallocUsage2ANDROID)(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, VkSwapchainImageUsageFlagsANDROID swapchainImageUsage, uint64_t* grallocConsumerUsage, uint64_t* grallocProducerUsage); 98 VkFormat format, 105 VkFormat format,
|
/frameworks/base/location/java/android/location/ |
H A D | GnssMeasurement.java | 1005 final String format = " %-29s = %s\n"; 1009 builder.append(String.format(format, "Svid", mSvid)); 1010 builder.append(String.format(format, "ConstellationType", mConstellationType)); 1011 builder.append(String.format(format, "TimeOffsetNanos", mTimeOffsetNanos)); 1013 builder.append(String.format(format, "State", getStateString())); 1015 builder.append(String.format( [all...] |
H A D | GpsMeasurement.java | 1249 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/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. 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/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | AudioProfile.h | 39 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 D | SoftVideoDecoderOMXComponent.cpp | 114 def.format.video.cMIMEType = const_cast<char *>(mimeType); 115 def.format.video.pNativeRender = NULL; 117 def.format.video.nBitrate = 0; 118 def.format.video.xFramerate = 0; 119 def.format.video.bFlagErrorConcealment = OMX_FALSE; 120 def.format.video.eCompressionFormat = mCodingType; 121 def.format.video.eColorFormat = OMX_COLOR_FormatUnused; 122 def.format.video.pNativeWindow = NULL; 136 def.format.video.cMIMEType = const_cast<char *>("video/raw"); 137 def.format [all...] |
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/ |
H A D | L.java | 55 printMessage(null, Diagnostic.Kind.NOTE, String.format(msg, args)); 61 printMessage(element, Diagnostic.Kind.NOTE, String.format(msg, args)); 68 String.format(msg, args) + " " + getStackTrace(t)); 73 printMessage(null, Kind.WARNING, String.format(msg, args)); 77 printMessage(element, Kind.WARNING, String.format(msg, args)); 82 String.format(msg, args) + " " + getStackTrace(t)); 99 String fullMsg = String.format(msg, args); 105 String fullMsg = String.format(msg, args); 111 String fullMsg = String.format(msg, args);
|
/frameworks/native/libs/ui/ |
H A D | GraphicBufferAllocator.cpp | 69 rec.width, rec.stride, rec.height, rec.layerCount, rec.format, 75 rec.width, rec.stride, rec.height, rec.layerCount, rec.format, 96 PixelFormat format, uint32_t layerCount, uint64_t usage, 115 info.format = static_cast<Gralloc2::PixelFormat>(format); 122 uint32_t bpp = bytesPerPixel(format); 127 rec.format = format; 136 ALOGE("Failed to allocate (%u x %u) layerCount %u format %d " 138 width, height, layerCount, format, usag 95 allocate(uint32_t width, uint32_t height, PixelFormat format, uint32_t layerCount, uint64_t usage, buffer_handle_t* handle, uint32_t* stride, uint64_t , std::string requestorName) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaFormat.java | 28 * 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> 96 * <tr><td>{@link #KEY_MIME}</td><td>String</td><td>The type of the format.</td></tr> 153 * A key describing the sample rate of an audio format. 159 * A key describing the number of channels in an audio format. 165 * A key describing the width of the content in a video format. 171 * A key describing the height of the content in a video format. 178 * decoder format, i [all...] |
H A D | MediaMuxer.java | 74 metadata track, track's mime format must start with prefix "application/", e.g. "applicaton/gyro". 75 Metadata's format/layout will be defined by the application. Writing metadata is nearly the same as 80 the metadata's mime format. When using{@link android.media.MediaExtractor} to extract the file with 81 metadata track, the mime format of the metadata will be extracted into {@link android.media.MediaFormat}. 254 * Defines the output format. These constants are used with constructor. 261 /** MPEG4 media file format*/ 263 /** WEBM media file format*/ 265 /** 3GPP media file format*/ 279 private static native long nativeSetup(@NonNull FileDescriptor fd, int format) argument 310 * @param format Th 315 MediaMuxer(@onNull String path, @Format int format) argument 345 MediaMuxer(@onNull FileDescriptor fd, @Format int format) argument 349 setUpMediaMuxer(@onNull FileDescriptor fd, @Format int format) argument 593 addTrack(@onNull MediaFormat format) argument [all...] |
/frameworks/base/core/java/android/net/metrics/ |
H A D | RaEvent.java | 76 .append(String.format("router=%ds, ", routerLifetime)) 77 .append(String.format("prefix_valid=%ds, ", prefixValidLifetime)) 78 .append(String.format("prefix_preferred=%ds, ", prefixPreferredLifetime)) 79 .append(String.format("route_info=%ds, ", routeInfoLifetime)) 80 .append(String.format("rdnss=%ds, ", rdnssLifetime)) 81 .append(String.format("dnssl=%ds)", dnsslLifetime))
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | CropFilter.java | 29 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
|