/frameworks/base/core/java/android/app/ |
H A D | NativeActivity.java | 100 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 D | YuvToJpegEncoder.cpp | 9 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 D | FramebufferNativeWindow.cpp | 54 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 D | UiAutomatorTestRunner.java | 131 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 D | WindowManager.java | 1120 * 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 D | hwcTestLib.cpp | 354 // 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 D | BluetoothStressTest.java | 220 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 D | FileRotatorTest.java | 19 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 D | TwilightService.java | 33 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 D | DatePicker.java | 24 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 D | MediaSource.java | 35 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 D | MediaCodec.cpp | 134 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 D | CameraParameters.h | 94 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 D | TSPacketizer.cpp | 36 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 D | NetInitiatedActivity.java | 93 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 D | DownloadManagerStressTest.java | 84 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 D | GridTouchVerticalSpacingStackFromBottomTest.java | 130 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 D | GridTouchVerticalSpacingTest.java | 114 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 D | InputDevice.cpp | 63 String8::format("Vendor_%04x_Product_%04x_Version_%04x", 74 String8::format("Vendor_%04x_Product_%04x",
|
/frameworks/base/libs/hwui/ |
H A D | LayerRenderer.cpp | 376 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 D | KeyguardStatusView.java | 23 import android.text.format.DateFormat; 124 maybeSetUpperCaseText(mDateView, DateFormat.format(mDateFormatString, new Date()));
|
/frameworks/base/test-runner/src/android/test/ |
H A D | InstrumentationTestRunner.java | 433 * 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 D | SimpleModelView.java | 88 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 D | TestAppView.java | 57 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 D | Android.mk | 31 LOCAL_CFLAGS += -Wno-format-y2k
|