/frameworks/native/libs/gui/tests/ |
H A D | CpuConsumer_test.cpp | 47 PixelFormat format; member in struct:android::CpuConsumerTestParams 53 << ::std::hex << p.format << "]"; 66 params.maxLockedBuffers, params.format); 168 switch(buf.format) { 214 ADD_FAILURE() << "Unknown format for check:" << buf.format; 430 void checkAnyBuffer(const CpuConsumer::LockedBuffer &buf, int format) { argument 431 switch (format) { 464 err = native_window_set_buffers_format(anw.get(), params.format); 485 // Produce one frame of image data; assumes format an [all...] |
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | SoftwareRenderer.cpp | 63 void SoftwareRenderer::resetFormatIfChanged(const sp<AMessage> &format) { argument 64 CHECK(format != NULL); 67 CHECK(format->findInt32("color-format", &colorFormatNew)); 70 CHECK(format->findInt32("stride", &widthNew)); 71 CHECK(format->findInt32("slice-height", &heightNew)); 74 if (!format->findRect( 185 if (!format->findInt32("rotation-degrees", &rotationDegrees)) { 207 void* /*platformPrivate*/, const sp<AMessage>& format) { 208 resetFormatIfChanged(format); 205 render( const void *data, size_t size, int64_t mediaTimeUs, nsecs_t renderTimeNs, void* , const sp<AMessage>& format) argument [all...] |
/frameworks/base/core/java/android/text/format/ |
H A D | DateFormat.java | 17 package android.text.format; 39 * <p>Most callers should avoid supplying their own format strings to this 40 * class' {@code format} methods and rely on the correctly localized ones 44 * of format strings, see {@link java.text.SimpleDateFormat}. 49 * <p>The {@code format} methods in this class implement a subset of Unicode 51 * The subset currently supported by this class includes the following format characters: 58 * Note that the non-{@code format} methods in this class are implemented by 163 * Returns true if user preference is set to 24-hour format. 165 * @return true if 24 hour time format is selected, false otherwise. 172 * Returns true if user preference with the given user handle is set to 24-hour format 342 public static CharSequence format(CharSequence inFormat, long inTimeInMillis) { method in class:DateFormat 353 public static CharSequence format(CharSequence inFormat, Date inDate) { method in class:DateFormat 438 public static CharSequence format(CharSequence inFormat, Calendar inDate) { method in class:DateFormat [all...] |
/frameworks/base/core/java/android/app/ |
H A D | NativeActivity.java | 108 int format, int width, int height); 270 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 273 onSurfaceChangedNative(mNativeHandle, holder.getSurface(), format, width, height); 326 void setWindowFormat(int format) { argument 327 getWindow().setFormat(format); 107 onSurfaceChangedNative(long handle, Surface surface, int format, int width, int height) argument
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | SerializedFrame.java | 23 import android.filterfw.format.ObjectFormat; 165 SerializedFrame(FrameFormat format, FrameManager frameManager) { argument 166 super(format, frameManager); 181 FrameFormat format = ObjectFormat.fromObject(object, FrameFormat.TARGET_SIMPLE); 182 SerializedFrame result = new SerializedFrame(format, frameManager);
|
H A D | NativeFrame.java | 36 NativeFrame(FrameFormat format, FrameManager frameManager) { argument 37 super(format, frameManager); 38 int capacity = format.getSize();
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/ |
H A D | TestDelegates.java | 129 String.format("Delegate method %1$s.%2$s does not match the " + 139 String.format("Delegate method %1$s for class %2$s does not have the " + 148 String.format( 159 mErrors.add(String.format("Missing %1$s.%2$s", delegateClass.getName(), name)); 177 mErrors.add(String.format(
|
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/ |
H A D | MultiLayoutVerificationTest.java | 69 assertEquals(String.format( 82 assertEquals(String.format( 140 assertEquals(String.format( 195 assertEquals(String.format( 250 assertEquals(String.format(
|
H A D | SimpleCompilationTest.java | 108 message = String.format(ErrorMessages.UNDEFINED_VARIABLE, "myVariable"); 111 message = String.format(ErrorMessages.CANNOT_FIND_SETTER_CALL, "android:textx", 130 String.format(ErrorMessages.UNDEFINED_VARIABLE, "myVariable")); 139 String.format(ErrorMessages.CANNOT_FIND_SETTER_CALL, "android:textx", 149 String.format(ErrorMessages.CANNOT_RESOLVE_TYPE, "myVariable~"));
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
H A D | ContiguousFIFOAggregator.java | 109 Log.d(TAG, String.format("ContiguousFIFOAggregator >> tasks: %s", prettyPrint())); 140 Log.d(TAG, String.format("ContiguousFIFOAggregator < tasks: %s", prettyPrint())); 178 Log.d(TAG, String.format("ContiguousFIFOAggregator ++ tasks: %s", prettyPrint())); 211 Log.d(TAG, String.format("ContiguousFIFOAggregator - tasks: %s", prettyPrint())); 234 Log.d(TAG, String.format("ContiguousFIFOAggregator first: %d", hash));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | ResponseData.java | 36 public abstract void format(ByteArrayOutputStream buf); method in class:ResponseData 59 public void format(ByteArrayOutputStream buf) { method in class:SelectItemResponseData 98 public void format(ByteArrayOutputStream buf) { method in class:GetInkeyInputResponseData 114 // ETSI TS 102 223 8.15, should use the same format as in SMS messages 171 public void format(ByteArrayOutputStream buf) { method in class:LanguageResponseData 209 public void format(ByteArrayOutputStream buf) { method in class:DTTZResponseData
|
/frameworks/av/include/camera/ |
H A D | CameraParameters.h | 94 void setPreviewFormat(const char *format); 99 void setPictureFormat(const char *format); 138 // The image format for preview frames. See CAMERA_MSG_PREVIEW_FRAME in 159 // The image format for captured pictures. See CAMERA_MSG_COMPRESSED_IMAGE 442 // sensitive). The format is three float values separated by commas. The 483 // The image format for video frames. See CAMERA_MSG_VIDEO_FRAME in 623 // Raw bayer format used for images, which is 10 bit precision samples 626 // Pixel format is not known to the framework 688 * corrsponding to the format given in the input string or -1 if no such 691 static int previewFormatToEnum(const char* format); [all...] |
/frameworks/av/media/libnbaio/ |
H A D | AudioBufferProviderSource.cpp | 27 const NBAIO_Format& format) : 28 NBAIO_Source(format), mProvider(provider), mConsumed(0) 31 ALOG_ASSERT(Format_isValid(format)); 26 AudioBufferProviderSource(AudioBufferProvider *provider, const NBAIO_Format& format) argument
|
/frameworks/av/media/libstagefright/ |
H A D | SurfaceUtils.cpp | 29 int width, int height, int format, int rotation, int usage) { 36 err = native_window_set_buffers_format(nativeWindow, format); 99 nativeWindow, width, height, format, rotation, finalUsage); 27 setNativeWindowSizeFormatAndUsage( ANativeWindow *nativeWindow , int width, int height, int format, int rotation, int usage) argument
|
/frameworks/av/services/audioflinger/ |
H A D | BufferProviders.h | 53 // It handles a private buffer for use in converting format or channel masks from the 94 audio_channel_mask_t outputChannelMask, audio_format_t format, 122 audio_channel_mask_t outputChannelMask, audio_format_t format, 136 // to an acceptable mixer input format type. 154 audio_format_t format, uint32_t sampleRate,
|
/frameworks/av/services/camera/libcameraservice/api2/ |
H A D | CameraDeviceClient.h | 88 // Create an input stream of width, height, and format. 89 virtual status_t createInputStream(int width, int height, int format); 170 // Find the closest dimensions for a given format in available stream configurations with 173 static bool roundBufferDimensionNearest(int32_t width, int32_t height, int32_t format, 184 int32_t format; member in struct:android::CameraDeviceClient::InputStreamConfiguration
|
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | CameraDeviceBase.h | 104 * Create an output stream of the requested size, format, rotation and dataspace 110 uint32_t width, uint32_t height, int format, 114 * Create an input stream of width, height, and format. 119 int32_t format, /*out*/ int32_t *id) = 0; 132 uint32_t *format, android_dataspace *dataSpace) = 0;
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | Tracer.java | 72 mOut.printf("%s %s\n", mDateFormat.format(new Date()), message); 176 log(String.format("%s (%s)", caller, join(", ", arguments))); 281 return String.format("%s.%s from %s() at %s:%d", shortClassName, caller.getMethodName(),
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | BaseSurfaceHolder.java | 130 public void setFormat(int format) { argument 131 if (mRequestedFormat != format) { 132 mRequestedFormat = format;
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodec.h | 54 const sp<AMessage> &format, 98 status_t getFormat(JNIEnv *env, bool input, jobject *format) const; 100 status_t getOutputFormat(JNIEnv *env, size_t index, jobject *format) const;
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | RedEyeFilter.java | 26 import android.filterfw.format.ImageFormat; 167 FrameFormat format = ImageFormat.create(bitmapWidth, bitmapHeight, 170 mRedEyeFrame = context.getFrameManager().newFrame(format);
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
H A D | AndroidAppAsset.java | 119 throw new AssociationServiceException(String.format(MISSING_FIELD_FORMAT_STRING, 126 String.format(MISSING_APPCERTS_FORMAT_STRING, 135 String.format(APPCERT_NOT_STRING_FORMAT_STRING,
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | CountdownConditionProvider.java | 30 import android.text.format.DateUtils; 136 if (DEBUG) Slog.d(TAG, String.format( 173 return String.format("Scheduled for %s, %s in the future (%s), now=%s",
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | Diagnostic.cpp | 29 // format - format this diagnostic into string, subsituting the formal 31 void Diagnostic::format(std::string& pOutStr) const { function in class:mcld::Diagnostic 35 format(desc.begin(), desc.end(), pOutStr); 68 // format - format the given formal string, subsituting the formal 70 void Diagnostic::format(const char* pBegin, function in class:mcld::Diagnostic 105 // DIAG's format error
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.h | 39 uint32_t format; member in struct:hwcTestGraphicFormat 110 const char *hwcTestGraphicFormat2str(uint32_t format); 119 uint32_t hwcTestColor2Pixel(uint32_t format, ColorFract color, float alpha);
|