/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | XfermodeActivity.java | 28 import static android.graphics.PorterDuff.Mode; 63 drawRects(canvas, Mode.SRC_OVER); in onDraw() 66 drawRects(canvas, Mode.SRC_IN); in onDraw() 69 drawRects(canvas, Mode.SRC_OUT); in onDraw() 72 drawRects(canvas, Mode.SRC_ATOP); in onDraw() 75 drawRects(canvas, Mode.SRC); in onDraw() 84 drawRects(canvas, Mode.DST_OVER); in onDraw() 87 drawRects(canvas, Mode.DST_IN); in onDraw() 90 drawRects(canvas, Mode.DST_OUT); in onDraw() 93 drawRects(canvas, Mode.DST_ATOP); in onDraw() [all …]
|
D | FramebufferBlendActivity.java | 71 drawBlendedBitmap(canvas, PorterDuff.Mode.DARKEN); in onDraw() 72 drawBlendedBitmap(canvas, PorterDuff.Mode.LIGHTEN); in onDraw() 73 drawBlendedBitmap(canvas, PorterDuff.Mode.MULTIPLY); in onDraw() 80 drawBlendedBitmap(canvas, PorterDuff.Mode.SCREEN); in onDraw() 81 drawBlendedBitmap(canvas, PorterDuff.Mode.ADD); in onDraw() 82 drawBlendedBitmapInverse(canvas, PorterDuff.Mode.OVERLAY); in onDraw() 87 private void drawBlendedBitmap(Canvas canvas, PorterDuff.Mode mode) { in drawBlendedBitmap() 99 private void drawBlendedBitmapInverse(Canvas canvas, PorterDuff.Mode mode) { in drawBlendedBitmapInverse()
|
D | AdvancedBlendActivity.java | 85 PorterDuff.Mode.DARKEN); in ShadersView() 87 PorterDuff.Mode.LIGHTEN); in ShadersView() 89 PorterDuff.Mode.MULTIPLY); in ShadersView() 91 PorterDuff.Mode.SCREEN); in ShadersView() 93 PorterDuff.Mode.ADD); in ShadersView() 95 PorterDuff.Mode.OVERLAY); in ShadersView()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | PorterDuffColorFilter_Delegate.java | 22 import android.graphics.PorterDuff.Mode; 52 private final Mode mMode; 108 private Mode getCompatibleMode(Mode mode) { in getCompatibleMode() 109 Mode m = mode; in getCompatibleMode() 116 m = Mode.SRC_IN; in getCompatibleMode() 119 m = Mode.SRC_ATOP; in getCompatibleMode() 122 m = Mode.DST; in getCompatibleMode() 125 m = Mode.CLEAR; in getCompatibleMode() 128 m = Mode.DST_IN; in getCompatibleMode() 131 m = Mode.DST_OUT; in getCompatibleMode()
|
D | PorterDuffXfermode_Delegate.java | 23 import android.graphics.PorterDuff.Mode; 48 private final Mode mMode; 52 public Mode getMode() { in getMode()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | vlc_encode.cpp | 170 Void DCACPred(VideoEncData *video, UChar Mode, Int *intraDC_decision, Int intraDCVlcQP); 173 static Bool IntraDCSwitch_Decision(Int Mode, Int intra_dc_vlc_threshold, Int intraDCVlcQP); 891 UChar Mode = video->headerInfo.Mode[video->mbnum]; in MBVlcEncodeDataPar_I_VOP() local 902 DCACPred(video, Mode, &intraDC_decision, video->QP_prev); in MBVlcEncodeDataPar_I_VOP() 913 if (dquant && Mode == MODE_INTRA) in MBVlcEncodeDataPar_I_VOP() 915 Mode = MODE_INTRA_Q; in MBVlcEncodeDataPar_I_VOP() 925 PutMCBPC_Intra(CBP, Mode, bs1); /* MCBPC */ in MBVlcEncodeDataPar_I_VOP() 927 if (Mode == MODE_INTRA_Q) in MBVlcEncodeDataPar_I_VOP() 959 … (*BlockCodeCoeff)(&(RLB[i]), bs3, 1 - intraDC_decision, ncoefblck[i], Mode);/* Code Intra AC*/ in MBVlcEncodeDataPar_I_VOP() 980 UChar Mode = video->headerInfo.Mode[mbnum]; in MBVlcEncodeDataPar_P_VOP() local [all …]
|
/frameworks/testing/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/ |
D | UiAutomatorInstrumentationTestRunner.java | 39 Tracer.Mode mode = Tracer.Mode.valueOf(Tracer.Mode.class, traceType); in onStart() 40 if (mode == Tracer.Mode.FILE || mode == Tracer.Mode.ALL) { in onStart()
|
/frameworks/base/graphics/java/android/graphics/ |
D | PorterDuffColorFilter.java | 25 private PorterDuff.Mode mMode; 37 public PorterDuffColorFilter(int color, PorterDuff.Mode mode) { in PorterDuffColorFilter() 82 public PorterDuff.Mode getMode() { in getMode() 96 public void setMode(PorterDuff.Mode mode) { in setMode()
|
D | AvoidXfermode.java | 27 public enum Mode { enum in AvoidXfermode 31 Mode(int nativeInt) { in Mode() method in AvoidXfermode.Mode 52 public AvoidXfermode(int opColor, int tolerance, Mode mode) { in AvoidXfermode()
|
D | PorterDuffXfermode.java | 23 public final PorterDuff.Mode mode; 30 public PorterDuffXfermode(PorterDuff.Mode mode) { in PorterDuffXfermode()
|
D | PorterDuff.java | 22 public enum Mode { enum in PorterDuff 61 Mode(int nativeInt) { in Mode() method in PorterDuff.Mode
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
D | amrdecode.cpp | 397 enum Mode mode = (enum Mode)MR475; in AMRDecode() 437 mode = (enum Mode) frame_type; in AMRDecode() 450 mode = (enum Mode) modeStore; in AMRDecode() 502 mode = (enum Mode) * ets_word_ptr; in AMRDecode()
|
D | sp_dec.h | 69 enum Mode prev_mode; 102 enum Mode mode, /* i : AMR mode */
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | PorterDuffUtility.java | 24 import android.graphics.PorterDuff.Mode; 45 public static Mode getPorterDuffMode(int porterDuffMode) { in getPorterDuffMode() 46 Mode[] values = Mode.values(); in getPorterDuffMode() 53 return Mode.SRC_OVER; in getPorterDuffMode() 60 public static Composite getComposite(Mode mode, int alpha255) { in getComposite()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | datapart_decode.cpp | 141 uint8 *Mode = video->headerInfo.Mode; in DecodeDataPart_I_VideoPacket() local 173 Mode[mbnum] = (uint8)(MBtype = MBtype_mode[MCBPC & 7]); in DecodeDataPart_I_VideoPacket() 234 MBtype = Mode[mbnum]; in DecodeDataPart_I_VideoPacket() 306 uint8 *Mode = video->headerInfo.Mode; in DecodeDataPart_P_VideoPacket() local 350 if (Mode[video->mbnum] & INTER_MASK) /* INTER || INTER_Q || INTER_4V */ in DecodeDataPart_P_VideoPacket() 353 status = PV_GetMBvectors(video, Mode[video->mbnum]); in DecodeDataPart_P_VideoPacket() 412 MBtype = Mode[mbnum]; in DecodeDataPart_P_VideoPacket() 460 if (Mode[mbnum] != MODE_SKIPPED) in DecodeDataPart_P_VideoPacket() 522 uint8 *Mode = video->headerInfo.Mode; in GetMBheaderDataPart_DQUANT_DC() local 523 int MBtype = Mode[mbnum]; in GetMBheaderDataPart_DQUANT_DC() [all …]
|
/frameworks/native/services/surfaceflinger/Effects/ |
D | Daltonizer.h | 35 enum Mode { enum 44 void setMode(Mode mode); 53 Mode mMode;
|
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | Tracer.java | 49 public enum Mode { enum in Tracer 93 private Mode mCurrentMode = Mode.NONE; 118 public void setOutputMode(Mode mode) { in setOutputMode() 167 if (mCurrentMode == Mode.NONE) { in doTrace() 190 return mCurrentMode != Mode.NONE; in isTracingEnabled()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Drawable.java | 34 import android.graphics.PorterDuff.Mode; 128 static final PorterDuff.Mode DEFAULT_TINT_MODE = PorterDuff.Mode.SRC_IN; 470 public void setColorFilter(int color, PorterDuff.Mode mode) { in setColorFilter() 509 public void setTintMode(PorterDuff.Mode tintMode) {} in setTintMode() 1255 PorterDuff.Mode tintMode) { in updateTintFilter() 1288 public static PorterDuff.Mode parseTintMode(int value, Mode defaultMode) { in parseTintMode() 1290 case 3: return Mode.SRC_OVER; in parseTintMode() 1291 case 5: return Mode.SRC_IN; in parseTintMode() 1292 case 9: return Mode.SRC_ATOP; in parseTintMode() 1293 case 14: return Mode.MULTIPLY; in parseTintMode() [all …]
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ESQueue.h | 32 enum Mode { enum 46 ElementaryStreamQueue(Mode mode, uint32_t flags = 0); 61 Mode mMode;
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | TintManager.java | 40 static final PorterDuff.Mode DEFAULT_MODE = PorterDuff.Mode.SRC_IN; 142 PorterDuff.Mode.MULTIPLY); in getDrawable() 153 PorterDuff.Mode tintMode = null; in tintDrawable() 167 tintMode = PorterDuff.Mode.MULTIPLY; in tintDrawable() 353 PorterDuffColorFilter get(int color, PorterDuff.Mode mode) { in get() 357 PorterDuffColorFilter put(int color, PorterDuff.Mode mode, PorterDuffColorFilter filter) { in put() 361 private static int generateCacheKey(int color, PorterDuff.Mode mode) { in generateCacheKey()
|
/frameworks/base/core/jni/android/graphics/ |
D | PorterDuff.cpp | 35 SkPorterDuff::Mode mode = static_cast<SkPorterDuff::Mode>(modeHandle); in CreateXfermode()
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | sp_enc.h | 143 enum Mode mode, /* i : speech coder mode */ 146 enum Mode *usedMode /* o : used speech coder mode */
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
D | lsp.h | 168 enum Mode req_mode, /* i : requested coder mode */ 169 enum Mode used_mode,/* i : used coder mode */
|
/frameworks/base/media/tests/omxjpegdecoder/ |
D | jpeg_decoder_bench.cpp | 35 virtual bool onDecode(SkStream* stream, SkBitmap* bm, Mode); 56 SkImageDecoder::Mode decodeMode = SkImageDecoder::kDecodeBounds_Mode; in testDecodeBounds() 73 SkImageDecoder::Mode decodeMode = SkImageDecoder::kDecodePixels_Mode; in testDecodePixels()
|
/frameworks/base/libs/hwui/ |
D | VertexBuffer.h | 27 enum Mode { enum 138 Mode getMode() const { return mMode; } in getMode() 141 void setMode(Mode mode) { mMode = mode; } in setMode() 169 Mode mMode;
|