Home
last modified time | relevance | path

Searched defs:context (Results 1 – 25 of 86) sorted by relevance

1234

/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/
DThemableWidget.java26 public ThemableWidget(Context context) { in ThemableWidget()
32 public ThemableWidget(Context context, AttributeSet attrs) { in ThemableWidget()
38 public ThemableWidget(Context context, AttributeSet attrs, int defStyleAttr) { in ThemableWidget()
44 public ThemableWidget(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in ThemableWidget()
51 … ContextThemeWrapper context = new ContextThemeWrapper(getContext(), getContext().getTheme()); in init() local
DArraysCheckWidget.java29 public ArraysCheckWidget(Context context, AttributeSet attrs) { in ArraysCheckWidget()
33 public ArraysCheckWidget(Context context, AttributeSet attrs, int defStyleAttr) { in ArraysCheckWidget()
37 … public ArraysCheckWidget(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in ArraysCheckWidget()
51 private void addTextView(Context context, CharSequence string) { in addTextView()
DDrawableArrayWidget.java27 public DrawableArrayWidget(Context context, AttributeSet attrs) { in DrawableArrayWidget()
31 public DrawableArrayWidget(Context context, AttributeSet attrs, int defStyleAttr) { in DrawableArrayWidget()
35 …public DrawableArrayWidget(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)… in DrawableArrayWidget()
44 private void addImageView(Context context, Drawable drawable) { in addImageView()
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/test/widgets/
DBlurryImageView.java28 public BlurryImageView(Context context) { in BlurryImageView()
33 public BlurryImageView(Context context, AttributeSet attrs) { in BlurryImageView()
38 public BlurryImageView(Context context, AttributeSet attrs, int defStyleAttr) { in BlurryImageView()
43 public BlurryImageView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in BlurryImageView()
48 private void init(Context context) { in init()
DCustomImageView.java26 public CustomImageView(Context context) { in CustomImageView()
31 public CustomImageView(Context context, AttributeSet attrs) { in CustomImageView()
36 public CustomImageView(Context context, AttributeSet attrs, int defStyleAttr) { in CustomImageView()
41 public CustomImageView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in CustomImageView()
46 private void init(Context context) { in init()
DContentWidget.java25 public ContentWidget(Context context) { in ContentWidget()
29 public ContentWidget(Context context, AttributeSet attrs) { in ContentWidget()
33 public ContentWidget(Context context, AttributeSet attrs, int defStyleAttr) { in ContentWidget()
37 public ContentWidget(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in ContentWidget()
DHookWidget.java70 public HookWidget(Context context) { in HookWidget()
74 public HookWidget(Context context, AttributeSet attrs) { in HookWidget()
78 public HookWidget(Context context, AttributeSet attrs, int defStyleAttr) { in HookWidget()
82 public HookWidget(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in HookWidget()
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/res/testApp/MyApplication/src/main/myapplication.widgets/
DAssetView.java28 public AssetView(Context context) { in AssetView()
33 public AssetView(Context context, AttributeSet attrs) { in AssetView()
38 public AssetView(Context context, AttributeSet attrs, int defStyle) { in AssetView()
43 private void init(Context context) { in init()
DCustomCalendar.java24 public CustomCalendar(Context context) { in CustomCalendar()
29 public CustomCalendar(Context context, AttributeSet attrs) { in CustomCalendar()
34 public CustomCalendar(Context context, AttributeSet attrs, int defStyleAttr) { in CustomCalendar()
39 public CustomCalendar(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in CustomCalendar()
DCustomDate.java24 public CustomDate(Context context) { in CustomDate()
29 public CustomDate(Context context, AttributeSet attrs) { in CustomDate()
34 public CustomDate(Context context, AttributeSet attrs, int defStyleAttr) { in CustomDate()
39 public CustomDate(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in CustomDate()
DDialogView.java28 public DialogView(Context context) { in DialogView()
33 public DialogView(Context context, AttributeSet attrs) { in DialogView()
38 public DialogView(Context context, AttributeSet attrs, int defStyle) { in DialogView()
43 private void init(Context context) { in init()
DCanvasTestView.java25 public CanvasTestView(Context context) { in CanvasTestView()
29 public CanvasTestView(Context context, AttributeSet attrs) { in CanvasTestView()
33 public CanvasTestView(Context context, AttributeSet attrs, int defStyleAttr) { in CanvasTestView()
/platform_testing/utils/permissions/src/com/android/permissionutils/
DGrantPermissionUtil.java36 public static void grantAllPermissions (Context context) { in grantAllPermissions()
48 public static void dumpMissingPermissions (Context context) { in dumpMissingPermissions()
60 private static List<PackageInfo> getPackageInfos(Context context) { in getPackageInfos()
64 private static List<String> getMissingPermissions(Context context, PackageInfo info) { in getMissingPermissions()
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DHostsideMainlineModuleDetector.java31 private BaseHostJUnit4Test context; field in HostsideMainlineModuleDetector
35 public HostsideMainlineModuleDetector(BaseHostJUnit4Test context) { in HostsideMainlineModuleDetector()
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/
DGoldenPathManagerTest.kt54 val context = InstrumentationRegistry.getInstrumentation().context in goldenIdentifierResolver_allowsOverrideFileExtension() constant
79 val context = InstrumentationRegistry.getInstrumentation().getContext() in pathNoContextExtractor1() constant
90 val context = InstrumentationRegistry.getInstrumentation().context in emulatedDevicePathConfigTest() constant
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/utils/
DBitmapUtils.kt25 val context = InstrumentationRegistry.getInstrumentation().targetContext.applicationContext in loadBitmap() constant
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/ide/common/resources/deprecated/
DSingleResourceFile.java80 protected void load(ScanningContext context) { in load()
92 protected void update(ScanningContext context) { in update()
134 private boolean validateAttributes(ScanningContext context) { in validateAttributes()
DMultiResourceFile.java64 protected void load(ScanningContext context) { in load()
79 protected void update(ScanningContext context) { in update()
114 private void updateResourceItems(ScanningContext context) { in updateResourceItems()
DResourceFile.java39 protected abstract void load(ScanningContext context); in load()
40 protected abstract void update(ScanningContext context); in update()
DIdGeneratingResourceFile.java72 protected void load(ScanningContext context) { in load()
81 protected void update(ScanningContext context) { in update()
140 private void updateResourceItems(ScanningContext context) { in updateResourceItems()
/platform_testing/libraries/junit-rules/src/
DIgnoreOnPortrait.java32 Context context = InstrumentationRegistry.getInstrumentation().getTargetContext(); in get() local
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/impl/
DRenderActionTestUtil.java25 public static BridgeContext setBridgeContext(@Nullable BridgeContext context) { in setBridgeContext()
/platform_testing/libraries/app-helpers/spectatio/spectatio-util/src/android/platform/spectatio/configs/validators/
DValidateWorkflowTaskConfig.java47 JsonElement jsonElement, Type typeOfT, JsonDeserializationContext context) in deserialize()
80 String key, JsonObject jsonObject, JsonDeserializationContext context) { in validateAndGetUiElementValue()
/platform_testing/utils/shell-as/
Dshell-as-main.cpp27 auto context = std::make_unique<shell_as::SecurityContext>(); in main() local
/platform_testing/utils/shell-as/shell-code/
Dselinux-arm64.S87 context: label

1234