/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/provider/ |
D | FeedProvider.java | 109 Context ctx = getContext(); in query() local 110 assert ctx != null; in query() 111 c.setNotificationUri(ctx.getContentResolver(), uri); in query() 138 Context ctx = getContext(); in insert() local 139 assert ctx != null; in insert() 140 ctx.getContentResolver().notifyChange(uri, null, false); in insert() 170 Context ctx = getContext(); in delete() local 171 assert ctx != null; in delete() 172 ctx.getContentResolver().notifyChange(uri, null, false); in delete() 201 Context ctx = getContext(); in update() local [all …]
|
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/provider/ |
D | FeedProvider.java | 109 Context ctx = getContext(); in query() local 110 assert ctx != null; in query() 111 c.setNotificationUri(ctx.getContentResolver(), uri); in query() 138 Context ctx = getContext(); in insert() local 139 assert ctx != null; in insert() 140 ctx.getContentResolver().notifyChange(uri, null, false); in insert() 170 Context ctx = getContext(); in delete() local 171 assert ctx != null; in delete() 172 ctx.getContentResolver().notifyChange(uri, null, false); in delete() 201 Context ctx = getContext(); in update() local [all …]
|
/developers/samples/android/common/src/java/com/example/android/common/assetprovider/ |
D | AssetProvider.java | 50 Context ctx = getContext(); in onCreate() local 51 if (ctx == null) { in onCreate() 55 mAssets = ctx.getAssets(); in onCreate()
|
/developers/build/prebuilts/gradle/BeamLargeFiles/Application/src/main/java/com/example/android/common/assetprovider/ |
D | AssetProvider.java | 50 Context ctx = getContext(); in onCreate() local 51 if (ctx == null) { in onCreate() 55 mAssets = ctx.getAssets(); in onCreate()
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ |
D | Utils.java | 63 public static int convertDpToPixel(Context ctx, int dp) { in convertDpToPixel() argument 64 float density = ctx.getResources().getDisplayMetrics().density; in convertDpToPixel()
|
/developers/demos/JustForUs/justforus/src/main/java/com/example/android/justforus/ |
D | AssetProvider.java | 63 Context ctx = getContext(); in onCreate() local 64 if (ctx == null) { in onCreate() 68 mAssets = ctx.getAssets(); in onCreate()
|
/developers/samples/android/content/WidgetData/Application/src/main/java/com/example/android/widgetdata/ |
D | WeatherWidgetProvider.java | 103 public void onReceive(Context ctx, Intent intent) { in onReceive() argument 110 final Context context = ctx; in onReceive() 145 final String formatStr = ctx.getResources().getString(R.string.toast_format_string); in onReceive() 146 Toast.makeText(ctx, String.format(formatStr, day), Toast.LENGTH_SHORT).show(); in onReceive() 149 super.onReceive(ctx, intent); in onReceive()
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/ |
D | Utils.java | 94 public static int dpToPx(int dp, Context ctx) { in dpToPx() argument 95 float density = ctx.getResources().getDisplayMetrics().density; in dpToPx()
|
D | VideoProvider.java | 98 public static HashMap<String, List<Movie>> buildMedia(Context ctx, String url) in buildMedia() argument
|
/developers/build/prebuilts/gradle/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/ |
D | GridExampleActivity.java | 62 public MainAdapter(Context ctx, FragmentManager fm) { in MainAdapter() argument 64 mContext = ctx; in MainAdapter()
|
/developers/samples/android/wearable/wear/SkeletonWearableApp/Wearable/src/main/java/com/example/android/google/wearable/app/ |
D | GridExampleActivity.java | 62 public MainAdapter(Context ctx, FragmentManager fm) { in MainAdapter() argument 64 mContext = ctx; in MainAdapter()
|
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/ |
D | PackageValidator.java | 50 public PackageValidator(Context ctx) { in PackageValidator() argument 51 mValidCertificates = readValidCertificates(ctx.getResources().getXml( in PackageValidator()
|
/developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/ |
D | PackageValidator.java | 50 public PackageValidator(Context ctx) { in PackageValidator() argument 51 mValidCertificates = readValidCertificates(ctx.getResources().getXml( in PackageValidator()
|
/developers/build/prebuilts/gradle/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/ |
D | SampleGridPagerAdapter.java | 54 public SampleGridPagerAdapter(Context ctx, FragmentManager fm) { in SampleGridPagerAdapter() argument 56 mContext = ctx; in SampleGridPagerAdapter()
|
/developers/samples/android/wearable/wear/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/ |
D | SampleGridPagerAdapter.java | 54 public SampleGridPagerAdapter(Context ctx, FragmentManager fm) { in SampleGridPagerAdapter() argument 56 mContext = ctx; in SampleGridPagerAdapter()
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/rich/ |
D | RichSetupFragment.java | 224 private int convertDpToPixel(Context ctx, int dp) { in convertDpToPixel() argument 225 float density = ctx.getResources().getDisplayMetrics().density; in convertDpToPixel()
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/data/ |
D | VideoProvider.java | 68 public static HashMap<String, List<Movie>> buildMedia(Context ctx, String url) in buildMedia() argument
|