Home
last modified time | relevance | path

Searched refs:from (Results 1 – 25 of 1803) sorted by relevance

12345678910>>...73

/aosp14/frameworks/base/core/java/android/service/notification/
H A DZenModeDiff.java66 mFrom = from; in FieldDiff()
73 public T from() { in from() method in ZenModeDiff.FieldDiff
132 BaseDiff(Object from, Object to) { in BaseDiff() argument
133 if (from == null) { in BaseDiff()
234 super(from, to); in ConfigDiff()
236 if (from == null && to == null) { in ConfigDiff()
246 if (from.user != to.user) { in ConfigDiff()
309 fromRule = from.automaticRules != null ? from.automaticRules.get(rule) in ConfigDiff()
468 super(from, to); in RuleDiff()
470 if (from == null && to == null) { in RuleDiff()
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/graphics/palette/
H A DTarget.java60 Target(@NonNull Target from) { in Target() argument
62 mChromaWeight = from.mChromaWeight; in Target()
65 mHueWeight = from.mHueWeight; in Target()
67 mChromaMin = from.mChromaMin; in Target()
68 mChromaMax = from.mChromaMax; in Target()
72 @FloatRange(from = 0, to = 100)
78 @FloatRange(from = 0, to = 100)
84 @FloatRange(from = 0, to = 100)
90 @FloatRange(from = 0, to = 100)
96 @FloatRange(from = 0, to = 130)
[all …]
/aosp14/frameworks/base/core/java/android/database/
H A DCursorWindow.java325 public boolean isNull(@IntRange(from = 0) int row, @IntRange(from = 0) int column) { in isNull() argument
340 public boolean isBlob(@IntRange(from = 0) int row, @IntRange(from = 0) int column) { in isBlob() argument
355 public boolean isLong(@IntRange(from = 0) int row, @IntRange(from = 0) int column) { in isLong() argument
369 public boolean isFloat(@IntRange(from = 0) int row, @IntRange(from = 0) int column) { in isFloat() argument
427 public byte[] getBlob(@IntRange(from = 0) int row, @IntRange(from = 0) int column) { in getBlob() argument
536 public long getLong(@IntRange(from = 0) int row, @IntRange(from = 0) int column) { in getLong() argument
605 public int getInt(@IntRange(from = 0) int row, @IntRange(from = 0) int column) { in getInt() argument
634 @IntRange(from = 0) int row, @IntRange(from = 0) int column) { in putBlob() argument
652 @IntRange(from = 0) int row, @IntRange(from = 0) int column) { in putString() argument
670 @IntRange(from = 0) int row, @IntRange(from = 0) int column) { in putLong() argument
[all …]
H A DCursor.java79 @IntRange(from = 0) int getCount(); in getCount()
90 @IntRange(from = -1) int getPosition(); in getPosition()
235 @IntRange(from = 0) int getColumnCount(); in getColumnCount()
247 byte[] getBlob(@IntRange(from = 0) int columnIndex); in getBlob()
259 String getString(@IntRange(from = 0) int columnIndex); in getString()
282 short getShort(@IntRange(from = 0) int columnIndex); in getShort()
295 int getInt(@IntRange(from = 0) int columnIndex); in getInt()
308 long getLong(@IntRange(from = 0) int columnIndex); in getLong()
321 float getFloat(@IntRange(from = 0) int columnIndex); in getFloat()
334 double getDouble(@IntRange(from = 0) int columnIndex); in getDouble()
[all …]
/aosp14/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/scene/
H A DSceneTransitions.kt43 return cache.getOrPut(from) { mutableMapOf() }.getOrPut(to) { findSpec(from, to) }
47 val spec = transition(from, to) { it.from == from && it.to == to }
52 val reversed = transition(from, to) { it.from == to && it.to == from }
58 transition(from, to) {
59 (it.from == from && it.to == null) || (it.to == to && it.from == null)
65 return transition(from, to) {
66 (it.from == to && it.to == null) || (it.to == from && it.from == null)
73 from: SceneKey,
95 val from: SceneKey?,
104 from = to,
[all …]
/aosp14/frameworks/base/graphics/java/android/graphics/text/
H A DLineBreaker.java248 private @FloatRange(from = 0.0f) float mWidth = 0;
249 private @FloatRange(from = 0.0f) float mFirstWidth = 0;
298 public @Px @FloatRange(from = 0.0f) float getWidth() { in getWidth()
367 public @IntRange(from = 0) int getLineCount() { in getLineCount()
377 public @IntRange(from = 0) int getLineBreakOffset(@IntRange(from = 0) int lineIndex) { in getLineBreakOffset()
477 @IntRange(from = 0) int lineNumber) { in computeLineBreaks() argument
514 @IntRange(from = 0) int length, in nComputeLineBreaks() argument
515 @FloatRange(from = 0.0f) float firstWidth, in nComputeLineBreaks() argument
516 @IntRange(from = 0) int firstWidthLineCount, in nComputeLineBreaks()
517 @FloatRange(from = 0.0f) float restWidth, in nComputeLineBreaks()
[all …]
H A DMeasuredText.java92 public @FloatRange(from = 0.0) @Px float getWidth( in getWidth()
93 @IntRange(from = 0) int start, @IntRange(from = 0) int end) { in getWidth() argument
119 public void getBounds(@IntRange(from = 0) int start, @IntRange(from = 0) int end, in getBounds() argument
138 public void getFontMetricsInt(@IntRange(from = 0) int start, @IntRange(from = 0) int end, in getFontMetricsInt() argument
160 public @FloatRange(from = 0.0f) @Px float getCharWidthAt(@IntRange(from = 0) int offset) { in getCharWidthAt()
177 @IntRange(from = 0) int start, in nGetWidth() argument
178 @IntRange(from = 0) int end); in nGetWidth()
329 @IntRange(from = 0) int length, @Px @FloatRange(from = 0) float width) { in appendReplacementRun() argument
498 @IntRange(from = 0) int start, in nAddStyleRun() argument
499 @IntRange(from = 0) int end, in nAddStyleRun()
[all …]
/aosp14/frameworks/base/core/java/android/os/connectivity/
H A DWifiActivityEnergyInfo.java46 @IntRange(from = 0)
48 @IntRange(from = 0)
50 @IntRange(from = 0)
52 @IntRange(from = 0)
54 @IntRange(from = 0)
91 @IntRange(from = 0) long txDurationMillis, in WifiActivityEnergyInfo() argument
208 @IntRange(from = 0)
214 @IntRange(from = 0)
220 @IntRange(from = 0)
226 @IntRange(from = 0)
[all …]
/aosp14/frameworks/base/core/java/android/text/
H A DAutoGrowArray.java54 private @IntRange(from = 0) int mSize;
79 public void resize(@IntRange(from = 0) int newSize) { in resize()
128 public byte get(@IntRange(from = 0) int index) { in get()
142 public @IntRange(from = 0) int size() { in size()
163 private @IntRange(from = 0) int mSize;
188 public void resize(@IntRange(from = 0) int newSize) { in resize()
237 public int get(@IntRange(from = 0) int index) { in get()
251 public @IntRange(from = 0) int size() { in size()
272 private @IntRange(from = 0) int mSize;
346 public float get(@IntRange(from = 0) int index) { in get()
[all …]
H A DMeasuredParagraph.java88 private @IntRange(from = 0) int mTextStart;
91 private @IntRange(from = 0) int mTextLength;
111 private @FloatRange(from = 0.0f) float mWholeWidth;
206 public @FloatRange(from = 0.0f) float getWholeWidth() { in getWholeWidth()
284 public void getBounds(@IntRange(from = 0) int start, @IntRange(from = 0) int end, in getBounds() argument
294 public void getFontMetricsInt(@IntRange(from = 0) int start, @IntRange(from = 0) int end, in getFontMetricsInt() argument
304 public float getCharWidthAt(@IntRange(from = 0) int offset) { in getCharWidthAt()
405 @IntRange(from = 0) int start, in buildForStaticLayout() argument
406 @IntRange(from = 0) int end, in buildForStaticLayout()
682 @FloatRange(from = 0.0f) float measure(int start, int limit) { in measure()
[all …]
/aosp14/frameworks/base/location/java/android/location/
H A DGnssMeasurementCorrections.java43 @FloatRange(from = -90.0f, to = 90.0f)
46 @FloatRange(from = -180.0f, to = 180.0f)
60 @FloatRange(from = 0.0f)
68 @FloatRange(from = 0.0f)
72 @IntRange(from = 0)
92 @FloatRange(from = 0.0f, to = 360.0f)
98 @FloatRange(from = 0.0f, to = 180.0f)
142 @FloatRange(from = 0.0f)
151 @FloatRange(from = 0.0f)
157 @IntRange(from = 0)
[all …]
H A DGnssStatus.java168 @IntRange(from = 0)
210 @IntRange(from = 1, to = 206)
221 @FloatRange(from = 0, to = 63)
231 @FloatRange(from = -90, to = 90)
241 @FloatRange(from = 0, to = 360)
294 @FloatRange(from = 0)
314 @FloatRange(from = 0, to = 63)
449 @IntRange(from = 1, to = 200) int svid, in addSatellite() argument
450 @FloatRange(from = 0, to = 63) float cn0DbHz, in addSatellite() argument
452 @FloatRange(from = 0, to = 360) float azimuth, in addSatellite()
[all …]
H A DGnssReflectingPlane.java39 @FloatRange(from = -90.0f, to = 90.0f)
42 @FloatRange(from = -180.0f, to = 180.0f)
48 @FloatRange(from = -1000.0f, to = 10000.0f)
52 @FloatRange(from = 0.0f, to = 360.0f)
63 @FloatRange(from = -90.0f, to = 90.0f)
69 @FloatRange(from = -180.0f, to = 180.0f)
78 @FloatRange(from = -1000.0f, to = 10000.0f)
84 @FloatRange(from = 0.0f, to = 360.0f)
162 @FloatRange(from = -90.0f, to = 90.0f) double latitudeDegrees) { in setLatitudeDegrees()
169 @FloatRange(from = -180.0f, to = 180.0f) double longitudeDegrees) { in setLongitudeDegrees()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
H A DFavoritesModel.kt111 override fun onMoveItem(from: Int, to: Int) {
112 onMoveItemInternal(from, to)
139 private fun onMoveItemInternal(from: Int, to: Int) {
152 updateDivider(from, to)
154 moveElement(from, to)
155 adapter?.notifyItemMoved(from, to)
165 private fun updateDivider(from: Int, to: Int) {
194 private fun moveElement(from: Int, to: Int) {
195 if (from < to) {
196 for (i in from until to) {
[all …]
/aosp14/frameworks/base/core/java/android/widget/
H A DSimpleCursorAdapter.java84 mOriginalFrom = from; in SimpleCursorAdapter()
85 findColumns(c, from); in SimpleCursorAdapter()
110 mOriginalFrom = from; in SimpleCursorAdapter()
111 findColumns(c, from); in SimpleCursorAdapter()
142 final int[] from = mFrom; in bindView() local
150 bound = binder.setViewValue(v, cursor, from[i]); in bindView()
154 String text = cursor.getString(from[i]); in bindView()
329 private void findColumns(Cursor c, String[] from) { in findColumns() argument
332 int count = from.length; in findColumns()
337 mFrom[i] = c.getColumnIndexOrThrow(from[i]); in findColumns()
[all …]
/aosp14/system/core/init/fuzzer/
H A DREADME.md73 | `major` | `UINT32_MIN` to `UINT32_MAX` | Value obtained from FuzzedDataProvider|
76 | `uid` | `UINT32_MIN` to `UINT32_MAX` | Value obtained from FuzzedDataProvider|
77 | `gid` | `UINT32_MIN` to `UINT32_MAX` | Value obtained from FuzzedDataProvider|
78 | `action` | `String` | Value obtained from FuzzedDataProvider|
79 | `path` | `String` | Value obtained from FuzzedDataProvider|
80 | `subsystem` | `String` | Value obtained from FuzzedDataProvider|
81 | `partition_name` | `String` | Value obtained from FuzzedDataProvider|
82 | `device_name` | `String` | Value obtained from FuzzedDataProvider|
83 | `modalias` | `String` | Value obtained from FuzzedDataProvider|
84 | `devPath` | `String` | Value obtained from FuzzedDataProvider|
[all …]
/aosp14/frameworks/base/core/java/android/view/inputmethod/
H A DTextSnapshot.java30 @IntRange(from = -1)
32 @IntRange(from = -1)
51 @IntRange(from = -1) int compositionStart, @IntRange(from = -1) int compositionEnd, in TextSnapshot() argument
91 @IntRange(from = -1)
102 @IntRange(from = -1)
113 @IntRange(from = -1)
121 @IntRange(from = -1)
H A DSurroundingText.java44 @IntRange(from = 0)
53 @IntRange(from = 0)
61 @IntRange(from = -1)
76 @IntRange(from = 0) int selectionStart, @IntRange(from = 0) int selectionEnd, in SurroundingText() argument
77 @IntRange(from = -1) int offset) { in SurroundingText()
99 @IntRange(from = 0)
111 @IntRange(from = 0)
122 @IntRange(from = -1)
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DInstaller.java289 throw InstallerException.from(e); in createAppData()
307 throw InstallerException.from(e); in createAppDataBatched()
319 throw InstallerException.from(e); in reconcileSdkData()
340 throw InstallerException.from(e); in setFirstBoot()
422 throw InstallerException.from(e); in restoreconAppData()
432 throw InstallerException.from(e); in migrateAppData()
442 throw InstallerException.from(e); in clearAppData()
452 throw InstallerException.from(e); in destroyAppData()
461 throw InstallerException.from(e); in fixupAppData()
475 throw InstallerException.from(e); in cleanupInvalidPackageDirs()
[all …]
/aosp14/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/scene/ui/composable/
H A DSceneContainerTransitions.kt26 from(Bouncer, to = Gone) { bouncerToGoneTransition() }
27 from(Gone, to = Shade) { goneToShadeTransition() }
28 from(Gone, to = QuickSettings) { goneToQuickSettingsTransition() }
29 from(Lockscreen, to = Bouncer) { lockscreenToBouncerTransition() }
30 from(Lockscreen, to = Shade) { lockscreenToShadeTransition() }
31 from(Lockscreen, to = QuickSettings) { lockscreenToQuickSettingsTransition() }
32 from(Lockscreen, to = Gone) { lockscreenToGoneTransition() }
33 from(Shade, to = QuickSettings) { shadeToQuickSettingsTransition() }
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
H A DUtilities.java48 public static boolean isRotationAnimationCCW(int from, int to) { in isRotationAnimationCCW() argument
50 if (from == Surface.ROTATION_0 && to == Surface.ROTATION_90) return false; in isRotationAnimationCCW()
51 if (from == Surface.ROTATION_0 && to == Surface.ROTATION_180) return true; //180d so CCW in isRotationAnimationCCW()
52 if (from == Surface.ROTATION_0 && to == Surface.ROTATION_270) return true; in isRotationAnimationCCW()
53 if (from == Surface.ROTATION_90 && to == Surface.ROTATION_0) return true; in isRotationAnimationCCW()
54 if (from == Surface.ROTATION_90 && to == Surface.ROTATION_180) return false; in isRotationAnimationCCW()
56 if (from == Surface.ROTATION_180 && to == Surface.ROTATION_0) return true; //180d so CCW in isRotationAnimationCCW()
57 if (from == Surface.ROTATION_180 && to == Surface.ROTATION_90) return true; in isRotationAnimationCCW()
58 if (from == Surface.ROTATION_180 && to == Surface.ROTATION_270) return false; in isRotationAnimationCCW()
59 if (from == Surface.ROTATION_270 && to == Surface.ROTATION_0) return false; in isRotationAnimationCCW()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
H A DWindowManagerLockscreenVisibilityInteractorTest.kt105 from = KeyguardState.AOD,
115 from = KeyguardState.AOD,
134 from = KeyguardState.LOCKSCREEN,
155 from = KeyguardState.GONE,
163 from = KeyguardState.GONE,
213 from = KeyguardState.AOD,
221 from = KeyguardState.AOD,
275 from = KeyguardState.AOD,
283 from = KeyguardState.AOD,
356 from = KeyguardState.AOD,
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DCachingIconViewTest.java52 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in invalidIcon_skipsLoadSuccessfully()
61 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in customDrawable_setImageIcon_skipsResizeSuccessfully()
70 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in customDrawable_setImageIconAsync_skipsResizeSuccessfully()
79 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in customDrawable_setImageResource_skipsResizeSuccessfully()
88 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in customDrawable_setImageResourceAsync_skipsResizeSuccessfully()
97 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in customDrawable_setImageUri_skipsResizeSuccessfully()
108 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in customDrawable_setImageUriAsync_skipsResizeSuccessfully()
119 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in maxDrawableDimensionsSet_setImageIcon_resizesImageIcon()
128 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in maxDrawableWithNoDimensionsSet_setImageIcon_doesNotResizeImageIcon()
137 CachingIconView view = (CachingIconView) LayoutInflater.from(mContext).inflate( in maxDrawableDimensionsSet_setImageIconAsync_resizesImageIcon()
[all …]
/aosp14/frameworks/base/core/java/android/app/usage/
H A DBroadcastResponseStats.java55 public BroadcastResponseStats(@NonNull String packageName, @IntRange(from = 1) long id) { in BroadcastResponseStats() argument
80 @IntRange(from = 1)
94 @IntRange(from = 0)
110 @IntRange(from = 0)
126 @IntRange(from = 0)
142 @IntRange(from = 0)
148 public void incrementBroadcastsDispatchedCount(@IntRange(from = 0) int count) { in incrementBroadcastsDispatchedCount()
153 public void incrementNotificationsPostedCount(@IntRange(from = 0) int count) { in incrementNotificationsPostedCount()
158 public void incrementNotificationsUpdatedCount(@IntRange(from = 0) int count) { in incrementNotificationsUpdatedCount()
163 public void incrementNotificationsCancelledCount(@IntRange(from = 0) int count) { in incrementNotificationsCancelledCount()
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DBroadcastRecord.java528 ordered = from.ordered; in BroadcastRecord()
529 sticky = from.sticky; in BroadcastRecord()
532 userId = from.userId; in BroadcastRecord()
537 appOp = from.appOp; in BroadcastRecord()
538 options = from.options; in BroadcastRecord()
540 delivery = from.delivery; in BroadcastRecord()
547 resultTo = from.resultTo; in BroadcastRecord()
561 state = from.state; in BroadcastRecord()
565 queue = from.queue; in BroadcastRecord()
568 alarm = from.alarm; in BroadcastRecord()
[all …]

12345678910>>...73