Home
last modified time | relevance | path

Searched refs:modifier (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/text/format/
DTimeFormatter.java216 int modifier = 0; in handleToken() local
228 modifier); in handleToken() local
236 modifier); in handleToken() local
239 if (modifier == '-') { in handleToken()
245 modifier); in handleToken() local
252 modifier); in handleToken() local
261 modifier); in handleToken() local
264 outputYear(wallTime.getYear(), true, false, modifier); in handleToken() local
273 numberFormatter.format(getFormat(modifier, "%02d", "%2d", "%d", "%02d"), in handleToken()
285 modifier = currentChar; in handleToken()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/tare/
DEconomicPolicy.java179 final Modifier modifier = COST_MODIFIER_BY_INDEX[i]; in setup() local
180 if (modifier != null) { in setup()
181 modifier.setup(); in setup()
189 final Modifier modifier = COST_MODIFIER_BY_INDEX[i]; in tearDown() local
190 if (modifier != null) { in tearDown()
191 modifier.tearDown(); in tearDown()
250 final Modifier modifier = getModifier(costModifier); in getCostOfAction() local
251 ctp = modifier.getModifiedCostToProduce(ctp); in getCostOfAction()
252 price = modifier.getModifiedPrice(price); in getCostOfAction()
269 Modifier modifier = COST_MODIFIER_BY_INDEX[modifierId]; in initModifier() local
[all …]
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/
DPlatformButtons.kt35 modifier: Modifier = Modifier, in PlatformButton()
40 modifier = modifier.padding(vertical = 6.dp).height(36.dp), in PlatformButton()
53 modifier: Modifier = Modifier, in PlatformOutlinedButton()
58 modifier = modifier.padding(vertical = 6.dp).height(36.dp), in PlatformOutlinedButton()
72 modifier: Modifier = Modifier, in PlatformTextButton()
78 modifier = modifier, in PlatformTextButton()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/
DExampleFeature.kt46 fun ExampleFeature(text: String, modifier: Modifier = Modifier) { in ExampleFeature()
47 BoxWithConstraints(modifier) { in ExampleFeature()
66 private fun CounterTile(text: String, modifier: Modifier = Modifier) { in CounterTile()
68 modifier, in CounterTile()
83 private fun MaxWidthTile(maxWidth: Dp, modifier: Modifier = Modifier) { in MaxWidthTile()
85 modifier, in MaxWidthTile()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/qs/footer/ui/compose/
DFooterActions.kt88 modifier: Modifier = Modifier, in <lambda>()
141 modifier in <lambda>()
195 modifier: Modifier = Modifier, in SecurityButton()
208 modifier, in SecurityButton()
238 modifier: Modifier = Modifier, in IconButton()
244 modifier = modifier, in IconButton()
250 modifier = Modifier.size(20.dp), in IconButton()
261 modifier: Modifier = Modifier, in NumberButton()
275 modifier = modifier, in NumberButton()
288 modifier = Modifier.align(Alignment.Center), in NumberButton()
[all …]
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibrationEffectAdapters.java50 int apply(List<VibrationEffectSegment> segments, int repeatIndex, T modifier); in apply() argument
61 VibrationEffect apply(VibrationEffect effect, T modifier); in apply() argument
75 List<SegmentsAdapter<T>> adapters, T modifier) { in apply() argument
87 newRepeatIndex = adapters.get(i).apply(newSegments, newRepeatIndex, modifier); in apply()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/pager/
DPager.kt108 modifier: Modifier = Modifier, in HorizontalPager()
121 modifier = modifier, in HorizontalPager()
155 modifier: Modifier = Modifier, in VerticalPager()
168 modifier = modifier, in VerticalPager()
184 modifier: Modifier, in Pager()
232 modifier = modifier, in Pager()
260 modifier = modifier, in Pager()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/common/ui/compose/
DIcon.kt37 modifier: Modifier = Modifier, in Icon()
43 Icon(icon.drawable.toBitmap().asImageBitmap(), contentDescription, modifier, tint) in Icon()
45 is Icon.Resource -> Icon(painterResource(icon.res), contentDescription, modifier, tint) in Icon()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DEntryUtil.kt27 crossinline modifier: NotificationEntryBuilder.() -> Unit in modifyEntry()
30 modifier(builder) in modifyEntry()
/frameworks/base/services/core/java/com/android/server/wm/
DLaunchParamsController.java98 final LaunchParamsModifier modifier = mModifiers.get(i); in calculate() local
100 switch(modifier.onCalculate(task, layout, activity, source, options, request, phase, in calculate()
171 void registerModifier(LaunchParamsModifier modifier) { in registerModifier() argument
172 if (mModifiers.contains(modifier)) { in registerModifier()
176 mModifiers.add(modifier); in registerModifier()
/frameworks/compile/mclinker/lib/LD/
DDiagnostic.cpp89 const char* modifier = NULL; in format() local
94 modifier = cur_char; in format()
97 modifier_len = cur_char - modifier; in format()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/
DExpandable.kt117 modifier: Modifier = Modifier, in <lambda>()
126 modifier, in <lambda>()
161 modifier: Modifier = Modifier, in Expandable()
231 modifier.requiredSize(with(controller.density) { thisExpandableSize.toDpSize() }) in Expandable()
251 modifier in Expandable()
281 modifier in Expandable()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java1706 && ((mBrightnessReason.modifier & BrightnessReason.MODIFIER_DIMMED) == 0 in updatePowerState()
1707 || (mBrightnessReason.modifier & BrightnessReason.MODIFIER_LOW_POWER) == 0)) { in updatePowerState()
3375 public int modifier;
3379 setModifier(other == null ? 0 : other.modifier);
3390 public void setModifier(int modifier) {
3391 if ((modifier & ~MODIFIER_MASK) != 0) {
3393 + Integer.toHexString(modifier));
3395 this.modifier = modifier;
3399 public void addModifier(int modifier) {
3400 setModifier(modifier | this.modifier);
[all …]
/frameworks/native/opengl/libs/ETC1/
Detc1.cpp310 int modifier = pModifierTable[i]; in chooseModifier() local
311 int decodedG = clamp(g + modifier); in chooseModifier()
316 int decodedR = clamp(r + modifier); in chooseModifier()
321 int decodedB = clamp(b + modifier); in chooseModifier()
/frameworks/base/tools/aapt2/compile/
DNinePatch.cpp293 int32_t modifier = 0; in CalculateSegmentCount() local
295 modifier = 1; in CalculateSegmentCount()
297 modifier = -1; in CalculateSegmentCount()
299 return static_cast<int32_t>(stretch_regions.size()) * 2 + modifier; in CalculateSegmentCount()
/frameworks/native/services/inputflinger/reader/mapper/
DKeyboardInputMapper.h98 void updateLedStateForModifier(LedState& ledState, int32_t led, int32_t modifier, bool reset);
DKeyboardInputMapper.cpp459 int32_t modifier, bool reset) { in updateLedStateForModifier() argument
461 bool desiredState = (mMetaState & modifier) != 0; in updateLedStateForModifier()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuItemImpl.java390 private static void appendModifier(StringBuilder sb, int mask, int modifier, String label) { in appendModifier() argument
391 if ((mask & modifier) == modifier) { in appendModifier()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/
DPackageManagerServiceTest.java473 final int modifier = field.getModifiers(); in getKnownPackageIdsList() local
474 if (isPublic(modifier) && isStatic(modifier) && isFinal(modifier) in getKnownPackageIdsList()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/people/ui/compose/
DPeopleScreen.kt98 modifier = Modifier.fillMaxSize(), in <lambda>()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboard.java285 public boolean modifier; field in Keyboard.Key
385 modifier = a.getBoolean( in Key()
/frameworks/base/packages/SystemUI/scripts/token_alignment/
Dtsconfig.json94 … /* Ensure overriding members in derived classes are marked with an override modifier. */
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStarterTests.java423 final LaunchParamsModifier modifier = mock(LaunchParamsModifier.class); in testCreateTaskLayout() local
424 mAtm.mTaskSupervisor.getLaunchParamsController().registerModifier(modifier); in testCreateTaskLayout()
452 verify(modifier, times(3)).onCalculate(any(), eq(windowLayout), any(), any(), eq(options), in testCreateTaskLayout()
/frameworks/base/core/java/android/widget/
DAbsListView.java8064 final float modifier = Math.min(Math.abs(screenTravelCount), 1.f); in run() local
8066 final int distance = (int) (-getHeight() * modifier); in run()
8067 final int duration = (int) (mScrollDuration * modifier); in run()
8071 final int distance = (int) (getHeight() * modifier); in run()
8072 final int duration = (int) (mScrollDuration * modifier); in run()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt13602 field public boolean modifier;

12