/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/ |
D | ColorExpression.java | 38 int mMode; field in ColorExpression 58 mMode = HSV_MODE; in ColorExpression() 68 mMode = HSV_MODE; in ColorExpression() 80 this.mMode = mode & 0xFF; in ColorExpression() 82 if (mMode == HSV_MODE) { in ColorExpression() 98 if (mMode == 4) { in updateVariables() 112 if ((mMode & 1) == 1) { in updateVariables() 115 if ((mMode & 2) == 2) { in updateVariables() 123 if (mMode == 4) { in registerListening() 138 if ((mMode & 1) == 1) { in registerListening() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | BlendModeColorFilter.java | 29 private final BlendMode mMode; field in BlendModeColorFilter 33 mMode = mode; in BlendModeColorFilter() 57 return mMode; in getMode() 62 return native_CreateBlendModeFilter(mColor, mMode.getXfermode().porterDuffMode); in createNativeInstance() 74 return other.mMode == mMode; in equals() 79 return 31 * mMode.hashCode() + mColor; in hashCode()
|
D | Outline.java | 60 public int mMode = MODE_EMPTY; field in Outline 100 mMode = MODE_EMPTY; in setEmpty() 114 return mMode == MODE_EMPTY; in isEmpty() 159 mMode = src.mMode; in set() 160 if (src.mMode == MODE_PATH) { in set() 196 if (mMode == MODE_PATH) { in setRoundRect() 200 mMode = MODE_ROUND_RECT; in setRoundRect() 222 if (mMode != MODE_ROUND_RECT) { in getRect() 261 mMode = MODE_PATH; in setOval() 307 mMode = MODE_PATH; in setPath() [all …]
|
D | PorterDuffColorFilter.java | 31 private PorterDuff.Mode mMode; field in PorterDuffColorFilter 43 mMode = mode; in PorterDuffColorFilter() 70 return mMode; in getMode() 75 return native_CreateBlendModeFilter(mColor, mMode.nativeInt); in createNativeInstance() 87 return (mColor == other.mColor && mMode.nativeInt == other.mMode.nativeInt); in equals() 92 return 31 * mMode.hashCode() + mColor; in hashCode()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | SubActivityScreen.java | 32 int mMode; field in SubActivityScreen 40 mMode = getIntent().getIntExtra("mode", mMode); in onCreate() 47 if (mMode == PENDING_RESULT_MODE) { in onCreate() 57 } else if (mMode < CHILD_OFFSET) { in onCreate() 60 intent.putExtra("mode", CHILD_OFFSET+mMode); in onCreate() 79 if (mMode >= CHILD_OFFSET) { in onResume() 90 switch (mMode-CHILD_OFFSET) { in onResume() 118 switch (mMode) { in onActivityResult() 163 if (mMode == FINISH_SUB_MODE) { in handleBeforeStopping()
|
/frameworks/opt/net/voip/src/jni/rtp/ |
D | AmrCodec.cpp | 62 int mMode; member in __anonddcf30630111::AmrCodec 78 mMode = 0; in set() 83 if (mode > mMode) { in set() 84 mMode = mode; in set() 90 mMode = 7; in set() 105 int length = AMREncode(mEncoder, mSidSync, (Mode)mMode, in encode() 108 if (type != mMode || length != (8 + gFrameBits[mMode] + 7) >> 3) { in encode() 114 bytes[1] = (mMode << 3) | 0x04; in encode() 119 bytes[1] = 0xC0 | (mMode << 1) | 1; in encode() 126 length = (10 + gFrameBits[mMode] + 7) >> 3; in encode() [all …]
|
/frameworks/native/services/surfaceflinger/Tracing/ |
D | LayerDataSource.cpp | 52 mMode = static_cast<LayerTracing::Mode>(config.mode()); in OnSetup() 54 mMode = LayerTracing::Mode::MODE_GENERATED_BUGREPORT_ONLY; in OnSetup() 66 ALOGD("Received OnStart event (mode = 0x%02x, flags = 0x%02x)", mMode, mFlags); in OnStart() 68 p->onStart(mMode, mFlags); in OnStart() 75 mMode, mFlags, args.flush_flags.reason(), args.flush_flags.clone_target()); in OnFlush() 81 p->onFlush(mMode, mFlags, isBugreport); in OnFlush() 86 ALOGD("Received OnStop event (mode = 0x%02x, flags = 0x%02x)", mMode, mFlags); in OnStop() 88 p->onStop(mMode); in OnStop() 93 return mMode; in GetMode()
|
D | TransactionDataSource.cpp | 49 mMode = static_cast<TransactionTracing::Mode>(config.mode()); in OnSetup() 51 mMode = TransactionTracing::Mode::MODE_CONTINUOUS; in OnSetup() 59 p->onStart(mMode); in OnStart() 66 p->onFlush(mMode); in OnFlush() 75 return mMode; in GetMode()
|
/frameworks/native/services/sensorservice/ |
D | RotationVectorSensor.cpp | 31 mMode(mode) { in RotationVectorSensor() 50 if (mSensorFusion.hasEstimate(mMode)) { in process() 51 const vec4_t q(mSensorFusion.getAttitude(mMode)); in process() 66 return mSensorFusion.activate(mMode, ident, enabled); in activate() 70 return mSensorFusion.setDelay(mMode, ident, ns); in setDelay() 74 switch(mMode) { in getSensorType() 88 switch(mMode) { in getSensorName() 102 switch(mMode) { in getSensorToken()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | HearingAidInfo.java | 64 private final int mMode; field in HearingAidInfo 69 mMode = mode; in HearingAidInfo() 80 return mMode; in getMode() 96 return mSide == that.mSide && mMode == that.mMode && mHiSyncId == that.mHiSyncId; in equals() 101 return Objects.hash(mSide, mMode, mHiSyncId); in hashCode() 108 + ", mMode=" + mMode in toString() 147 private int mMode = DeviceMode.MODE_INVALID; field in HearingAidInfo.Builder 156 mMode = convertAshaDeviceModeToInternalMode(ashaDeviceMode); in setAshaDeviceMode() 166 mMode = convertHapDeviceTypeToInternalMode(hapDeviceType); in setHapDeviceType() 201 return new HearingAidInfo(mSide, mMode, mHiSyncId); in build()
|
/frameworks/base/media/java/android/media/tv/tuner/filter/ |
D | SectionSettingsWithSectionBits.java | 31 private final byte[] mMode; field in SectionSettingsWithSectionBits 38 mMode = mode; in SectionSettingsWithSectionBits() 67 return mMode; in getMode() 86 private byte[] mMode = {}; field in SectionSettingsWithSectionBits.Builder 119 mMode = mode; in setMode() 129 mBitWidthOfLengthField, mFilter, mMask, mMode); in build()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | Capability.java | 42 private final int mMode; field in Capability 65 mMode = mode; in Capability() 93 return mMode; in getMode() 133 return (mMode == other.mMode in equals() 145 return HashCodeHelpers.hashCode(mMode, mMaxStreamingSize.getWidth(), in hashCode() 159 mMode, mMaxStreamingSize.getWidth(), mMaxStreamingSize.getHeight(), in toString()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssPositionMode.java | 25 private final int mMode; field in GnssPositionMode 34 this.mMode = mode; in GnssPositionMode() 46 return mMode == that.mMode && mRecurrence == that.mRecurrence in equals() 59 new Object[]{mMode, mRecurrence, mMinInterval, mPreferredAccuracy, mPreferredTime, in hashCode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | BarTransitions.java | 75 private @TransitionMode int mMode; field in BarTransitions 90 return mMode; in getMode() 118 if (mMode == mode) return; in transitionTo() 119 int oldMode = mMode; in transitionTo() 120 mMode = mode; in transitionTo() 123 onTransition(oldMode, mMode, animate); in transitionTo() 162 private int mMode = -1; field in BarTransitions.BarBackgroundDrawable 252 if (mMode == newMode) return; in applyModeBackground() 253 mMode = newMode; in applyModeBackground() 280 if (mMode == MODE_WARNING) { in draw() [all …]
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | MagnificationConfig.java | 78 private int mMode = MAGNIFICATION_MODE_DEFAULT; field in MagnificationConfig 89 mMode = parcel.readInt(); in MagnificationConfig() 103 return mMode; in getMode() 168 parcel.writeInt(mMode); in writeToParcel() 180 private int mMode = MAGNIFICATION_MODE_DEFAULT; field in MagnificationConfig.Builder 200 mMode = mode; in setMode() 264 magnificationConfig.mMode = mMode; in build()
|
/frameworks/base/libs/hwui/ |
D | Mesh.cpp | 82 if (indexCount < min_vcount_for_mode(mMode)) { in validate() 84 modeToStr(mMode), min_vcount_for_mode(mMode), indexCount); in validate() 97 if (vertexCount < min_vcount_for_mode(mMode)) { in validate() 99 modeToStr(mMode), min_vcount_for_mode(mMode), vertexCount); in validate()
|
/frameworks/av/media/codec2/faultinjection/ |
D | SimpleMethodState.cpp | 28 mThiz->mMode = HANG; in hang() 32 mThiz->mMode = execute ? EXECUTE : NO_OP; in fail() 38 : mMode(EXECUTE), mOverride(false), mResultOverride(C2_OK) {} in SimpleMethodState() 41 return mMode; in getMode()
|
/frameworks/base/core/java/android/app/ |
D | GameState.java | 87 private final @GameStateMode int mMode; field in GameState 113 mMode = mode; in GameState() 120 mMode = in.readInt(); in GameState() 136 return mMode; in getMode() 163 parcel.writeInt(mMode); in writeToParcel()
|
/frameworks/native/services/surfaceflinger/Effects/ |
D | Daltonizer.cpp | 34 if (mode != mMode) { in setMode() 36 mMode = mode; in setMode() 165 if (mMode == ColorBlindnessMode::Correction) in update() 170 if (mMode == ColorBlindnessMode::Correction) in update() 175 if (mMode == ColorBlindnessMode::Correction) in update()
|
/frameworks/base/core/java/android/widget/ |
D | DialerFilter.java | 123 switch (mMode) { in onKeyDown() 157 switch (mMode) { in onKeyDown() 213 return mMode; in getMode() 254 int oldMode = mMode; in setMode() 255 mMode = newMode; in setMode() 318 if (mMode != DIGITS_ONLY) { in getFilterText() 326 switch (mMode) { in append() 377 if (mMode != DIGITS_ONLY) { in setFilterWatcher() 386 if (mMode != DIGITS_ONLY) { in removeFilterWatcher() 420 int mMode; field in DialerFilter
|
/frameworks/base/core/java/android/os/ |
D | BugreportParams.java | 36 private final int mMode; field in BugreportParams 45 mMode = mode; in BugreportParams() 56 mMode = mode; in BugreportParams() 65 return mMode; in getMode()
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/ |
D | SoftAMR.cpp | 42 mMode(MODE_NARROW), in SoftAMR() 52 mMode = MODE_WIDE; in SoftAMR() 62 if (mMode == MODE_NARROW) { in ~SoftAMR() 90 mMode == MODE_NARROW in initPorts() 106 (mMode == MODE_NARROW ? kNumSamplesPerFrameNB : kNumSamplesPerFrameWB) in initPorts() 124 if (mMode == MODE_NARROW) { in initDecoder() 190 mMode == MODE_NARROW in internalGetParameter() 217 (mMode == MODE_NARROW) ? kSampleRateNB : kSampleRateWB; in internalGetParameter() 243 if (mMode == MODE_NARROW) { in internalSetParameter() 385 if (mMode == MODE_NARROW) { in onQueueFilled() [all …]
|
/frameworks/av/media/codec2/components/amr_nb_wb/ |
D | C2SoftAmrWbEnc.cpp | 116 case 6600: mMode = VOAMRWB_MD66; in onInit() 118 case 8850: mMode = VOAMRWB_MD885; in onInit() 120 case 12650: mMode = VOAMRWB_MD1265; in onInit() 122 case 14250: mMode = VOAMRWB_MD1425; in onInit() 124 case 15850: mMode = VOAMRWB_MD1585; in onInit() 126 case 18250: mMode = VOAMRWB_MD1825; in onInit() 128 case 19850: mMode = VOAMRWB_MD1985; in onInit() 130 case 23050: mMode = VOAMRWB_MD2305; in onInit() 132 case 23850: mMode = VOAMRWB_MD2385; in onInit() 134 default: mMode = VOAMRWB_MD2305; in onInit() [all …]
|
D | C2SoftAmrNbEnc.cpp | 118 case 4750: mMode = MR475; in onInit() 120 case 5150: mMode = MR515; in onInit() 122 case 5900: mMode = MR59; in onInit() 124 case 6700: mMode = MR67; in onInit() 126 case 7400: mMode = MR74; in onInit() 128 case 7950: mMode = MR795; in onInit() 130 case 10200: mMode = MR102; in onInit() 132 case 12200: mMode = MR122; in onInit() 134 default: mMode = MR795; in onInit() 250 int numEncBytes = AMREncode(mEncState, mSidState, mMode, mInputFrame, in process()
|
/frameworks/base/media/java/android/media/ |
D | AudioGainConfig.java | 34 private final int mMode; field in AudioGainConfig 47 mMode = mode; in AudioGainConfig() 66 return mMode; in mode()
|