Searched refs:format (Results 176 - 200 of 1700) sorted by relevance

1234567891011>>

/frameworks/av/media/libnbaio/include/media/nbaio/
H A DPipe.h35 // which must be of size roundup(maxFrames) * Format_frameSize(format) bytes.
36 Pipe(size_t maxFrames, const NBAIO_Format& format, void *buffer = NULL);
45 //virtual NBAIO_Format format() const;
/frameworks/av/media/libstagefright/include/media/stagefright/
H A DUtils.h48 const sp<MetaData> &meta, sp<AMessage> *format);
50 const sp<AMessage> &format, sp<MetaData> &meta);
60 status_t mapMimeToAudioFormat(audio_format_t& format, const char* mime);
63 void mapAACProfileToAudioFormat(audio_format_t& format, uint64_t eAacProfile);
/frameworks/av/media/libstagefright/rtsp/
H A DARawAudioAssembler.h37 const char *desc, const sp<MetaData> &format);
/frameworks/av/media/ndk/
H A DNdkMediaMuxer.cpp56 AMediaMuxer* AMediaMuxer_new(int fd, OutputFormat format) { argument
59 mData->mImpl = new MediaMuxer(fd, (android::MediaMuxer::OutputFormat)format);
81 ssize_t AMediaMuxer_addTrack(AMediaMuxer *muxer, const AMediaFormat *format) { argument
83 AMediaFormat_getFormat(format, &msg);
/frameworks/av/services/camera/libcameraservice/utils/
H A DLatencyHistogram.h36 void log(const char* format, ...);
/frameworks/base/core/java/android/net/metrics/
H A DConnectStats.java120 builder.append(String.format("%d success, ", connectCount));
121 builder.append(String.format("%d blocking, ", connectBlockingCount));
122 builder.append(String.format("%d IPv6 dst", ipv6ConnectCount));
126 builder.append(String.format(", %s: %d", errno, count));
/frameworks/base/core/jni/android/graphics/
H A DBitmapFactory.h29 jstring encodedFormatToString(JNIEnv* env, SkEncodedImageFormat format);
/frameworks/base/location/lib/java/com/android/location/provider/
H A DActivityRecognitionEvent.java63 return String.format(
/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/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.h51 /** Bitmap pixel format. */
53 /** No format. */
73 /** The bitmap pixel format. See {@link AndroidBitmapFormat} */
74 int32_t format; member in struct:__anon1531
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/
H A DPickerUtility.java76 public static String[] createStringIntArrays(int firstNumber, int lastNumber, String format) { argument
79 if (format != null) {
80 array[i - firstNumber] = String.format(format, i);
/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/media/java/android/media/
H A DImageUtils.java43 public static int getNumPlanesForFormat(int format) { argument
44 switch (format) {
71 String.format("Invalid format specified %d", format));
80 * Only support the copy between two non-{@link ImageFormat#PRIVATE PRIVATE} format
81 * images with same properties (format, size, etc.). The data from the
90 * have different format, or one of the images is not copyable.
97 throw new IllegalArgumentException("Src and dst images should have the same format");
101 throw new IllegalArgumentException("PRIVATE format image
188 getEstimatedNativeAllocBytes(int width, int height, int format, int numImages) argument
[all...]
H A DImageWriter.java63 * {@link ImageFormat#PRIVATE PRIVATE} format Images produced by
107 * The input Image size and format depend on the Surface that is provided by
127 * Create a new ImageWriter with given number of max Images and format.
136 * The format specifies the image format of this ImageWriter. The format
137 * from the {@code surface} will be overridden with this format. For example,
139 * format may be {@link PixelFormat#RGBA_8888}. If the application creates an ImageWriter
145 * format, for such case, the application should only use this method if the consumer is able
161 * @param format Th
167 newInstance(Surface surface, int maxImages, int format) argument
177 ImageWriter(Surface surface, int maxImages, int format) argument
851 nativeInit(Object weakSelf, Surface surface, int maxImgs, int format) argument
[all...]
/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/services/core/java/com/android/server/
H A DCommonTimeManagementService.java187 pw.println(String.format(" Native service : %s",
190 pw.println(String.format(" Bound interface : %s",
192 pw.println(String.format(" Allow WiFi : %s", ALLOW_WIFI ? "yes" : "no"));
193 pw.println(String.format(" Allow Auto Disable : %s", AUTO_DISABLE ? "yes" : "no"));
194 pw.println(String.format(" Server Priority : %d", mEffectivePrio));
195 pw.println(String.format(" No iface timeout : %d", NO_INTERFACE_TIMEOUT));
249 Log.w(TAG, String.format("Native service died, will reconnect in %d mSec",
328 Log.e(TAG, String.format("Binding common time service to %s.", bindIface));
336 Log.e(TAG, String.format("Switching common time service binding from %s to %s.",
/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/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DGsmCdmaConnectionTest.java59 connection = new GsmCdmaConnection(mPhone, String.format(
64 String.format("+1 (700).555-41NN1234%c", PhoneNumberUtils.PAUSE));
75 connection = new GsmCdmaConnection(mPhone, String.format(
93 connection = new GsmCdmaConnection(mPhone, String.format(
111 connection = new GsmCdmaConnection(mPhone, String.format(
129 connection = new GsmCdmaConnection(mPhone, String.format(
146 connection = new GsmCdmaConnection(mPhone, String.format(
166 String.format("+1 (700).555-41NN%c1234", PhoneNumberUtils.WAIT),mCT,null,
182 connection = new GsmCdmaConnection(mPhone, String.format(
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneInfo.java22 import android.text.format.DateUtils;
23 import android.text.format.Time;
91 String format = "%I:%M %p";
94 format = "%b %d %H:%M";
96 format = "%b %d %I:%M %p";
99 format = "%H:%M";
102 // format = "%Y-%m-%d %H:%M";
103 localTimeStr = recycledTime.format(format);
243 return df.format(ne
[all...]
/frameworks/base/core/java/android/widget/
H A DDateTimeView.java19 import static android.text.format.DateUtils.DAY_IN_MILLIS;
20 import static android.text.format.DateUtils.HOUR_IN_MILLIS;
21 import static android.text.format.DateUtils.MINUTE_IN_MILLIS;
22 import static android.text.format.DateUtils.YEAR_IN_MILLIS;
23 import static android.text.format.Time.getJulianDay;
35 import android.text.format.Time;
50 // - listen for date format pref changed
187 // Choose the format
188 DateFormat format;
190 // use cached format
[all...]
H A DTextClock.java36 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
293 * you supply a format string generated by
295 * takes care of generating a format string adapted to the desired locale.</p>
298 * @param format A date/time formatting pattern as described in {@link DateFormat}
308 public void setFormat12Hour(CharSequence format) { argument
309 mFormat12 = format;
319 public void setContentDescriptionFormat12Hour(CharSequence format) { argument
320 mDescFormat12 = format;
366 setFormat24Hour(CharSequence format) argument
377 setContentDescriptionFormat24Hour(CharSequence format) argument
[all...]
/frameworks/rs/tests/lldb/tests/harness/
H A Dutil_android.py87 cmd = '{0} -s {1} {2}'.format(self._path_adb, self.device, args)
89 cmd = '{0} {1}'.format(self._path_adb, args)
175 self._log.warn("[ADB] Command executed: {0}".format(cmd))
186 self._log.log(level, 'RC: {0}, Output: {1}'.format(return_code,
206 cmd = "echo {0}".format(token)
248 return self.adb('shell "{0}"'.format(cmd), async, True, timeout)
273 self._log.warn('Unable to find pid of: {0}'.format(process_name))
278 .format(process_name, pids))
282 self._log.info('App pid found: {0}'.format(pids[0]))
304 self._log.info('adb found: {0}'.format(ou
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/app/
H A DMainActivity.java157 String.format("Credentials for %s was successfully installed", spName));
162 String.format("Failed to install credentials for %s: %s: %s",
166 String.format("Failed to install credentials for %s: %s",
171 String.format("Failed to contact OSU: %s", provMessage));
181 String.format("There is an issue connecting to %s [for the next %s]. " +
185 String.format("There is an issue connecting to %s. " +
190 String.format("There is an issue with the closest Access Point for %s. " +
203 return String.format("%02d:%02d:%02d", hours, minutes, seconds);
205 return String.format("%ds", seconds);
212 .setContentTitle(String.format("
[all...]

Completed in 875 milliseconds

1234567891011>>