/frameworks/base/opengl/java/android/opengl/ |
D | Matrix.java | 129 float[] src = new float[16]; in invertM() local 132 transposeM(src, 0, m, mOffset); in invertM() 138 tmp[0] = src[10] * src[15]; in invertM() 139 tmp[1] = src[11] * src[14]; in invertM() 140 tmp[2] = src[9] * src[15]; in invertM() 141 tmp[3] = src[11] * src[13]; in invertM() 142 tmp[4] = src[9] * src[14]; in invertM() 143 tmp[5] = src[10] * src[13]; in invertM() 144 tmp[6] = src[8] * src[15]; in invertM() 145 tmp[7] = src[11] * src[12]; in invertM() [all …]
|
/frameworks/base/media/libdrm/mobile2/ |
D | Android.mk | 13 src/util/ustl-1.0/bktrace.cpp \ 14 src/util/ustl-1.0/memblock.cpp \ 15 src/util/ustl-1.0/ofstream.cpp \ 16 src/util/ustl-1.0/ualgobase.cpp \ 17 src/util/ustl-1.0/unew.cpp \ 18 src/util/ustl-1.0/cmemlink.cpp \ 19 src/util/ustl-1.0/memlink.cpp \ 20 src/util/ustl-1.0/sistream.cpp \ 21 src/util/ustl-1.0/ubitset.cpp \ 22 src/util/ustl-1.0/ustdxept.cpp \ [all …]
|
/frameworks/base/awt/java/awt/image/ |
D | ConvolveOp.java | 127 public final Rectangle2D getBounds2D(Raster src) { in getBounds2D() argument 128 return src.getBounds(); in getBounds2D() 131 public final Rectangle2D getBounds2D(BufferedImage src) { in getBounds2D() argument 132 return getBounds2D(src.getRaster()); in getBounds2D() 144 public WritableRaster createCompatibleDestRaster(Raster src) { in createCompatibleDestRaster() argument 145 return src.createCompatibleWritableRaster(); in createCompatibleDestRaster() 148 public BufferedImage createCompatibleDestImage(BufferedImage src, ColorModel dstCM) { in createCompatibleDestImage() argument 150 dstCM = src.getColorModel(); in createCompatibleDestImage() 157 WritableRaster r = dstCM.isCompatibleSampleModel(src.getSampleModel()) ? src.getRaster() in createCompatibleDestImage() 158 .createCompatibleWritableRaster(src.getWidth(), src.getHeight()) : dstCM in createCompatibleDestImage() [all …]
|
D | AffineTransformOp.java | 187 public final Rectangle2D getBounds2D(BufferedImage src) { in getBounds2D() argument 188 return getBounds2D(src.getRaster()); in getBounds2D() 191 public final Rectangle2D getBounds2D(Raster src) { in getBounds2D() argument 195 int width = src.getWidth(); in getBounds2D() 196 int height = src.getHeight(); in getBounds2D() 212 public BufferedImage createCompatibleDestImage(BufferedImage src, ColorModel destCM) { in createCompatibleDestImage() argument 213 Rectangle2D newBounds = getBounds2D(src); in createCompatibleDestImage() 231 ColorModel cm = src.getColorModel(); in createCompatibleDestImage() 239 return new BufferedImage(cm, src.getRaster().createCompatibleWritableRaster((int)dstWidth, in createCompatibleDestImage() 243 public WritableRaster createCompatibleDestRaster(Raster src) { in createCompatibleDestRaster() argument [all …]
|
D | LookupOp.java | 134 public final Rectangle2D getBounds2D(Raster src) { in getBounds2D() argument 135 return src.getBounds(); in getBounds2D() 138 public final Rectangle2D getBounds2D(BufferedImage src) { in getBounds2D() argument 139 return getBounds2D(src.getRaster()); in getBounds2D() 142 public WritableRaster createCompatibleDestRaster(Raster src) { in createCompatibleDestRaster() argument 143 return src.createCompatibleWritableRaster(); in createCompatibleDestRaster() 146 public BufferedImage createCompatibleDestImage(BufferedImage src, ColorModel dstCM) { in createCompatibleDestImage() argument 148 dstCM = src.getColorModel(); in createCompatibleDestImage() 164 WritableRaster r = dstCM.isCompatibleSampleModel(src.getSampleModel()) ? src.getRaster() in createCompatibleDestImage() 165 .createCompatibleWritableRaster(src.getWidth(), src.getHeight()) : dstCM in createCompatibleDestImage() [all …]
|
D | RescaleOp.java | 162 public final Rectangle2D getBounds2D(Raster src) { in getBounds2D() argument 163 return src.getBounds(); in getBounds2D() 166 public final Rectangle2D getBounds2D(BufferedImage src) { in getBounds2D() argument 167 return getBounds2D(src.getRaster()); in getBounds2D() 170 public WritableRaster createCompatibleDestRaster(Raster src) { in createCompatibleDestRaster() argument 171 return src.createCompatibleWritableRaster(); in createCompatibleDestRaster() 174 public BufferedImage createCompatibleDestImage(BufferedImage src, ColorModel dstCM) { in createCompatibleDestImage() argument 176 dstCM = src.getColorModel(); in createCompatibleDestImage() 183 WritableRaster r = dstCM.isCompatibleSampleModel(src.getSampleModel()) ? src.getRaster() in createCompatibleDestImage() 184 .createCompatibleWritableRaster(src.getWidth(), src.getHeight()) : dstCM in createCompatibleDestImage() [all …]
|
D | BandCombineOp.java | 180 public final Rectangle2D getBounds2D(Raster src) { in getBounds2D() argument 181 return src.getBounds(); in getBounds2D() 184 public WritableRaster createCompatibleDestRaster(Raster src) { in createCompatibleDestRaster() argument 185 int numBands = src.getNumBands(); in createCompatibleDestRaster() 195 return src.createCompatibleWritableRaster(src.getWidth(), src.getHeight()); in createCompatibleDestRaster() 198 public WritableRaster filter(Raster src, WritableRaster dst) { in filter() argument 199 int numBands = src.getNumBands(); in filter() 211 dst = createCompatibleDestRaster(src); in filter() 223 if (verySlowFilter(src, dst) != 0) { in filter() 316 private final int slowFilter(Raster src, WritableRaster dst) { in slowFilter() argument [all …]
|
D | ColorConvertOp.java | 109 public ICC_Transform getTransform(ICC_Profile src, ICC_Profile dst, ICC_Profile convSeq[]) { in getTransform() argument 110 if (transform != null && src == transform.getSrc() && dst == transform.getDst()) { in getTransform() 117 if (length == 0 || src != convSeq[0]) { in getTransform() 118 if (src != null) { in getTransform() 136 profiles[pos++] = src; in getTransform() 160 public Object[] getSequence(Object src, Object dst) { in getSequence() argument 176 if (src != conversionFirst && src != null) { in getSequence() 177 if (src instanceof ICC_Profile) { in getSequence() 178 profiles.add(src); in getSequence() 182 sequence.add(src); // Add non-ICC color space to the in getSequence() [all …]
|
D | ByteLookupTable.java | 92 public int[] lookupPixel(int[] src, int[] dst) { in lookupPixel() argument 94 dst = new int[src.length]; in lookupPixel() 99 for (int i = 0; i < src.length; i++) { in lookupPixel() 100 dst[i] = data[0][src[i] - offset]; in lookupPixel() 104 dst[i] = data[i][src[i] - offset]; in lookupPixel() 122 public byte[] lookupPixel(byte[] src, byte[] dst) { in lookupPixel() argument 124 dst = new byte[src.length]; in lookupPixel() 129 for (int i = 0; i < src.length; i++) { in lookupPixel() 130 dst[i] = data[0][src[i] - offset]; in lookupPixel() 134 dst[i] = data[i][src[i] - offset]; in lookupPixel()
|
D | ShortLookupTable.java | 99 public short[] lookupPixel(short[] src, short[] dst) { in lookupPixel() argument 101 dst = new short[src.length]; in lookupPixel() 106 for (int i = 0; i < src.length; i++) { in lookupPixel() 107 dst[i] = data[0][src[i] - offset]; in lookupPixel() 111 dst[i] = data[i][src[i] - offset]; in lookupPixel() 119 public int[] lookupPixel(int[] src, int[] dst) { in lookupPixel() argument 121 dst = new int[src.length]; in lookupPixel() 126 for (int i = 0; i < src.length; i++) { in lookupPixel() 127 dst[i] = data[0][src[i] - offset]; in lookupPixel() 131 dst[i] = data[i][src[i] - offset]; in lookupPixel()
|
/frameworks/base/awt/java/awt/ |
D | MouseDispatcher.java | 55 static Point convertPoint(Component src, int x, int y, Component dest) { in convertPoint() argument 56 Point srcPoint = getAbsLocation(src); in convertPoint() 63 static Point convertPoint(Component src, Point p, Component dst) { in convertPoint() argument 64 return convertPoint(src, p.x, p.y, dst); in convertPoint() 96 boolean dispatch(Component src, NativeEvent event) { in dispatch() argument 108 PointerInfo info = new PointerInfo(src, event.getLocalPos()); in dispatch() 206 info.position = convertPoint(info.src, info.position, grabOwner); in findEventSource() 207 info.src = grabOwner; in findEventSource() 265 mouseGrabManager.onMousePressed(info.src); in dispatchButtonEvent() 273 mouseGrabManager.onMouseReleased(info.src); in dispatchButtonEvent() [all …]
|
D | Dispatcher.java | 85 Component src = toolkit.getComponentById(event.getWindowId()); in onEvent() local 87 if (src != null) { in onEvent() 93 return componentDispatcher.dispatch(src, event); in onEvent() 96 return mouseDispatcher.dispatch(src, event); in onEvent() 109 return keyDispatcher.dispatch(src, event); in onEvent() 129 boolean dispatch(Component src, NativeEvent event) { in dispatch() argument 134 return dispatchInsets(event, src); in dispatch() 137 return dispatchWindow(event, src); in dispatch() 139 return dispatchPureComponent(event, src); in dispatch() 150 boolean dispatchInsets(NativeEvent event, Component src) { in dispatchInsets() argument [all …]
|
/frameworks/base/tests/CoreTests/android/view/ |
D | FocusFinderTest.java | 49 final Rect src = new Rect(0, 30, 10, 40); in testAboveShareEdgeEdgeOkForDirectionUp() local 51 final Rect dest = new Rect(src); in testAboveShareEdgeEdgeOkForDirectionUp() 52 dest.offset(0, -src.height()); in testAboveShareEdgeEdgeOkForDirectionUp() 53 assertEquals(src.top, dest.bottom); in testAboveShareEdgeEdgeOkForDirectionUp() 55 assertDirectionIsCandidate(View.FOCUS_UP, src, dest); in testAboveShareEdgeEdgeOkForDirectionUp() 185 Rect src = new Rect(0, 50, 20, 70); // src (left, top, right, bottom) in testDirectlyAboveTrumpsAboveLeft() local 187 Rect directlyAbove = new Rect(src); in testDirectlyAboveTrumpsAboveLeft() 188 directlyAbove.offset(0, -(1 + src.height())); in testDirectlyAboveTrumpsAboveLeft() 190 Rect aboveLeft = new Rect(src); in testDirectlyAboveTrumpsAboveLeft() 191 aboveLeft.offset(-(1 + src.width()), -(1 + src.height())); in testDirectlyAboveTrumpsAboveLeft() [all …]
|
/frameworks/base/core/jni/android/graphics/ |
D | NinePatchImpl.cpp | 70 static void drawStretchyPatch(SkCanvas* canvas, SkIRect& src, const SkRect& dst, in drawStretchyPatch() argument 78 } else if (src.width() == 1 && src.height() == 1) { in drawStretchyPatch() 80 if (!getColor(bitmap, src.fLeft, src.fTop, &c)) { in drawStretchyPatch() 91 canvas->drawBitmapRect(bitmap, &src, dst, &paint); in drawStretchyPatch() 172 SkIRect src; in NinePatch_Draw() local 211 src.fTop = 0; in NinePatch_Draw() 230 j <= numYDivs && src.fTop < bitmapHeight; in NinePatch_Draw() 232 src.fLeft = 0; in NinePatch_Draw() 235 src.fBottom = bitmapHeight; in NinePatch_Draw() 238 src.fBottom = chunk.yDivs[j]; in NinePatch_Draw() [all …]
|
D | Bitmap.cpp | 25 typedef void (*FromColorProc)(void* dst, const SkColor src[], int width, 28 static void FromColor_D32(void* dst, const SkColor src[], int width, in FromColor_D32() argument 33 *d++ = SkPreMultiplyColor(*src++); in FromColor_D32() 37 static void FromColor_D565(void* dst, const SkColor src[], int width, in FromColor_D565() argument 43 SkColor c = *src++; in FromColor_D565() 49 static void FromColor_D4444(void* dst, const SkColor src[], int width, in FromColor_D4444() argument 55 SkPMColor c = SkPreMultiplyColor(*src++); in FromColor_D4444() 89 const SkColor* src = (const SkColor*)array + srcOffset; in SetPixels() local 95 proc(dst, src, width, x, y); in SetPixels() 96 src += srcStride; in SetPixels() [all …]
|
/frameworks/base/media/libdrm/mobile1/ |
D | Android.mk | 22 src/objmng/drm_decoder.c \ 23 src/objmng/drm_file.c \ 24 src/objmng/drm_i18n.c \ 25 src/objmng/drm_time.c \ 26 src/objmng/drm_api.c \ 27 src/objmng/drm_rights_manager.c \ 28 src/parser/parser_dcf.c \ 29 src/parser/parser_dm.c \ 30 src/parser/parser_rel.c \ 31 src/xml/xml_tinyparser.c [all …]
|
/frameworks/base/opengl/libagl/ |
D | mipmap.cpp | 58 uint16_t const * src = (uint16_t const *)base->data; in buildAPyramid() local 64 uint32_t p00 = src[offset]; in buildAPyramid() 65 uint32_t p10 = src[offset+1]; in buildAPyramid() 66 uint32_t p01 = src[offset+bs]; in buildAPyramid() 67 uint32_t p11 = src[offset+bs+1]; in buildAPyramid() 81 uint16_t const * src = (uint16_t const *)base->data; in buildAPyramid() local 86 uint32_t p00 = src[offset]; in buildAPyramid() 87 uint32_t p10 = src[offset+1]; in buildAPyramid() 88 uint32_t p01 = src[offset+bs]; in buildAPyramid() 89 uint32_t p11 = src[offset+bs+1]; in buildAPyramid() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Matrix.java | 53 public Matrix(Matrix src) { in Matrix() argument 54 native_instance = native_create(src != null ? src.native_instance : 0); in Matrix() 78 public void set(Matrix src) { in set() argument 79 if (src == null) { in set() 82 native_set(native_instance, src.native_instance); in set() 347 public boolean setRectToRect(RectF src, RectF dst, ScaleToFit stf) { in setRectToRect() argument 348 if (dst == null || src == null) { in setRectToRect() 351 return native_setRectToRect(native_instance, src, dst, stf.nativeInt); in setRectToRect() 355 private static void checkPointArrays(float[] src, int srcIndex, in checkPointArrays() argument 362 srcStop > src.length || dstStop > dst.length) { in checkPointArrays() [all …]
|
/frameworks/base/include/utils/ |
D | AssetDir.h | 69 AssetDir(const AssetDir& src); 70 const AssetDir& operator=(const AssetDir& src); 84 FileInfo(const FileInfo& src) { in FileInfo() argument 85 copyMembers(src); in FileInfo() 87 const FileInfo& operator= (const FileInfo& src) { 88 if (this != &src) 89 copyMembers(src); 93 void copyMembers(const FileInfo& src) { in copyMembers() argument 94 mFileName = src.mFileName; in copyMembers() 95 mFileType = src.mFileType; in copyMembers() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Matrix.java | 41 public Matrix(Matrix src) { in Matrix() argument 42 set(src); in Matrix() 131 public void set(Matrix src) { in set() argument 132 if (src == null) { in set() 135 System.arraycopy(src.mValues, 0, mValues, 0, mValues.length); in set() 140 public void set(_Original_Matrix src) { in set() argument 655 public boolean setRectToRect(RectF src, RectF dst, ScaleToFit stf) { in setRectToRect() argument 656 if (dst == null || src == null) { in setRectToRect() 660 if (src.isEmpty()) { in setRectToRect() 670 float tx, sx = dst.width() / src.width(); in setRectToRect() [all …]
|
/frameworks/base/awt/org/apache/harmony/awt/gl/image/ |
D | ImageDecoder.java | 56 protected DecodingImageSource src; field in ImageDecoder 68 static ImageDecoder createDecoder(DecodingImageSource src, InputStream is) { in createDecoder() argument 90 return loadDecoder(PNG_DECODER, src, is); in createDecoder() 94 return loadDecoder(GIF_DECODER, src, is); in createDecoder() 103 return loadDecoder(JPG_DECODER, src, is); in createDecoder() 106 return loadDecoder(GENERIC_DECODER, src, is); in createDecoder() 119 private static ImageDecoder loadDecoder(int type, DecodingImageSource src, in loadDecoder() argument 121 return new AndroidImageDecoder(src, is); in loadDecoder() 125 src = _src; in ImageDecoder() 126 consumers = src.consumers; in ImageDecoder() [all …]
|
/frameworks/base/awt/java/awt/geom/ |
D | AffineTransform.java | 834 public Point2D transform(Point2D src, Point2D dst) { in transform() argument 836 if (src instanceof Point2D.Double) { in transform() 843 double x = src.getX(); in transform() 844 double y = src.getY(); in transform() 870 public void transform(Point2D[] src, int srcOff, Point2D[] dst, int dstOff, int length) { in transform() argument 872 Point2D srcPoint = src[srcOff++]; in transform() 911 public void transform(double[] src, int srcOff, double[] dst, int dstOff, int length) { in transform() argument 913 if (src == dst && srcOff < dstOff && dstOff < srcOff + length * 2) { in transform() 919 double x = src[srcOff + 0]; in transform() 920 double y = src[srcOff + 1]; in transform() [all …]
|
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ |
D | ualgobase.cpp | 34 static inline void movsb (const void*& src, size_t nBytes, void*& dest) __attribute__((always_inlin… 35 static inline void movsd (const void*& src, size_t nWords, void*& dest) __attribute__((always_inlin… 41 static inline void movsb (const void*& src, size_t nBytes, void*& dest) in movsb() argument 44 : "=&S"(src), "=&D"(dest), "=&c"(nBytes) in movsb() 45 : "0"(src), "1"(dest), "2"(nBytes) in movsb() 49 static inline void movsd (const void*& src, size_t nWords, void*& dest) in movsd() argument 52 : "=&S"(src), "=&D"(dest), "=&c"(nWords) in movsd() 53 : "0"(src), "1"(dest), "2"(nWords) in movsd() 68 static inline void simd_block_copy (const void* src, void* dest) __attribute__((always_inline)); 72 static inline void simd_block_copy (const void* src, void* dest) in simd_block_copy() argument [all …]
|
/frameworks/base/core/jni/ |
D | android_text_AndroidCharacter.cpp | 38 jchar* src = env->GetCharArrayElements(srcArray, NULL); in getDirectionalities() local 40 if (src == NULL || dest == NULL) { in getDirectionalities() 51 if (src[i] >= 0xD800 && src[i] <= 0xDBFF && in getDirectionalities() 53 src[i + 1] >= 0xDC00 && src[i + 1] <= 0xDFFF) { in getDirectionalities() 54 int c = 0x00010000 + ((src[i] - 0xD800) << 10) + in getDirectionalities() 55 (src[i + 1] & 0x3FF); in getDirectionalities() 61 int c = src[i]; in getDirectionalities() 69 env->ReleaseCharArrayElements(srcArray, src, JNI_ABORT); in getDirectionalities()
|
/frameworks/base/awt/org/apache/harmony/awt/gl/color/ |
D | ICC_Transform.java | 35 private ICC_Profile src; field in ICC_Transform 64 return src; in getSrc() 84 src = profiles[0]; in ICC_Transform() 86 numInputChannels = src.getNumComponents(); in ICC_Transform() 135 src = profiles[0]; in ICC_Transform() 137 numInputChannels = src.getNumComponents(); in ICC_Transform() 153 public void translateColors(NativeImageFormat src, NativeImageFormat dst) { in translateColors() argument 154 NativeCMM.cmmTranslateColors(transformHandle, src, dst); in translateColors()
|