Home
last modified time | relevance | path

Searched defs:f (Results 1 – 25 of 232) sorted by relevance

12345678910

/aosp14/frameworks/base/core/tests/benchmarks/src/android/util/
H A DFloatMathBenchmark.java24 float f = 0.0f; in timeFloatMathCeil() local
33 float f = 0.0f; in timeFloatMathCeil_math() local
42 float f = 0.0f; in timeFloatMathCos() local
51 float f = 0.0f; in timeFloatMathExp() local
60 float f = 0.0f; in timeFloatMathFloor() local
69 float f = 0.0f; in timeFloatMathHypot() local
78 float f = 0.0f; in timeFloatMathPow() local
87 float f = 0.0f; in timeFloatMathSin() local
96 float f = 0.0f; in timeFloatMathSqrt() local
105 float f = 0.0f; in timeFloatMathSqrt_math() local
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/transport/
H A DBackupTransportClientTest.java216 @Override public void name(AndroidFuture<String> f) throws RemoteException {} in name()
219 @Override public void currentDestinationString(AndroidFuture<String> f) in currentDestinationString()
221 @Override public void dataManagementIntent(AndroidFuture<Intent> f) in dataManagementIntent()
223 @Override public void dataManagementIntentLabel(AndroidFuture<CharSequence> f) in dataManagementIntentLabel()
229 @Override public void requestBackupTime(AndroidFuture<Long> f) throws RemoteException {} in requestBackupTime()
230 @Override public void performBackup(PackageInfo i, ParcelFileDescriptor fd, int f, in performBackup()
232 @Override public void getAvailableRestoreSets(AndroidFuture<List<RestoreSet>> f) in getAvailableRestoreSets()
237 @Override public void nextRestorePackage(AndroidFuture<RestoreDescription> f) in nextRestorePackage()
243 @Override public void performFullBackup(PackageInfo i, ParcelFileDescriptor fd, int f, in performFullBackup()
251 AndroidFuture<Boolean> f) throws RemoteException {} in isAppEligibleForBackup()
[all …]
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
H A DFormatterPerfTest.java44 Formatter f = new Formatter(); in timeFormatter_NoFormatting() local
63 Formatter f = new Formatter(); in timeFormatter_OneInt() local
74 Formatter f = new Formatter(); in timeFormatter_OneIntArabic() local
95 Formatter f = new Formatter(); in timeFormatter_OneHexInt() local
116 Formatter f = new Formatter(); in timeFormatter_OneFloat() local
126 Formatter f = new Formatter(); in timeFormatter_OneFloat_dot2f() local
136 Formatter f = new Formatter(); in timeFormatter_TwoFloats() local
156 Formatter f = new Formatter(); in timeFormatter_OneString() local
H A DPropertyAccessPerfTest.java135 void setFloat(View v, float f); in setFloat()
139 public void setFloat(View v, float f) { in setFloat()
145 public void setFloat(View v, float f) { in setFloat()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DInsetsAnimationControlImplTest.java238 mController.setInsetsAndAlpha(mController.getHiddenStateInsets(), 1f, 1f); in testPerceptible_insets() local
241 mController.setInsetsAndAlpha(mController.getShownStateInsets(), 1f, 1f); in testPerceptible_insets() local
247 mController.setInsetsAndAlpha(mController.getShownStateInsets(), 0f, 1f); in testPerceptible_alpha() local
250 mController.setInsetsAndAlpha(mController.getShownStateInsets(), 1f, 1f); in testPerceptible_alpha() local
/aosp14/frameworks/base/core/java/android/app/
H A DFragmentManager.java942 Fragment f = mActive.get(index); in getFragment() local
1485 void moveToState(Fragment f) { in moveToState()
1683 void makeActive(Fragment f) { in makeActive()
1696 void makeInactive(Fragment f) { in makeInactive()
1829 Fragment f = mAdded.get(i); in findFragmentById() local
3108 Fragment f = mAdded.get(i); in dispatchConfigurationChanged() local
3117 Fragment f = mAdded.get(i); in dispatchLowMemory() local
3126 Fragment f = mAdded.get(i); in dispatchTrimMemory() local
3140 Fragment f = mAdded.get(i); in dispatchCreateOptionsMenu() local
3172 Fragment f = mAdded.get(i); in dispatchPrepareOptionsMenu() local
[all …]
/aosp14/frameworks/base/telephony/java/android/telephony/ims/compat/
H A DImsService.java151 MMTelFeature f = onCreateEmergencyMMTelImsFeature(slotId); in createEmergencyMMTelFeatureInternal() local
161 MMTelFeature f = onCreateMMTelImsFeature(slotId); in createMMTelFeatureInternal() local
171 RcsFeature f = onCreateRcsFeature(slotId); in createRcsFeatureInternal() local
180 private void setupFeature(ImsFeature f, int slotId, int featureType) { in setupFeature()
187 private void addImsFeature(int slotId, int featureType, ImsFeature f) { in addImsFeature()
210 ImsFeature f = features.get(featureType); in addImsFeatureStatusCallback() local
227 ImsFeature f = features.get(featureType); in removeImsFeatureStatusCallback() local
243 ImsFeature f = features.get(featureType); in removeImsFeature() local
/aosp14/frameworks/base/tools/aapt2/xml/
H A DXmlActionExecutor.cpp24 static bool wrapper_one(const XmlNodeAction::ActionFunc& f, Element* el, in wrapper_one()
29 static bool wrapper_two(const XmlNodeAction::ActionFuncWithDiag& f, Element* el, in wrapper_two()
35 static bool wrapper_three(const XmlNodeAction::ActionFuncWithPolicyAndDiag& f, Element* el, in wrapper_three()
41 void XmlNodeAction::Action(XmlNodeAction::ActionFunc f) { in Action()
46 void XmlNodeAction::Action(XmlNodeAction::ActionFuncWithDiag f) { in Action()
51 void XmlNodeAction::Action(XmlNodeAction::ActionFuncWithPolicyAndDiag f) { in Action()
/aosp14/frameworks/base/core/java/com/android/internal/flags/
H A DCoreFlags.java62 BooleanFlag f = FeatureFlags.booleanFlag(namespace, name, defaultValue); in booleanFlag() local
70 FusedOffFlag f = FeatureFlags.fusedOffFlag(namespace, name); in fusedOffFlag() local
78 FusedOnFlag f = FeatureFlags.fusedOnFlag(namespace, name); in fusedOnFlag() local
87 DynamicBooleanFlag f = FeatureFlags.dynamicBooleanFlag(namespace, name, defaultValue); in dynamicBooleanFlag() local
/aosp14/system/core/libutils/
H A DErrors_test.cpp36 auto f = [](bool success, int* val) -> status_t { in TEST() local
54 auto f = [](bool success) -> Result<std::string, StatusT> { in TEST() local
70 auto f = [](bool success) -> Result<int, StatusT> { in TEST() local
92 auto f = [](bool success) -> Result<std::string, StatusT> { in TEST() local
114 auto f = [&](bool success) -> Result<size_t, StatusT> { in TEST() local
128 auto f = [&](bool success) -> Result<bool, StatusT> { in TEST() local
142 auto f = [&](bool success) -> Result<unsigned char, StatusT> { in TEST() local
162 auto f = [&](bool success) -> Result<IntContainer, StatusT> { in TEST() local
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DPersistentPreferredIntentResolver.java49 protected PersistentPreferredActivity snapshot(PersistentPreferredActivity f) { in snapshot()
54 private PersistentPreferredIntentResolver(PersistentPreferredIntentResolver f) { in PersistentPreferredIntentResolver() method in PersistentPreferredIntentResolver
H A DCrossProfileIntentResolver.java60 protected CrossProfileIntentFilter snapshot(CrossProfileIntentFilter f) { in snapshot()
65 private CrossProfileIntentResolver(CrossProfileIntentResolver f) { in CrossProfileIntentResolver() method in CrossProfileIntentResolver
H A DWatchedIntentResolver.java104 public void addFilter(@Nullable PackageDataSnapshot snapshot, F f) { in addFilter()
111 public void removeFilter(F f) { in removeFilter()
118 protected void removeFilterInternal(F f) { in removeFilterInternal()
H A DPreferredIntentResolver.java78 protected PreferredActivity snapshot(PreferredActivity f) { in snapshot()
83 private PreferredIntentResolver(PreferredIntentResolver f) { in PreferredIntentResolver() method in PreferredIntentResolver
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DCompatModePackagesTests.java76 assertEquals(mAtm.mCompatModePackages.getCompatScale(TEST_PACKAGE, TEST_USER_ID), 1f, in testGetCompatScale_gameManagerReturnsZero() local
85 assertEquals(mAtm.mCompatModePackages.getCompatScale(TEST_PACKAGE, TEST_USER_ID), 1f, in testGetCompatScale_gameManagerReturnsNegative() local
91 assertEquals(mAtm.mCompatModePackages.getCompatScale(TEST_PACKAGE, TEST_USER_ID), 1f, in testGetCompatScale_noGameManager() local
/aosp14/frameworks/base/core/java/com/android/internal/util/function/pooled/
H A DOmniFunction.java146 public R apply(A a, B b, C c, D d, E e, F f) { in apply()
151 public R apply(A a, B b, C c, D d, E e, F f, G g) { in apply()
156 public R apply(A a, B b, C c, D d, E e, F f, G g, H h) { in apply()
161 public R apply(A a, B b, C c, D d, E e, F f, G g, H h, I i) { in apply()
166 public R apply(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j) { in apply()
171 public R apply(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j, K k) { in apply()
186 public void accept(A a, B b, C c, D d, E e, F f) { in accept()
191 public void accept(A a, B b, C c, D d, E e, F f, G g) { in accept()
196 public void accept(A a, B b, C c, D d, E e, F f, G g, H h) { in accept()
201 public void accept(A a, B b, C c, D d, E e, F f, G g, H h, I i) { in accept()
[all …]
/aosp14/frameworks/base/libs/hostgraphics/
H A DPublicFormat.cpp21 android_dataspace mapPublicFormatToHalDataspace(PublicFormat f) { in mapPublicFormatToHalDataspace()
25 int mapPublicFormatToHalFormat(PublicFormat f) { in mapPublicFormatToHalFormat()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
H A DOverScroll.java34 private static float overScrollInfluenceCurve(float f) { in overScrollInfluenceCurve()
47 float f = amount / max; in dampedScroll() local
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/
H A DOverScroll.java34 private static float overScrollInfluenceCurve(float f) { in overScrollInfluenceCurve()
47 float f = amount / max; in dampedScroll() local
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/flags/
H A DFeatureFlagsServiceTest.java91 SyncableFlag f = new SyncableFlag(NS, "a", "false", false); in testOverrideFlag_requiresWritePermission() local
108 SyncableFlag f = new SyncableFlag(NS, "a", "false", false); in testResetFlag_requiresWritePermission() local
271 SyncableFlag f = new SyncableFlag(NS, "a", "false", false); in testOverrideFlag() local
280 SyncableFlag f = new SyncableFlag(NS, "a", "false", false); in testResetFlag() local
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/
H A DFeatureFlagsRelease.java230 SysPropBooleanFlag f = (SysPropBooleanFlag) flag; in dump() local
233 ResourceBooleanFlag f = (ResourceBooleanFlag) flag; in dump() local
236 BooleanFlag f = (BooleanFlag) flag; in dump() local
256 ResourceStringFlag f = (ResourceStringFlag) flag; in dump() local
259 StringFlag f = (StringFlag) flag; in dump() local
/aosp14/frameworks/base/telephony/java/android/telephony/ims/
H A DImsService.java440 MmTelFeature f = createMmTelFeatureForSubscription(slotId, subscriptionId); in createMmTelFeatureInternal() local
452 MmTelFeature f = createEmergencyOnlyMmTelFeature(slotId); in createEmergencyOnlyMmTelFeatureInternal() local
464 RcsFeature f = createRcsFeatureForSubscription(slotId, subId); in createRcsFeatureInternal() local
475 private void setupFeature(ImsFeature f, int slotId, int featureType) { in setupFeature()
490 ImsFeature f = features.get(featureType); in addImsFeatureStatusCallback() local
507 ImsFeature f = features.get(featureType); in removeImsFeatureStatusCallback() local
514 private void addImsFeature(int slotId, int featureType, ImsFeature f) { in addImsFeature()
539 ImsFeature f = features.get(featureType); in removeImsFeature() local
/aosp14/frameworks/base/media/jni/soundpool/
H A DStreamManager.h49 JavaThread(std::function<void()> f, const char *name) in JavaThread()
140 int32_t launch(std::function<void(int32_t /* id */)> f) { in launch()
305 void forEach(std::function<void(const Stream *)>f) const { in forEach()
311 void forEach(std::function<void(Stream *)>f) { in forEach()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
H A DWindowMagnificationManagerTest.java729 assertEquals(mWindowMagnificationManager.getCenterX(TEST_DISPLAY), 100f); in centerGetter_enabledOnTestDisplay_expectedValues() local
730 assertEquals(mWindowMagnificationManager.getCenterY(TEST_DISPLAY), 200f); in centerGetter_enabledOnTestDisplay_expectedValues() local
740 assertEquals(mWindowMagnificationManager.getCenterX(TEST_DISPLAY), 100f); in centerGetter_enabledOnTestDisplayWindowAtCenter_expectedValues() local
741 assertEquals(mWindowMagnificationManager.getCenterY(TEST_DISPLAY), 200f); in centerGetter_enabledOnTestDisplayWindowAtCenter_expectedValues() local
754 assertEquals(mWindowMagnificationManager.getCenterX(TEST_DISPLAY), 100f); in centerGetter_enabledOnTestDisplayWindowAtLeftTop_expectedValues() local
755 assertEquals(mWindowMagnificationManager.getCenterY(TEST_DISPLAY), 200f); in centerGetter_enabledOnTestDisplayWindowAtLeftTop_expectedValues() local
/aosp14/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
H A DTextAppearanceInfoTest.java119 assertEquals(info2.getTextSize(), 30f, EPSILON); in testCreateFromTextView_withSpan1() local
126 assertEquals(info3.getTextSize(), 30f, EPSILON); in testCreateFromTextView_withSpan1() local
133 assertEquals(info4.getTextSize(), 30f, EPSILON); in testCreateFromTextView_withSpan1() local
140 assertEquals(info5.getTextSize(), 30f, EPSILON); in testCreateFromTextView_withSpan1() local
170 assertEquals(info.getTextSize(), 30f, EPSILON); in testCreateFromTextView_withSpan2() local
198 assertEquals(info1.getTextSize(), 10f, EPSILON); in testCreateFromTextView_contradictorySpans() local

12345678910