Searched refs:format (Results 251 - 275 of 677) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/java/android/app/
H A DNativeActivity.java100 int format, int width, int height);
289 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
292 onSurfaceChangedNative(mNativeHandle, holder.getSurface(), format, width, height);
364 void setWindowFormat(int format) { argument
365 getWindow().setFormat(format);
99 onSurfaceChangedNative(int handle, Surface surface, int format, int width, int height) argument
/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.cpp9 YuvToJpegEncoder* YuvToJpegEncoder::create(int format, int* strides) { argument
12 if (format == HAL_PIXEL_FORMAT_YCrCb_420_SP) {
14 } else if (format == HAL_PIXEL_FORMAT_YCbCr_422_I) {
220 int format, int width, int height, jintArray offsets,
228 YuvToJpegEncoder* encoder = YuvToJpegEncoder::create(format, imgStrides);
219 YuvImage_compressToJpeg(JNIEnv* env, jobject, jbyteArray inYuv, int format, int width, int height, jintArray offsets, jintArray strides, int jpegQuality, jobject jstream, jbyteArray jstorage) argument
/frameworks/native/libs/ui/
H A DFramebufferNativeWindow.cpp54 ANativeWindowBuffer::format = f; member in class:android::NativeBuffer::ANativeWindowBuffer
106 * This does not actually change the framebuffer format. It merely
107 * fakes this format to surfaceflinger so that when it creates
108 * framebuffer surfaces it will use this format. It's really a giant
114 *((uint32_t *)&fbDev->format) = FRAMEBUFFER_FORCE_FORMAT;
120 fbDev->width, fbDev->height, fbDev->format, GRALLOC_USAGE_HW_FB);
126 fbDev->width, fbDev->height, fbDev->format,
307 *value = fb->format;
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/testrunner/
H A DUiAutomatorTestRunner.java131 writer.println(String.format("Test run aborted due to unexpected exception: %s",
136 String.format("\nTest results for %s=%s",
243 String.format("\n%s:", testClass));
274 String.format("\nError in %s:\n%s",
284 String.format("\nFailure in %s:\n%s",
/frameworks/base/core/java/android/view/
H A DWindowManager.java1120 * The desired bitmap format. May be one of the constants in
1123 public int format; field in class:WindowManager.LayoutParams
1284 format = PixelFormat.OPAQUE;
1290 format = PixelFormat.OPAQUE;
1297 format = PixelFormat.OPAQUE;
1304 format = _format;
1311 format = _format;
1321 format = _format;
1351 out.writeInt(format);
1392 format
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.cpp354 // of the graphic format named by the desc parameter. Search failure
368 // of the graphic format specified by the id parameter. Search failure
373 if (id == hwcTestGraphicFormat[n1].format) {
382 // Given the integer ID of a graphic format, return a pointer to
383 // a string that describes the format.
384 const char *hwcTestGraphicFormat2str(uint32_t format) argument
389 if (format == hwcTestGraphicFormat[n1].format) {
541 // Returns a uint32_t that contains a format specific representation of a
543 uint32_t hwcTestColor2Pixel(uint32_t format, ColorFrac argument
546 uint32_t format; member in struct:attrib
609 int format; member in struct:attrib
799 uint32_t format; member in struct:attrib
[all...]
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothStressTest.java220 String.format("connectA2dp(device=%s)", device));
222 String.format("disconnectA2dp(device=%s)", device));
253 String.format("connectHeadset(device=%s)", device));
255 String.format("disconnectHeadset(device=%s)", device));
286 String.format("connectInput(device=%s)", device));
288 String.format("disconnectInput(device=%s)", device));
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DFileRotatorTest.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.SECOND_IN_MILLIS;
23 import static android.text.format.DateUtils.WEEK_IN_MILLIS;
24 import static android.text.format.DateUtils.YEAR_IN_MILLIS;
/frameworks/base/services/java/com/android/server/
H A DTwilightService.java33 import android.text.format.DateUtils;
34 import android.text.format.Time;
249 + ", mYesterdaySunset=" + f.format(new Date(mYesterdaySunset))
250 + ", mTodaySunrise=" + f.format(new Date(mTodaySunrise))
251 + ", mTodaySunset=" + f.format(new Date(mTodaySunset))
252 + ", mTomorrowSunrise=" + f.format(new Date(mTomorrowSunrise))
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DDatePicker.java24 import android.text.format.DateFormat;
189 // re-order the number pickers to match the current date format
206 java.text.DateFormat format;
210 * If the user is in a locale where the medium date format is
212 * the date format order setting. Otherwise, use the order
217 format = DateFormat.getDateFormat(getContext());
219 format = DateFormat.getMediumDateFormat(getContext());
222 if (format instanceof SimpleDateFormat) {
223 order = ((SimpleDateFormat) format).toPattern();
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DMediaSource.java35 import android.filterfw.format.ImageFormat;
328 String temp = String.format("SetSourceRegion: %.2f, %.2f, %.2f, %.2f, %.2f, %.2f, %.2f, %.2f",
482 throw new RuntimeException(String.format("Unable to set MediaPlayer to URL %s!", mSourceUrl), e);
484 throw new RuntimeException(String.format("Unable to set MediaPlayer to asset %s!", mSourceAsset), e);
490 throw new RuntimeException(String.format("Unable to set MediaPlayer to URL %s!", mSourceUrl), e);
492 throw new RuntimeException(String.format("Unable to set MediaPlayer to asset %s!", mSourceAsset), e);
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp134 const sp<AMessage> &format,
140 msg->setMessage("format", format);
291 status_t MediaCodec::getOutputFormat(sp<AMessage> *format) const {
300 CHECK(response->findMessage("format", format));
619 ALOGV("codec output format changed");
636 "color-format", &colorFormat));
670 // part of the format in the call to configure and
796 sp<AMessage> format local
133 configure( const sp<AMessage> &format, const sp<SurfaceTextureClient> &nativeWindow, const sp<ICrypto> &crypto, uint32_t flags) argument
827 sp<AMessage> format; local
1179 extractCSD(const sp<AMessage> &format) argument
[all...]
/frameworks/av/include/camera/
H A DCameraParameters.h94 void setPreviewFormat(const char *format);
99 void setPictureFormat(const char *format);
129 // The image format for preview frames. See CAMERA_MSG_PREVIEW_FRAME in
150 // The image format for captured pictures. See CAMERA_MSG_COMPRESSED_IMAGE
433 // sensitive). The format is three float values separated by commas. The
474 // The image format for video frames. See CAMERA_MSG_VIDEO_FRAME in
610 // Raw bayer format used for images, which is 10 bit precision samples
613 // Pixel format is not known to the framework
/frameworks/av/media/libstagefright/wifi-display/source/
H A DTSPacketizer.cpp36 Track(const sp<AMessage> &format,
85 const sp<AMessage> &format,
87 : mFormat(format),
94 CHECK(format->findString("mime", &mMIME));
100 if (!format->findBuffer(StringPrintf("csd-%d", i).c_str(), &csd)) {
331 ssize_t TSPacketizer::addTrack(const sp<AMessage> &format) { argument
333 CHECK(format->findString("mime", &mime));
387 sp<Track> track = new Track(format, PID, streamType, streamID);
84 Track( const sp<AMessage> &format, unsigned PID, unsigned streamType, unsigned streamID) argument
/frameworks/base/core/java/com/android/internal/app/
H A DNetInitiatedActivity.java93 p.mPositiveButtonText = String.format(context.getString(R.string.gpsVerifYes));
95 p.mNegativeButtonText = String.format(context.getString(R.string.gpsVerifNo));
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerStressTest.java84 request.setTitle(String.format("%s--%d", DEFAULT_FILENAME + i, i));
103 String errorString = String.format(
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
H A DGridTouchVerticalSpacingStackFromBottomTest.java130 assertTrue(String.format("Too many children created: %d expected no more than %d",
148 assertTrue(String.format("Too many children created: %d expected no more than %d",
H A DGridTouchVerticalSpacingTest.java114 assertTrue(String.format("Too many children created: %d expected no more than %d",
133 assertTrue(String.format("Too many children created: %d expected no more than %d",
/frameworks/base/libs/androidfw/
H A DInputDevice.cpp63 String8::format("Vendor_%04x_Product_%04x_Version_%04x",
74 String8::format("Vendor_%04x_Product_%04x",
/frameworks/base/libs/hwui/
H A DLayerRenderer.cpp376 GLenum format; local
384 format = GL_ALPHA;
388 format = GL_RGB;
392 format = GL_RGBA;
397 format = GL_RGBA;
427 glTexImage2D(GL_TEXTURE_2D, 0, format, bitmap->width(), bitmap->height(),
428 0, format, type, NULL);
459 glReadPixels(0, 0, bitmap->width(), bitmap->height(), format,
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardStatusView.java23 import android.text.format.DateFormat;
124 maybeSetUpperCaseText(mDateView, DateFormat.format(mDateFormatString, new Date()));
/frameworks/base/test-runner/src/android/test/
H A DInstrumentationTestRunner.java433 * Expected format: com.android.TestClass#testMethod
515 Log.e(LOG_TAG, String.format("Provided annotation value %s is not an Annotation",
519 Log.e(LOG_TAG, String.format("Could not find class for specified annotation %s",
561 writer.println(String.format("Test run aborted due to unexpected exception: %s",
566 String.format("\nTest results for %s=%s",
616 String.format("%s\nGenerated code coverage data to %s", currentStream,
771 String.format("\n%s:", testClass));
838 String.format("\nError in %s:\n%s",
850 String.format("\nFailure in %s:\n%s",
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSimpleModelView.java88 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
89 super.surfaceChanged(holder, format, w, h);
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
H A DTestAppView.java57 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
58 super.surfaceChanged(holder, format, w, h);
/frameworks/base/tools/aapt/
H A DAndroid.mk31 LOCAL_CFLAGS += -Wno-format-y2k

Completed in 2608 milliseconds

<<11121314151617181920>>