/aosp14/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A 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()
|
/aosp14/frameworks/base/graphics/java/android/graphics/ |
H A 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 …]
|
H A 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()
|
H A 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()
|
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A 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()
|
/aosp14/frameworks/base/core/java/android/hardware/camera2/params/ |
H A 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()
|
/aosp14/frameworks/base/media/java/android/media/tv/tuner/filter/ |
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A 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 …]
|
H A D | BiometricUnlockController.java | 162 private int mMode; field in BiometricUnlockController 451 mMode = mode; in startWakeAndUnlock() 453 if (mMode == MODE_WAKE_AND_UNLOCK_PULSING) { in startWakeAndUnlock() 480 if (mMode != MODE_NONE && !wakeInKeyguard) { in startWakeAndUnlock() 483 switch (mMode) { in startWakeAndUnlock() 523 onModeChanged(mMode); in startWakeAndUnlock() 547 return mMode; in getMode() 821 mMode = MODE_NONE; in resetMode() 881 pw.print(" mMode="); pw.println(mMode); in dump() 894 return mMode == MODE_WAKE_AND_UNLOCK in isWakeAndUnlock() [all …]
|
/aosp14/frameworks/base/core/java/android/accessibilityservice/ |
H A 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()
|
/aosp14/frameworks/base/services/core/java/com/android/server/location/gnss/ |
H A 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()
|
/aosp14/frameworks/base/core/java/android/app/ |
H A 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()
|
/aosp14/frameworks/base/core/java/android/os/ |
H A D | BugreportParams.java | 33 private final int mMode; field in BugreportParams 42 mMode = mode; in BugreportParams() 53 mMode = mode; in BugreportParams() 62 return mMode; in getMode()
|
/aosp14/frameworks/base/core/java/android/widget/ |
H A 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
|
/aosp14/frameworks/base/services/core/java/com/android/server/media/metrics/ |
H A D | MediaMetricsManagerService.java | 76 private Integer mMode = null; field in MediaMetricsManagerService 110 mMode = properties.getInt( in updateConfigs() 114 if (newList != null || mMode != MEDIA_METRICS_MODE_ALLOWLIST) { in updateConfigs() 120 if (newList != null || mMode != MEDIA_METRICS_MODE_ALLOWLIST) { in updateConfigs() 353 if (mMode == null) { in loggingLevel() 356 mMode = DeviceConfig.getInt( in loggingLevel() 365 if (mMode == MEDIA_METRICS_MODE_ON) { in loggingLevel() 368 if (mMode == MEDIA_METRICS_MODE_OFF) { in loggingLevel() 382 return mMode == MEDIA_METRICS_MODE_BLOCKLIST in loggingLevel() 385 if (mMode == MEDIA_METRICS_MODE_BLOCKLIST) { in loggingLevel() [all …]
|
/aosp14/frameworks/base/media/java/android/media/ |
H A D | AudioGainConfig.java | 34 private final int mMode; field in AudioGainConfig 47 mMode = mode; in AudioGainConfig() 66 return mMode; in mode()
|
H A D | AudioGain.java | 64 private final int mMode; field in AudioGain 80 mMode = mode; in AudioGain() 94 return mMode; in mode()
|
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/os/ |
H A D | FakeHandler.java | 34 private Mode mMode = Mode.IMMEDIATE; field in FakeHandler 44 if (mMode == Mode.IMMEDIATE) { in sendMessageAtTime() 51 mMode = mode; in setMode()
|
/aosp14/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/ |
H A D | OverlayBaseTest.java | 59 private final int mMode; field in OverlayBaseTest 72 mMode = mode; in OverlayBaseTest() 107 switch (mMode) { in getExpected() 121 switch (mMode) { in getExpected() 135 switch (mMode) { in getExpected() 149 switch (mMode) { in getExpected() 243 switch (mMode) { in testDrawable() 252 fail("Unknown mode " + mMode); in testDrawable() 360 switch (mMode) { in testOverlayLayout() 371 fail("Unknown mode " + mMode); in testOverlayLayout() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DragAndDropPermissionsHandler.java | 43 private final int mMode; field in DragAndDropPermissionsHandler 57 mMode = mode; in DragAndDropPermissionsHandler() 86 permissionOwner, mSourceUid, mTargetPackage, mUris.get(i), mMode, in doTake() 137 ugm.revokeUriPermissionFromOwner(permissionOwner, mUris.get(i), mMode, mSourceUserId); in release()
|
/aosp14/frameworks/base/services/core/java/com/android/server/display/ |
H A D | LocalDisplayAdapter.java | 382 + " device to " + activeRecord.mMode); in updateDisplayModesLocked() 383 mActiveModeId = activeRecord.mMode.getModeId(); in updateDisplayModesLocked() 427 mDefaultModeId = activeRecord.mMode.getModeId(); in updateDisplayModesLocked() 433 mDefaultModeId = activeRecord.mMode.getModeId(); in updateDisplayModesLocked() 439 mDefaultModeId = activeRecord.mMode.getModeId(); in updateDisplayModesLocked() 1244 return record.mMode.getModeId(); in findMatchingModeIdLocked() 1260 modes[i] = record.mMode; in getDisplayModes() 1302 public final Display.Mode mMode; 1318 return mMode.getPhysicalWidth() == mode.width 1319 && mMode.getPhysicalHeight() == mode.height [all …]
|
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbHostManager.java | 125 final int mMode; field in UsbHostManager.ConnectionRecord 131 mMode = mode; in ConnectionRecord() 143 dump.write("mode", UsbConnectionRecordProto.MODE, mMode); in dump() 146 if (mMode != DISCONNECT) { in dump() 165 if (mMode != DISCONNECT) { in dumpShort() 166 pw.println(formatTime() + " Connect " + mDeviceAddress + " mode:" + mMode); in dumpShort() 181 if (mMode != DISCONNECT) { in dumpTree() 182 pw.println(formatTime() + " Connect " + mDeviceAddress + " mode:" + mMode); in dumpTree() 197 if (mMode != DISCONNECT) { in dumpList() 198 pw.println(formatTime() + " Connect " + mDeviceAddress + " mode:" + mMode); in dumpList() [all …]
|
/aosp14/frameworks/base/tests/TouchLatency/app/src/main/java/com/prefabulated/touchlatency/ |
H A D | TouchLatencyView.java | 191 if (mMode == 0) { in onDraw() 203 mMode = (mMode + 1) % NUM_MODES; in changeMode() 205 item.setTitle(modes[mMode]); in changeMode() 210 private int mMode; field in TouchLatencyView
|
/aosp14/frameworks/base/media/java/android/media/tv/tuner/frontend/ |
H A D | IsdbtFrontendSettings.java | 233 private final int mMode; field in IsdbtFrontendSettings 244 mMode = mode; in IsdbtFrontendSettings() 283 return mMode; in getMode() 354 private int mMode = MODE_UNDEFINED; field in IsdbtFrontendSettings.Builder 432 mMode = mode; in setMode() 526 return new IsdbtFrontendSettings(mFrequency, mBandwidth, mMode, mGuardInterval, in build()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageManagerShellCommandDataLoader.java | 140 private final byte mMode; field in PackageManagerShellCommandDataLoader.Metadata 172 this.mMode = mode; in Metadata() 211 switch (this.mMode) { in toByteArray() 217 result[offset] = this.mMode; in toByteArray() 229 result[0] = this.mMode; in toByteArray() 237 return this.mMode; in getMode()
|