Home
last modified time | relevance | path

Searched refs:createRelative (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp105 std::unique_ptr<Typeface> normal(Typeface::createRelative(nullptr, Typeface::kNormal)); in TEST()
111 std::unique_ptr<Typeface> bold(Typeface::createRelative(nullptr, Typeface::kBold)); in TEST()
117 std::unique_ptr<Typeface> italic(Typeface::createRelative(nullptr, Typeface::kItalic)); in TEST()
123 std::unique_ptr<Typeface> boldItalic(Typeface::createRelative(nullptr, Typeface::kBoldItalic)); in TEST()
134 std::unique_ptr<Typeface> normal(Typeface::createRelative(base.get(), Typeface::kNormal)); in TEST()
141 std::unique_ptr<Typeface> bold(Typeface::createRelative(base.get(), Typeface::kBold)); in TEST()
148 std::unique_ptr<Typeface> italic(Typeface::createRelative(base.get(), Typeface::kItalic)); in TEST()
156 Typeface::createRelative(base.get(), Typeface::kBoldItalic)); in TEST()
167 std::unique_ptr<Typeface> normal(Typeface::createRelative(base.get(), Typeface::kNormal)); in TEST()
174 std::unique_ptr<Typeface> bold(Typeface::createRelative(base.get(), Typeface::kBold)); in TEST()
[all …]
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DInflatingListActivity.java29 ComponentName.createRelative(PACKAGE_NAME, ".InflatingListActivity");
31 ComponentName.createRelative(PACKAGE_NAME, ".InflatingEmojiListActivity");
33 ComponentName.createRelative(PACKAGE_NAME, ".InflatingHanListActivity");
35 ComponentName.createRelative(PACKAGE_NAME, ".InflatingLongStringListActivity");
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/util/
DAccessibilityUtilsTest.java167 createResolveInfo(ComponentName.createRelative("external1", in getAccessibilityMenuComponentToMigrate_isNull_whenTooManyMenuComponents()
169 createResolveInfo(ComponentName.createRelative("external2", in getAccessibilityMenuComponentToMigrate_isNull_whenTooManyMenuComponents()
171 createResolveInfo(ComponentName.createRelative("external3", in getAccessibilityMenuComponentToMigrate_isNull_whenTooManyMenuComponents()
184 createResolveInfo(ComponentName.createRelative("external1", in getAccessibilityMenuComponentToMigrate_isNull_whenMenuInSystemNotFound()
186 createResolveInfo(ComponentName.createRelative("external2", in getAccessibilityMenuComponentToMigrate_isNull_whenMenuInSystemNotFound()
197 ComponentName menuOutsideSystem = ComponentName.createRelative("external1", in getAccessibilityMenuComponentToMigrate_returnsMenuOutsideSystem()
/frameworks/base/core/java/android/content/
DComponentName.java60 public static @NonNull ComponentName createRelative(@NonNull String pkg, @NonNull String cls) { in createRelative() method in ComponentName
91 public static @NonNull ComponentName createRelative(@NonNull Context pkg, @NonNull String cls) { in createRelative() method in ComponentName
92 return createRelative(pkg.getPackageName(), cls); in createRelative()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
DControlViewHolderTest.kt74 ComponentName.createRelative("pkg", "cls"), in setUp()
121 ComponentName.createRelative("pkg", "cls"), in chevronIcon()
/frameworks/base/libs/hwui/hwui/
DTypeface.h74 static Typeface* createRelative(Typeface* src, Style desiredStyle);
DTypeface.cpp71 Typeface* Typeface::createRelative(Typeface* src, Typeface::Style style) { in createRelative() function in android::Typeface
/frameworks/base/services/tests/dreamservicetests/src/com/android/server/dreams/
DTestDreamEnvironment.java79 ComponentName.createRelative(FAKE_DREAM_PACKAGE_NAME, ".OverlayComponent");
82 ComponentName.createRelative(FAKE_DREAM_PACKAGE_NAME, ".DreamActivity");
84 ComponentName.createRelative(FAKE_DREAM_PACKAGE_NAME, ".DreamService");
/frameworks/base/telephony/common/com/android/internal/telephony/
DCellBroadcastUtils.java76 return ComponentName.createRelative(cellBroadcastReceiverPackageName, in getDefaultCellBroadcastAlertDialogComponent()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityMetricsLaunchObserverTests.java21 import static android.content.ComponentName.createRelative;
101 .setComponent(createRelative(DEFAULT_COMPONENT_PACKAGE_NAME, "TrampolineActivity")) in setUpAMLO()
105 .setComponent(createRelative(DEFAULT_COMPONENT_PACKAGE_NAME, "TopActivity")) in setUpAMLO()
505 .setComponent(createRelative(DEFAULT_COMPONENT_PACKAGE_NAME, "OtherActivity")) in testConcurrentLaunches()
DActivityRefresherTests.java207 .setComponent(ComponentName.createRelative(mContext, in configureActivityAndDisplay()
DLaunchParamsPersisterTests.java73 ComponentName.createRelative("com.android.foo", ".BarActivity");
75 ComponentName.createRelative("com.android.foo", ".AlternativeBarActivity");
DRootWindowContainerTests.java134 final ComponentName aliasComponent = ComponentName.createRelative( in testFindActivityByTargetComponent()
136 final ComponentName targetComponent = ComponentName.createRelative( in testFindActivityByTargetComponent()
151 final ComponentName component = ComponentName.createRelative( in testFindTask_includeLaunchedFromBubbled()
168 final ComponentName component = ComponentName.createRelative( in testFindTask_ignoreLaunchedFromBubbled()
DCameraCompatFreeformPolicyTests.java301 .setComponent(ComponentName.createRelative(mContext, in configureActivityAndDisplay()
DWindowTestsBase.java1217 return ComponentName.createRelative(DEFAULT_COMPONENT_PACKAGE_NAME, in getUniqueComponentName()
1280 return ComponentName.createRelative(DEFAULT_COMPONENT_PACKAGE_NAME, in getDefaultComponent()
1292 mComponent = ComponentName.createRelative(mService.mContext.getPackageName(), in setActivityTheme()
DLockTaskControllerTest.java766 .setComponent(ComponentName.createRelative(pkg, TEST_CLASS_NAME)); in getTask()
DSizeCompatTests.java4620 .setComponent(ComponentName.createRelative(mContext,
4643 .setComponent(ComponentName.createRelative(mContext,
4777 .setComponent(ComponentName.createRelative(mContext,
/frameworks/base/core/java/com/android/internal/os/
DAppZygoteInit.java85 ComponentName preloadName = ComponentName.createRelative(appInfo.packageName, in handlePreloadApp()
/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/
DSystemDataTransferProcessor.java23 import static android.content.ComponentName.createRelative;
115 mCompanionDeviceDataTransferActivity = createRelative( in SystemDataTransferProcessor()
/frameworks/base/libs/hwui/jni/
DTypeface.cpp54 Typeface* face = Typeface::createRelative(family, (Typeface::Style)style); in Typeface_createFromTypeface()
58 face = Typeface::createRelative(family, (Typeface::Style)(style ^ Typeface::kItalic)); in Typeface_createFromTypeface()
61 face = Typeface::createRelative(family, (Typeface::Style)i); in Typeface_createFromTypeface()
/frameworks/base/services/companion/java/com/android/server/companion/association/
DAssociationRequestsProcessor.java24 import static android.content.ComponentName.createRelative;
141 mCompanionAssociationActivity = createRelative( in AssociationRequestsProcessor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/
DBiometricStatusInteractorImplTest.kt204 topActivity = ComponentName.createRelative("com.android.settings", cls) in fpSettingsTask()
/frameworks/base/keystore/java/android/security/
DKeyChain.java441 intent.setComponent(ComponentName.createRelative(SETTINGS_PACKAGE, in createManageCredentialsIntent()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DApplicationsStateRoboTest.java173 return ComponentName.createRelative(resolveInfo.activityInfo.packageName, "foo"); in getHomeActivities()
/frameworks/base/telecomm/java/android/telecom/
DTelecomManager.java946 ComponentName.createRelative("com.android.phone", ".EmergencyDialer");

12