/frameworks/av/services/camera/libcameraservice/ |
D | FakeCamera.cpp | 219 uint16_t pixels; in ccrgb16toyuv_wo_colorkey() local 237 pixels = inputRGB[i]; in ccrgb16toyuv_wo_colorkey() 238 temp = (BETA*(pixels & 0x001F) + ALPHA*(pixels>>11) ); in ccrgb16toyuv_wo_colorkey() 239 y0 = y_tab[(temp>>SHIFT1) + ((pixels>>3) & 0x00FC)]; in ccrgb16toyuv_wo_colorkey() 241 G_ds += (pixels>>1) & 0x03E0; in ccrgb16toyuv_wo_colorkey() 242 B_ds += (pixels<<5) & 0x03E0; in ccrgb16toyuv_wo_colorkey() 243 R_ds += (pixels>>6) & 0x03E0; in ccrgb16toyuv_wo_colorkey() 245 pixels = inputRGB[i+1]; in ccrgb16toyuv_wo_colorkey() 246 temp = (BETA*(pixels & 0x001F) + ALPHA*(pixels>>11) ); in ccrgb16toyuv_wo_colorkey() 247 y1 = y_tab[(temp>>SHIFT1) + ((pixels>>3) & 0x00FC)]; in ccrgb16toyuv_wo_colorkey() [all …]
|
/frameworks/base/media/mca/filterfw/jni/ |
D | jni_gl_frame.cpp | 202 uint8_t* pixels = new uint8_t[frame->Size()]; in Java_android_filterfw_core_GLFrame_getNativeFloats() local 203 frame->CopyDataTo(pixels, frame->Size()); in Java_android_filterfw_core_GLFrame_getNativeFloats() 206 ConvertRGBAToFloats(pixels, frame->Size(), float_array); in Java_android_filterfw_core_GLFrame_getNativeFloats() 209 delete[] pixels; in Java_android_filterfw_core_GLFrame_getNativeFloats() 222 uint8_t* pixels; in Java_android_filterfw_core_GLFrame_setNativeBitmap() local 223 const int result = AndroidBitmap_lockPixels(env, bitmap, reinterpret_cast<void**>(&pixels)); in Java_android_filterfw_core_GLFrame_setNativeBitmap() 225 const bool success = frame->WriteData(pixels, size); in Java_android_filterfw_core_GLFrame_setNativeBitmap() 238 uint8_t* pixels; in Java_android_filterfw_core_GLFrame_getNativeBitmap() local 239 const int result = AndroidBitmap_lockPixels(env, bitmap, reinterpret_cast<void**>(&pixels)); in Java_android_filterfw_core_GLFrame_getNativeBitmap() 241 frame->CopyDataTo(pixels, frame->Size()); in Java_android_filterfw_core_GLFrame_getNativeBitmap()
|
/frameworks/base/telephony/java/com/android/internal/telephony/cat/ |
D | IconLoader.java | 242 int[] pixels = new int[numOfPixels]; in parseToBnW() local 253 pixels[pixelIndex++] = bitToBnW((currentByte >> bitIndex-- ) & 0x01); in parseToBnW() 259 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888); in parseToBnW() 299 int[] pixels = new int[numOfPixels]; in parseToRGB() local 316 pixels[pixelIndex++] = Color.rgb(clut[clutIndex], in parseToRGB() 321 return Bitmap.createBitmap(pixels, width, height, in parseToRGB()
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | gl_frame.h | 145 bool ReadTexturePixels(uint8_t* pixels) const; 148 bool ReadFboPixels(uint8_t* pixels) const; 151 bool UploadTexturePixels(const uint8_t* pixels);
|
D | gl_frame.cpp | 347 bool GLFrame::ReadFboPixels(uint8_t* pixels) const { in ReadFboPixels() 356 pixels); in ReadFboPixels() 362 bool GLFrame::ReadTexturePixels(uint8_t* pixels) const { in ReadTexturePixels() 388 return target.ReadFboPixels(pixels); in ReadTexturePixels() 448 bool GLFrame::UploadTexturePixels(const uint8_t* pixels) { in UploadTexturePixels() argument 454 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels); in UploadTexturePixels()
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
D | BitmapTest.java | 89 int[] pixels = new int[100]; in testGetPixelsWithAlpha() local 90 bm.getPixels(pixels, 0, 10, 0, 0, 10, 10); in testGetPixelsWithAlpha() 93 assertEquals("getPixels", p, pixels[i]); in testGetPixelsWithAlpha() 114 int[] pixels = new int[100]; in testGetPixelsWithoutAlpha() local 115 bm.getPixels(pixels, 0, 10, 0, 0, 10, 10); in testGetPixelsWithoutAlpha() 118 assertEquals("getPixels", p, pixels[i]); in testGetPixelsWithoutAlpha()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/performance/ |
D | Throughput.java | 30 public Throughput(int totalFrames, int periodFrames, int periodTime, int pixels) { in Throughput() argument 34 mPixels = pixels; in Throughput()
|
/frameworks/base/docs/html/guide/webapps/ |
D | targeting.jd | 60 <dd>The screen density (the number of pixels per inch) on an Android-powered device affects 83 the viewport has its own dimensions that determine the number of pixels available to a web page. 84 That is, the number of pixels available to a web page before it exceeds the screen area is 87 480 pixels, the viewport can have a width of 800 pixels, so that a web page designed to be 800 88 pixels wide is completely visible on the screen.</p> 129 <p class="img-caption"><strong>Figure 1.</strong> A web page with an image that's 320 pixels 131 enabled, the viewport is 800 pixels wide, by default).</p> 138 "overview mode" enabled (the image in the web page is 320 pixels wide).</p> 145 viewport (the number of pixels available to the web page before it goes off screen).</p> 148 default (unless disable by the user), which sets the minimum viewport width to 800 pixels. So, if [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 963 public void getPixels(int[] pixels, int offset, int stride, in getPixels() argument 969 checkPixelsAccess(x, y, width, height, offset, stride, pixels); in getPixels() 970 nativeGetPixels(mNativeBitmap, pixels, offset, stride, in getPixels() 1003 int offset, int stride, int pixels[]) { in checkPixelsAccess() argument 1023 int length = pixels.length; in checkPixelsAccess() 1072 public void setPixels(int[] pixels, int offset, int stride, in setPixels() argument 1081 checkPixelsAccess(x, y, width, height, offset, stride, pixels); in setPixels() 1082 nativeSetPixels(mNativeBitmap, pixels, offset, stride, in setPixels() 1236 private static native void nativeGetPixels(int nativeBitmap, int[] pixels, in nativeGetPixels() argument
|
/frameworks/base/tests/touchlag/ |
D | touchlag.cpp | 46 uint32_t* pixels; member 51 android_memset32(buf->pixels, pixel, buf->s * buf->h * 4); in clearBuffer() 56 uint32_t* bits = buf->pixels + y * buf->s; in drawTwoPixels() 78 uint32_t* bits = buf->pixels + y * buf->s + x; in drawHLine() 97 uint32_t* bits = buf->pixels + y * buf->s + x; in drawRect()
|
/frameworks/base/core/java/android/widget/ |
D | Spinner.java | 254 public void setDropDownVerticalOffset(int pixels) { in setDropDownVerticalOffset() argument 255 mPopup.setVerticalOffset(pixels); in setDropDownVerticalOffset() 278 public void setDropDownHorizontalOffset(int pixels) { in setDropDownHorizontalOffset() argument 279 mPopup.setHorizontalOffset(pixels); in setDropDownHorizontalOffset() 307 public void setDropDownWidth(int pixels) { in setDropDownWidth() argument 312 mDropDownWidth = pixels; in setDropDownWidth()
|
D | Switch.java | 297 public void setSwitchPadding(int pixels) { in setSwitchPadding() argument 298 mSwitchPadding = pixels; in setSwitchPadding() 321 public void setSwitchMinWidth(int pixels) { in setSwitchMinWidth() argument 322 mSwitchMinWidth = pixels; in setSwitchMinWidth() 345 public void setThumbTextPadding(int pixels) { in setThumbTextPadding() argument 346 mThumbTextPadding = pixels; in setThumbTextPadding()
|
/frameworks/base/core/jni/ |
D | android_view_Surface.cpp | 562 ScreenshotPixelRef* pixels = new ScreenshotPixelRef(NULL); in doScreenshot() local 563 if (pixels->update(width, height, minLayer, maxLayer, allLayers) != NO_ERROR) { in doScreenshot() 564 delete pixels; in doScreenshot() 568 uint32_t w = pixels->getWidth(); in doScreenshot() 569 uint32_t h = pixels->getHeight(); in doScreenshot() 570 uint32_t s = pixels->getStride(); in doScreenshot() 571 uint32_t f = pixels->getFormat(); in doScreenshot() 581 bitmap->setPixelRef(pixels)->unref(); in doScreenshot() 585 delete pixels; in doScreenshot()
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcCommit.cpp | 842 uint64_t pixels = dim.width() * dim.height(); in dfMinDim() local 843 if (!bestSet || (pixels < bestMinPixels)) { in dfMinDim() 844 bestMinPixels = pixels; in dfMinDim() 891 uint64_t pixels = dim.width() * dim.height(); in dfMaxDim() local 892 if (!bestSet || (pixels > bestMaxPixels)) { in dfMaxDim() 893 bestMaxPixels = pixels; in dfMaxDim() 1014 uint64_t pixels = dim.width() * dim.height(); in scMinDim() local 1015 if (!bestSet || (pixels < bestMinPixels)) { in scMinDim() 1016 bestMinPixels = pixels; in scMinDim() 1065 uint64_t pixels = dim.width() * dim.height(); in scMaxDim() local [all …]
|
/frameworks/native/opengl/libagl/ |
D | texture.cpp | 486 uint8_t const* pixels = (uint8_t *)data + paletteSize; in decodePalette4() local 490 pixels += h * ((w * indexBits) / 8); in decodePalette4() 501 int index = 2 * (*pixels++); in decodePalette4() 507 int v = *pixels++; in decodePalette4() 525 int index = 3 * (*pixels++); in decodePalette4() 532 int v = *pixels++; in decodePalette4() 552 int index = 4 * (*pixels++); in decodePalette4() 560 int v = *pixels++; in decodePalette4() 1169 GLenum format, GLenum type, const GLvoid *pixels) in glTexImage2D() argument 1197 if (pixels) { in glTexImage2D() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | IccUtils.java | 397 int[] pixels = new int[numOfPixels]; in parseToBnW() local 408 pixels[pixelIndex++] = bitToRGB((currentByte >> bitIndex-- ) & 0x01); in parseToBnW() 414 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888); in parseToBnW()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | AutoFixFilter.java | 279 int pixels = (width - 2 * x_border_thickness) * (height - 2 * y_border_thickness); in createHistogramFrame() local 296 long temp = (256 * 256 - 1l) * histArray[i] / pixels; in createHistogramFrame()
|
/frameworks/base/docs/html/training/multiscreen/ |
D | screendensities.jd | 51 absolute pixels to define distances or sizes. Defining layout dimensions with 52 pixels is a problem because different screens have different pixel densities, 53 so the same number of pixels may correspond to different physical sizes on
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
D | gl_code.cpp | 117 const unsigned int pixels[] = in create_texture() local 131 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 8, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels); in create_texture()
|
/frameworks/base/docs/html/design/style/ |
D | typography.jd | 51 these accessibility features, type should be specified in scale-independent pixels 52 (<acronym title="Scale-independent pixels. One sp is one pixel on a 160 dpi screen if the user's gl…
|
D | iconography.jd | 42 … mobile device must be <strong>48x48 <acronym title="Density-independent pixels. One dp is one pix… 44 … <p>Launcher icons for display on Google Play must be <strong>512x512 pixels</strong>.</p></li> 142 …s for phones should be <strong>32x32 <acronym title="Density-independent pixels. One dp is one pix… 223 …<p>Small icons should be <strong>16x16 <acronym title="Density-independent pixels. One dp is one p… 302 …<p>Notification icons must be <strong>24x24 <acronym title="Density-independent pixels. One dp is …
|
D | metrics-grids.jd | 7 600<acronym title="Density-independent pixels. One dp is one pixel on a 160 dpi 24 <p>Devices vary in the amount of density-independent pixels (dp) they can display.</p>
|
/frameworks/native/opengl/tests/tritex/ |
D | tritex.cpp | 209 const unsigned int pixels[] = in create_texture() local 222 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 8, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels); in create_texture()
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
D | GLES10.spec | 82 …els ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels ) 99 …at, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels ) 102 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels )
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
D | GL10.java | 799 java.nio.Buffer pixels in glReadPixels() argument 919 java.nio.Buffer pixels in glTexImage2D() argument 943 java.nio.Buffer pixels in glTexSubImage2D() argument
|