Searched refs:format (Results 126 - 150 of 1129) sorted by relevance

1234567891011>>

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DIOProfile.h47 audio_format_t format,
/frameworks/base/core/java/android/widget/
H A DDateTimeView.java26 import android.text.format.Time;
38 // - listen for date format pref changed
145 // Choose the format
146 DateFormat format;
148 // use cached format
149 format = mLastFormat;
153 format = getTimeFormat();
156 format = DateFormat.getDateInstance(DateFormat.SHORT);
161 mLastFormat = format;
165 String text = format
[all...]
H A DTextClock.java33 import android.text.format.DateFormat;
52 * <p>This view honors the 24-hour format system setting. As such, it is
61 * <p>The rules used by this widget to decide how to format the date and
285 * you supply a format string generated by
287 * takes care of generating a format string adapted to the desired locale.</p>
290 * @param format A date/time formatting pattern as described in {@link DateFormat}
300 public void setFormat12Hour(CharSequence format) { argument
301 mFormat12 = format;
311 public void setContentDescriptionFormat12Hour(CharSequence format) { argument
312 mDescFormat12 = format;
358 setFormat24Hour(CharSequence format) argument
369 setContentDescriptionFormat24Hour(CharSequence format) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DBitmapFactory.h22 jstring getMimeTypeString(JNIEnv* env, SkImageDecoder::Format format);
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
H A DNetworkState.java93 Log.v(LOG_TAG, String.format("Print state depository: %s", printStates()));
124 Log.v(LOG_TAG, String.format("%s is expected, but it is %s",
127 mReason = String.format("%s is expected, but it is %s",
144 str.append(String.format(" Initial state should be CONNECTED, but it is %s.",
151 str.append(String.format(" Last state should be DISCONNECTED, but it is %s",
167 str.append(String.format(" Transition state from %s to %s is not valid",
185 str.append(String.format(" Initial state should be DISCONNECTED, but it is %s.",
192 str.append(String.format(" Last state should be %s, but it is %s", mTransitionTarget,
208 str.append(String.format(" Transition state from %s to %s is not valid.",
/frameworks/base/core/tests/coretests/src/android/text/format/
H A DDateFormatTest.java17 package android.text.format;
/frameworks/base/location/lib/java/com/android/location/provider/
H A DActivityRecognitionEvent.java63 return String.format(
/frameworks/base/media/java/android/media/
H A DImageUtils.java43 public static int getNumPlanesForFormat(int format) { argument
44 switch (format) {
66 String.format("Invalid format specified %d", format));
75 * Only support the copy between two non-{@link ImageFormat#PRIVATE PRIVATE} format
76 * images with same properties (format, size, etc.). The data from the
85 * have different format, or one of the images is not copyable.
92 throw new IllegalArgumentException("Src and dst images should have the same format");
96 throw new IllegalArgumentException("PRIVATE format image
175 getEstimatedNativeAllocBytes(int width, int height, int format, int numImages) argument
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/text/
H A DStringLogger.java24 import android.filterfw.format.ObjectFormat;
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
H A DAssetFactory.java39 throw new AssociationServiceException(String.format(
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
H A DScreenshotTest.java68 assertNotNull(String.format("Could not find screenshot after %d seconds",
73 assertTrue(String.format("Detected new screenshot %s but its not a file",
75 assertTrue(String.format("Detected new screenshot %s but its not an image",
96 Log.d(LOG_TAG, String.format("Detected new file added %s", path));
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DUploadedTexture.java194 int format = GLUtils.getInternalFormat(bitmap);
196 canvas.texSubImage2D(this, mBorder, mBorder, bitmap, format, type);
231 int format = GLUtils.getInternalFormat(bitmap);
235 canvas.initializeTextureSize(this, format, type);
236 canvas.texSubImage2D(this, mBorder, mBorder, bitmap, format, type);
241 canvas.texSubImage2D(this, 0, 0, line, format, type);
245 canvas.texSubImage2D(this, 0, 0, line, format, type);
251 canvas.texSubImage2D(this, mBorder + bWidth, 0, line, format, type);
257 canvas.texSubImage2D(this, 0, mBorder + bHeight, line, format, type);
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pUpnpServiceRequest.java78 sb.append(String.format(Locale.US, "%02x", WifiP2pUpnpServiceInfo.VERSION_1_0));
/frameworks/native/include/android/
H A Dbitmap.h47 int32_t format; member in struct:__anon1238
/frameworks/native/include/gui/
H A DGraphicBufferAlloc.h37 uint32_t height, PixelFormat format, uint32_t usage,
/frameworks/native/libs/gui/
H A DIGraphicBufferAlloc.cpp48 uint32_t height, PixelFormat format, uint32_t usage,
54 data.writeInt32(static_cast<int32_t>(format));
102 PixelFormat format = static_cast<PixelFormat>(data.readInt32()); local
106 createGraphicBuffer(width, height, format, usage, &error);
47 createGraphicBuffer(uint32_t width, uint32_t height, PixelFormat format, uint32_t usage, status_t* error) argument
/frameworks/native/opengl/libagl/
H A DTextureObjectManager.cpp153 sur.format= native_buffer->format;
162 int format, int compressedFormat, int bpr)
183 surface.format = format;
215 mipmap.format = format;
223 if (curr->format != surface.format) {
160 reallocate( GLint level, int w, int h, int s, int format, int compressedFormat, int bpr) argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
H A DNodeAttribute.java28 return String.format("%s (%s) = '%s'", mName, mType, mValue);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3OutputStream.cpp36 uint32_t width, uint32_t height, int format,
39 /*maxSize*/0, format, dataSpace, rotation),
52 uint32_t width, uint32_t height, size_t maxSize, int format,
55 format, dataSpace, rotation),
60 if (format != HAL_PIXEL_FORMAT_BLOB) {
61 ALOGE("%s: Bad format for size-only stream: %d", __FUNCTION__,
62 format);
74 int format,
79 format, dataSpace, rotation),
316 camera3_stream::format);
34 Camera3OutputStream(int id, sp<Surface> consumer, uint32_t width, uint32_t height, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation) argument
50 Camera3OutputStream(int id, sp<Surface> consumer, uint32_t width, uint32_t height, size_t maxSize, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation) argument
72 Camera3OutputStream(int id, camera3_stream_type_t type, uint32_t width, uint32_t height, int format, android_dataspace dataSpace, camera3_stream_rotation_t rotation) argument
[all...]
/frameworks/native/libs/gui/tests/
H A DGLTest.cpp182 msg += String8::format("error reading pixel: %#x", err);
184 msg += String8::format(", %#x", err);
189 msg += String8::format("r(%d isn't %d)", pixel[0], r);
195 msg += String8::format("g(%d isn't %d)", pixel[1], g);
201 msg += String8::format("b(%d isn't %d)", pixel[2], b);
207 msg += String8::format("a(%d isn't %d)", pixel[3], a);
221 msg += String8::format("left(%d isn't %d)", r1.left, r2.left);
227 msg += String8::format("top(%d isn't %d)", r1.top, r2.top);
233 msg += String8::format("right(%d isn't %d)", r1.right, r2.right);
239 msg += String8::format("botto
[all...]
/frameworks/av/cmds/stagefright/
H A Dmuxer.cpp101 sp<AMessage> format; local
102 status_t err = extractor->getTrackFormat(i, &format);
104 ALOGV("extractor getTrackFormat: %s", format->debugString().c_str());
107 CHECK(format->findString("mime", &mime));
122 CHECK(format->findInt32("width", &width));
123 CHECK(format->findInt32("height", &height));
128 CHECK(format->findInt64("durationUs", &duration));
144 ssize_t newTrackIndex = muxer->addTrack(format);
/frameworks/av/include/media/
H A DAudioPolicy.h78 AudioMix(Vector<AttributeMatchCriterion> criteria, uint32_t mixType, audio_config_t format, argument
80 mCriteria(criteria), mMixType(mixType), mFormat(format),
/frameworks/av/include/media/stagefright/
H A DMediaMuxer.h50 OUTPUT_FORMAT_LIST_END // must be last - used to validate format type
55 MediaMuxer(int fd, OutputFormat format);
60 * Add a track with its format information. This should be
62 * @param format the track's format.
65 ssize_t addTrack(const sp<AMessage> &format);
/frameworks/av/media/libstagefright/codecs/g711/dec/
H A DSoftG711.cpp74 def.format.audio.cMIMEType =
80 def.format.audio.pNativeRender = NULL;
81 def.format.audio.bFlagErrorConcealment = OMX_FALSE;
82 def.format.audio.eEncoding = OMX_AUDIO_CodingG711;
97 def.format.audio.cMIMEType = const_cast<char *>("audio/raw");
98 def.format.audio.pNativeRender = NULL;
99 def.format.audio.bFlagErrorConcealment = OMX_FALSE;
100 def.format.audio.eEncoding = OMX_AUDIO_CodingPCM;
/frameworks/av/media/libstagefright/codecs/gsm/dec/
H A DSoftGSM.cpp77 def.format.audio.cMIMEType =
80 def.format.audio.pNativeRender = NULL;
81 def.format.audio.bFlagErrorConcealment = OMX_FALSE;
82 def.format.audio.eEncoding = OMX_AUDIO_CodingGSMFR;
97 def.format.audio.cMIMEType = const_cast<char *>("audio/raw");
98 def.format.audio.pNativeRender = NULL;
99 def.format.audio.bFlagErrorConcealment = OMX_FALSE;
100 def.format.audio.eEncoding = OMX_AUDIO_CodingPCM;

Completed in 560 milliseconds

1234567891011>>