/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/stmt/ |
D | TryStmtTest.java | 21 assertInstanceOf(VariableDeclarationExpr.class, tryStmt.getResources().get(0)); in simpleTest() 27 assertInstanceOf(VariableDeclarationExpr.class, tryStmt.getResources().get(0)); in multipleTest() 34 assertInstanceOf(VariableDeclarationExpr.class, tryStmt.getResources().get(0)); in modifiersTest() 41 assertInstanceOf(NameExpr.class, tryStmt.getResources().get(0)); in simpleVariable() 48 assertInstanceOf(NameExpr.class, tryStmt.getResources().get(0)); in twoSimpleVariables() 49 assertInstanceOf(NameExpr.class, tryStmt.getResources().get(1)); in twoSimpleVariables() 56 assertInstanceOf(FieldAccessExpr.class, tryStmt.getResources().get(0)); in complexVariable() 63 assertInstanceOf(FieldAccessExpr.class, tryStmt.getResources().get(0)); in superAccess() 70 assertInstanceOf(FieldAccessExpr.class, tryStmt.getResources().get(0)); in outerClassAccess()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | ReplacingClassLoader.java | 48 public Enumeration<URL> getResources(String name) throws IOException { in getResources() method in ReplacingClassLoader 50 return getParent().getResources(replacement); in getResources() 52 return super.getResources(name); in getResources()
|
/external/emma/core/java12/com/vladium/util/ |
D | ResourceLoader.java | 73 public static Enumeration getResources (final String name) in getResources() method in ResourceLoader 80 return loader.getResources (name); in getResources() 108 public static Enumeration getResources (final String name, final ClassLoader loader) in getResources() method in ResourceLoader 112 return loader.getResources (name); in getResources()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowDrawableTest.java | 52 context.getResources(), in createFromResourceStream_shouldWorkWithoutSourceName() 136 assertThat(context.getResources().getDrawable(R.drawable.drawable_with_nine_patch)).isNotNull(); in shouldLoadNinePatchFromDrawableXml() 148 final Drawable anImage = context.getResources().getDrawable(R.drawable.an_image); in drawableIntrinsicWidthAndHeightShouldBeCorrect() 157 final Drawable anImage = context.getResources().getDrawable(R.drawable.robolectric); in drawableShouldLoadImageOfCorrectSizeWithMdpiQualifier() 166 final Drawable anImage = context.getResources().getDrawable(R.drawable.robolectric); in drawableShouldLoadImageOfCorrectSizeWithHdpiQualifier() 177 final Drawable aDrawable = context.getResources().getDrawable(R.drawable.an_image_or_vector); in testGetBitmapOrVectorDrawableAt19() 184 final Drawable aDrawable = context.getResources().getDrawable(R.drawable.an_image_or_vector); in testGetBitmapOrVectorDrawableAt21()
|
D | ShadowBitmapFactoryTest.java | 37 Bitmap bitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.an_image); in decodeResource_shouldSetDescriptionAndCreatedFrom() 47 Bitmap bitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.an_image); in decodeResource_shouldSetDefaultBitmapConfig() 54 assertThat(BitmapFactory.decodeResource(context.getResources(), 0)).isNull(); in withResId0_decodeResource_shouldReturnNull() 62 BitmapFactory.decodeResource(context.getResources(), R.drawable.an_image, options); in decodeResource_shouldPassABitmapConfig() 114 Bitmap bitmap = BitmapFactory.decodeResource(context.getResources(), R.drawable.an_image); in decodeResource_shouldGetWidthAndHeightFromHints() 125 BitmapFactory.decodeResource(context.getResources(), R.drawable.an_image, options); in decodeResource_canTakeOptions() 137 context.getResources(), null, inputStream, null, options); in decodeResourceStream_canTakeOptions()
|
D | ShadowBitmapDrawableTest.java | 29 ((Application) ApplicationProvider.getApplicationContext()).getResources(); 102 new BitmapDrawable(ApplicationProvider.getApplicationContext().getResources(), bitmap); in constructor_shouldSetTheIntrinsicWidthAndHeightToTheWidthAndHeightOfTheBitmap() 111 ApplicationProvider.getApplicationContext().getResources(), (Bitmap) null)) in constructor_shouldAcceptNullBitmap()
|
/external/setupcompat/partnerconfig/java/com/google/android/setupcompat/partnerconfig/ |
D | PartnerConfigHelper.java | 92 Configuration currentConfig = context.getResources().getConfiguration(); in isValidInstance() 159 Resources resource = resourceEntry.getResources(); in getColor() 203 Resources resource = resourceEntry.getResources(); in getDrawable() 247 Resources resource = resourceEntry.getResources(); in getString() 278 Resources resource = resourceEntry.getResources(); in getStringArray() 313 Resources resource = resourceEntry.getResources(); in getBoolean() 358 Resources resource = resourceEntry.getResources(); in getDimension() 406 Resources resource = resourceEntry.getResources(); in getFraction() 439 Resources resource = resourceEntry.getResources(); in getInteger() 473 Resources resource = resourceEntry.getResources(); in getIllustrationResourceEntry() [all …]
|
/external/libtextclassifier/java/src/com/android/textclassifier/common/base/ |
D | LocaleCompat.java | 59 return context.getResources().getConfiguration().getLocales().toLanguageTags(); in getResourceLanguageTags() 67 return context.getResources().getConfiguration().locale.toLanguageTag(); in getResourceLanguageTags() 79 return context.getResources().getConfiguration().locale.getLanguage(); in getResourceLanguageTags()
|
/external/setupcompat/main/java/com/google/android/setupcompat/template/ |
D | FooterButtonInflater.java | 42 public Resources getResources() { in getResources() method in FooterButtonInflater 43 return context.getResources(); in getResources() 54 XmlResourceParser parser = getResources().getXml(resId); in inflate()
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
D | SettingsActivity.java | 120 getResources().getTextArray(R.array.audioThreadType_array)) { in onCreate() 160 mBufferTestDurationUI.setTitle(getResources().getString(R.string.labelBufferTestDuration, in onCreate() 176 mWavePlotDurationUI.setTitle(getResources().getString( in onCreate() 193 mPlayerBufferUI.setTitle(getResources().getString( in onCreate() 215 mRecorderBufferUI.setTitle(getResources().getString(R.string.labelRecorderBuffer, in onCreate() 230 mLoadThreadUI.setTitle(getResources().getString(R.string.loadThreadsLabel)); in onCreate() 244 mNumCapturesUI.setTitle(getResources().getString(R.string.numCapturesSetting)); in onCreate() 275 mIgnoreFirstFramesUI.setTitle(getResources().getString(R.string.labelIgnoreFirstFrames, in onCreate() 434 helpText.setText(getResources().getString(R.string.systraceHelp)); in onButtonHelp() 436 helpText.setText(getResources().getString(R.string.calibrateSoundLevelHelp)); in onButtonHelp()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/ |
D | DrawableResourceLoaderTest.java | 35 resources = ApplicationProvider.getApplicationContext().getResources(); in setup() 41 ApplicationProvider.getApplicationContext().getResources().getDrawable(R.drawable.rainbow)); in testGetDrawable_rainbow() 79 .getResources() in testLayerDrawable_xlarge() 90 .getResources() in testLayerDrawable()
|
D | ResourceLoaderTest.java | 47 .getResources() in checkDefaultBooleanValue() 57 .getResources() in checkQualifiedBooleanValue() 105 assertThat(ApplicationProvider.getApplicationContext().getResources().getString(resId)) in shouldMakeInternalResourcesAvailable()
|
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/base/ |
D | LocaleCompatTest.java | 57 .getResources() in getResourceLanguageTags_minApi24() 71 .getResources() in getResourceLanguageTags_minApi21() 84 ApplicationProvider.getApplicationContext().getResources().getConfiguration().locale = in getResourceLanguageTags_base()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/controller/ |
D | ActivityControllerTest.java | 227 ApplicationProvider.getApplicationContext().getResources().getConfiguration()); in configurationChange_callsLifecycleMethodsAndAppliesConfig() 234 … assertThat(controller.get().getResources().getConfiguration().fontScale).isEqualTo(newFontScale); in configurationChange_callsLifecycleMethodsAndAppliesConfig() 241 ApplicationProvider.getApplicationContext().getResources().getConfiguration()); in configurationChange_callsOnConfigurationChangedAndAppliesConfigWhenAllManaged() 249 …assertThat(configController.get().getResources().getConfiguration().fontScale).isEqualTo(newFontSc… in configurationChange_callsOnConfigurationChangedAndAppliesConfigWhenAllManaged() 256 ApplicationProvider.getApplicationContext().getResources().getConfiguration()); in configurationChange_callsLifecycleMethodsAndAppliesConfigWhenAnyNonManaged() 265 …assertThat(configController.get().getResources().getConfiguration().fontScale).isEqualTo(newFontSc… in configurationChange_callsLifecycleMethodsAndAppliesConfigWhenAnyNonManaged() 266 …assertThat(configController.get().getResources().getConfiguration().orientation).isEqualTo(newOrie… in configurationChange_callsLifecycleMethodsAndAppliesConfigWhenAnyNonManaged() 285 ApplicationProvider.getApplicationContext().getResources().getConfiguration()); in configurationChange_restoresTheme() 301 ApplicationProvider.getApplicationContext().getResources().getConfiguration()); in configurationChange_reattachesRetainedFragments()
|
/external/angle/src/tests/compiler_tests/ |
D | EmulateGLFragColorBroadcast_test.cpp | 30 getResources()->MaxDrawBuffers = kMaxDrawBuffers; in EmulateGLFragColorBroadcastTest() 31 getResources()->EXT_draw_buffers = 1; in EmulateGLFragColorBroadcastTest()
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/ |
D | HelpTopicActivity.java | 41 this.setTitle(String.format("%s: %s - %s", getResources().getText(R.string.application_title), in onCreate() 42 getResources().getText(R.string.title_help), topic)); in onCreate()
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
D | Configurator.java | 115 return ctx.getResources().getIdentifier(name, pack, ctx.getPackageName()); in parseResId() 123 return ctx.getResources().getColor(parseResId(ctx, "@color", value)); in parseIntAttr() 145 return ctx.getResources().getDimension(parseResId(ctx, "@dimen", value)); in parseFloatAttr() 157 return ctx.getResources().getString(parseResId(ctx, "@string", value)); in parseStringAttr() 259 XmlResourceParser xrp = ctx.getResources().getXml(xmlFileId); in configure()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowArscAssetManager.java | 204 if (!am.getResources().getResourceName(resid, true, name)) { in getResourceName() 234 if (!cppAssetManager.getResources().getResourceName(resid, true, name)) { in getResourcePackageName() 246 if (!cppAssetManager.getResources().getResourceName(resid, true, name)) { in getResourceTypeName() 258 if (!cppAssetManager.getResources().getResourceName(resid, true, name)) { in getResourceEntryName() 311 int ident = am.getResources().identifierForName(name, defType, defPackage); in getResourceIdentifier() 525 final ResTable res = am.getResources(); in loadResourceValue() 613 final ResTable res = am.getResources(); in loadResourceBagValue() 800 ResTable res = am.getResources(); in retrieveAttributes() 853 final ResTable res = am.getResources(); in getArraySize() 874 ResTable res = am.getResources(); in retrieveArray() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/validator/ |
D | Java7Validator.java | 14 && n.getResources().isEmpty() 18 for (Expression resource : n.getResources()) {
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/ |
D | com_github_javaparser_symbolsolver_javaparsermodel_contexts_TryWithResourceContext.txt | 1 Line 45) wrappedNode.getResources() ==> com.github.javaparser.ast.stmt.TryStmt.getResources() 13 Line 63) wrappedNode.getResources() ==> com.github.javaparser.ast.stmt.TryStmt.getResources()
|
/external/setupdesign/main/src/com/google/android/setupdesign/ |
D | SetupWizardLayout.java | 138 decorPaddingTop = getResources().getDimensionPixelSize(R.dimen.sud_decor_padding_top); in init() 148 getResources().getValue(R.dimen.sud_illustration_aspect_ratio, out, true); in init() 322 final Drawable backgroundTileDrawable = getContext().getResources().getDrawable(backgroundTile); in setBackgroundTile() 335 final Drawable assetDrawable = context.getResources().getDrawable(asset); in getIllustration() 336 final Drawable tile = context.getResources().getDrawable(horizontalTile); in getIllustration() 343 if (context.getResources().getBoolean(R.bool.sudUseTabletLayout)) { in getIllustration()
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/page/ |
D | TablePage.java | 68 context.getResources().getLink(folder, Resources.SORT_SCRIPT)); in head() 74 context.getResources(), folder); in content()
|
D | SourceFilePage.java | 70 head.link("stylesheet", context.getResources().getLink(folder, in head() 72 head.script(context.getResources().getLink(folder, in head()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ |
D | TryWithResourceContext.java | 50 for (Expression expr : wrappedNode.getResources()) { in solveSymbolAsValue() 70 for (Expression expr : wrappedNode.getResources()) { in solveSymbol() 95 NodeList<Expression> resources = wrappedNode.getResources(); in localVariablesExposedToChild()
|
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/extension/views/ |
D | PinView.java | 33 float density = getResources().getDisplayMetrics().densityDpi; in initialise() 34 pin = BitmapFactory.decodeResource(this.getResources(), drawable.pushpin_blue); in initialise()
|