/frameworks/base/graphics/java/android/graphics/ |
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() 127 return mMode != MODE_CONVEX_PATH; in canClip() 159 mMode = src.mMode; in set() 160 if (src.mMode == MODE_CONVEX_PATH) { in set() 197 if (mMode == MODE_CONVEX_PATH) { in setRoundRect() 201 mMode = MODE_ROUND_RECT; in setRoundRect() 223 if (mMode != MODE_ROUND_RECT) { in getRect() 262 mMode = MODE_CONVEX_PATH; in setOval() [all …]
|
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 | PorterDuffColorFilter.java | 30 private PorterDuff.Mode mMode; field in PorterDuffColorFilter 42 mMode = mode; in PorterDuffColorFilter() 69 return mMode; in getMode() 74 return native_CreateBlendModeFilter(mColor, mMode.nativeInt); in createNativeInstance() 86 return (mColor == other.mColor && mMode.nativeInt == other.mMode.nativeInt); in equals() 91 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 __anona83fb3cf0111::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/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()
|
D | Fusion.cpp | 203 mMode = mode; in init() 205 if (mMode != FUSION_NOGYRO) { //normal or game rotation in init() 256 return ((mInitState & MAG) || (mMode == FUSION_NOMAG)) && in hasEstimate() 257 ((mInitState & GYRO) || (mMode == FUSION_NOGYRO)) && in hasEstimate() 269 if (mMode == FUSION_NOGYRO ) { in checkInitComplete() 286 if (mMode != FUSION_NOMAG) { in checkInitComplete() 297 if (mMode != FUSION_NOMAG) { in checkInitComplete() 332 if ( mMode == FUSION_NOGYRO ) { in handleAcc() 339 if ( mMode == FUSION_NOMAG) { in handleAcc() 535 if (mMode != FUSION_NOMAG) { in update()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | BarTransitions.java | 75 private 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 234 if (mMode == newMode) return; in applyModeBackground() 235 mMode = newMode; in applyModeBackground() 262 if (mMode == MODE_WARNING) { in draw() [all …]
|
D | BiometricUnlockController.java | 134 private int mMode; field in BiometricUnlockController 278 mMode = mode; in startWakeAndUnlock() 280 if (mMode == MODE_WAKE_AND_UNLOCK_PULSING && pulsingOrAod()) { in startWakeAndUnlock() 307 if (!delayWakeUp && mMode != MODE_NONE) { in startWakeAndUnlock() 310 switch (mMode) { in startWakeAndUnlock() 331 if (mMode == MODE_WAKE_AND_UNLOCK_PULSING) { in startWakeAndUnlock() 335 } else if (mMode == MODE_WAKE_AND_UNLOCK){ in startWakeAndUnlock() 361 if (mMode == MODE_SHOW_BOUNCER) { in showBouncer() 398 return mMode; in getMode() 524 mMode = MODE_NONE; in resetMode() [all …]
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTPWriter.cpp | 136 mMode = INVALID; in start() 138 mMode = H264; in start() 140 mMode = H263; in start() 142 mMode = AMR_NB; in start() 144 mMode = AMR_WB; in start() 197 if (mMode == H264) { in onMessageReceived() 282 if (mMode == H264) { in onRead() 285 } else if (mMode == H263) { in onRead() 287 } else if (mMode == AMR_NB || mMode == AMR_WB) { in onRead() 460 if (mMode == H264 || mMode == H263) { in dumpSessionDesc() [all …]
|
/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/net/ |
D | IpSecConfig.java | 34 private int mMode = IpSecTransform.MODE_TRANSPORT; field in IpSecConfig 78 mMode = mode; in setMode() 158 return mMode; in getMode() 226 out.writeInt(mMode); in writeToParcel() 249 mMode = c.mMode; in IpSecConfig() 267 mMode = in.readInt(); in IpSecConfig() 292 .append(mMode == IpSecTransform.MODE_TUNNEL ? "TUNNEL" : "TRANSPORT") in toString() 341 return (mMode == rhs.mMode in equals()
|
/frameworks/native/services/surfaceflinger/Effects/ |
D | Daltonizer.cpp | 30 if (mode != mMode) { in setMode() 32 mMode = mode; in setMode() 150 if (mMode == ColorBlindnessMode::Correction) in update() 155 if (mMode == ColorBlindnessMode::Correction) in update() 160 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/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/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/ |
D | Swarm.java | 274 volatile float[] mMode = sModes[mModeNo]; field in Swarm 282 mMode = sModes[mModeNo]; in restartSimulation() 329 Log.v(TAG, " node = " + mMode + " " + sModes[mModeNo] + " " + mModeNo); in doInBackground() 330 nbody.set_CENTER_MASS(mMode[P_CTR_M]); in doInBackground() 331 nbody.set_OBJECT_MAX_MASS(mMode[P_MAX_M]); in doInBackground() 332 nbody.set_OBJECT_MIN_MASS(mMode[P_MIN_M]); in doInBackground() 333 nbody.set_INITAL_VEL(mMode[P_INIT_V]); in doInBackground() 334 nbody.set_INITAL_DIR(new Float3(mMode[P_DIR_X], mMode[P_DIR_Y], mMode[P_DIR_Z])); in doInBackground() 335 nbody.set_RADIUS_RANGE(new Float2(mMode[P_RAD_MIN], mMode[P_RAD_MAX])); in doInBackground()
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/ |
D | SoftAMR.cpp | 45 mMode(MODE_NARROW), in SoftAMR() 55 mMode = MODE_WIDE; in SoftAMR() 65 if (mMode == MODE_NARROW) { in ~SoftAMR() 93 mMode == MODE_NARROW in initPorts() 109 (mMode == MODE_NARROW ? kNumSamplesPerFrameNB : kNumSamplesPerFrameWB) in initPorts() 127 if (mMode == MODE_NARROW) { in initDecoder() 193 mMode == MODE_NARROW in internalGetParameter() 220 (mMode == MODE_NARROW) ? kSampleRateNB : kSampleRateWB; in internalGetParameter() 246 if (mMode == MODE_NARROW) { in internalSetParameter() 388 if (mMode == MODE_NARROW) { in onQueueFilled() [all …]
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | PorterDuffColorFilter_Delegate.java | 52 private final Mode mMode; field in PorterDuffColorFilter_Delegate 64 return "PorterDuff Color Filter is not supported for mode: " + mMode.name() + "."; in getSupportMessage() 69 g.setComposite(getComposite(mMode, 0xFF)); in applyFilter() 88 mMode = getCompatibleMode(getPorterDuffMode(mode)); in PorterDuffColorFilter_Delegate()
|
/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()
|
D | AudioGain.java | 63 private final int mMode; field in AudioGain 79 mMode = mode; in AudioGain() 93 return mMode; in mode()
|
/frameworks/base/core/java/android/os/ |
D | BugreportParams.java | 34 private final int mMode; field in BugreportParams 37 mMode = mode; in BugreportParams() 41 return mMode; in getMode()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/os/ |
D | FakeHandler.java | 34 private Mode mMode = Mode.IMMEDIATE; field in FakeHandler 44 if (mMode == Mode.IMMEDIATE) { in sendMessageAtTime() 51 mMode = mode; in setMode()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/test/ |
D | AmrwbEncoderTest.cpp | 42 mMode = get<1>(params); in AmrwbEncoderTest() 68 int32_t mMode; member in AmrwbEncoderTest 81 status = mApiHandle.SetParam(mEncoderHandle, VO_PID_AMRWB_MODE, &mMode); in TEST_P() 82 ASSERT_EQ(status, VO_ERR_NONE) << "Failed to set AMRWB encoder mode to %d" << mMode; in TEST_P() 110 status = mApiHandle.SetParam(mEncoderHandle, VO_PID_AMRWB_MODE, &mMode); in TEST_P() 111 ASSERT_EQ(status, VO_ERR_NONE) << "Failed to set AMRWB encoder mode to " << mMode; in TEST_P()
|
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
D | RtpStream.java | 55 private int mMode = MODE_NORMAL; field in RtpStream 120 return mMode; in getMode() 139 mMode = mode; in setMode()
|