Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Fresco.Animated.Base/Additions/Additions.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@


This file was deleted.

12 changes: 7 additions & 5 deletions Fresco.Animated.Base/Fresco.Animated.Base.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
<AssemblyName>Fresco.Animated.Base</AssemblyName>
<FileAlignment>512</FileAlignment>
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v7.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v11.0</TargetFrameworkVersion>
<AndroidCodegenTarget>XamarinAndroid</AndroidCodegenTarget>
<AndroidClassParser>class-parse</AndroidClassParser>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand All @@ -38,12 +40,10 @@
<Reference Include="System.Core" />
</ItemGroup>
<ItemGroup>
<Compile Include="Additions\Additions.cs" />
<Compile Include="Additions\ExperimentalBitmapAnimationDrawableFactory.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<LibraryProjectZip Include="Jars\animated-base-1.8.1.aar" />
</ItemGroup>
<ItemGroup>
<TransformFile Include="Transforms\Metadata.xml" />
</ItemGroup>
Expand All @@ -65,7 +65,9 @@
<Name>Fresco.ImagePipeline</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup />
<ItemGroup>
<LibraryProjectZip Include="Jars\animated-base-1.14.0.aar" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.Bindings.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
Binary file not shown.
Binary file removed Fresco.Animated.Base/Jars/animated-base-1.8.1.aar
Binary file not shown.
10 changes: 6 additions & 4 deletions Fresco.Animated.Drawable/Fresco.Animated.Drawable.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
<AssemblyName>Fresco.Animated.Drawable</AssemblyName>
<FileAlignment>512</FileAlignment>
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v7.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v11.0</TargetFrameworkVersion>
<AndroidCodegenTarget>XamarinAndroid</AndroidCodegenTarget>
<AndroidClassParser>class-parse</AndroidClassParser>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand All @@ -40,9 +42,6 @@
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<LibraryProjectZip Include="Jars\animated-drawable-1.8.1.aar" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Fresco.Core\Fresco.Core.csproj">
<Project>{848ee635-2546-44e5-9c31-7cd371a1cec2}</Project>
Expand All @@ -61,6 +60,9 @@
<Name>Fresco.ImagePipeline</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<LibraryProjectZip Include="Jars\animated-drawable-1.14.0.aar" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.Bindings.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
Binary file not shown.
Binary file not shown.
10 changes: 6 additions & 4 deletions Fresco.Animated.Gif/Fresco.Animated.Gif.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
<AssemblyName>Fresco.Animated.Gif</AssemblyName>
<FileAlignment>512</FileAlignment>
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v7.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v11.0</TargetFrameworkVersion>
<AndroidCodegenTarget>XamarinAndroid</AndroidCodegenTarget>
<AndroidClassParser>class-parse</AndroidClassParser>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand All @@ -40,9 +42,6 @@
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<LibraryProjectZip Include="Jars\animated-gif-1.8.1.aar" />
</ItemGroup>
<ItemGroup>
<TransformFile Include="Transforms\Metadata.xml" />
</ItemGroup>
Expand All @@ -56,6 +55,9 @@
<Name>Fresco.Core</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<LibraryProjectZip Include="Jars\animated-gif-1.14.0.aar" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.Bindings.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
Binary file added Fresco.Animated.Gif/Jars/animated-gif-1.14.0.aar
Binary file not shown.
Binary file removed Fresco.Animated.Gif/Jars/animated-gif-1.8.1.aar
Binary file not shown.
8 changes: 5 additions & 3 deletions Fresco.Animated.WebP/Fresco.Animated.WebP.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
<AssemblyName>Fresco.Animated.WebP</AssemblyName>
<FileAlignment>512</FileAlignment>
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v7.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v11.0</TargetFrameworkVersion>
<AndroidCodegenTarget>XamarinAndroid</AndroidCodegenTarget>
<AndroidClassParser>class-parse</AndroidClassParser>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -41,10 +43,10 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<LibraryProjectZip Include="Jars\animated-webp-1.8.1.aar" />
<TransformFile Include="Transforms\Metadata.xml" />
</ItemGroup>
<ItemGroup>
<TransformFile Include="Transforms\Metadata.xml" />
<LibraryProjectZip Include="Jars\animated-webp-1.14.0.aar" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.Bindings.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down
Binary file not shown.
Binary file removed Fresco.Animated.WebP/Jars/animated-webp-1.8.1.aar
Binary file not shown.
2 changes: 1 addition & 1 deletion Fresco.Bolts/Fresco.Bolts.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<AssemblyName>Fresco.Bolts</AssemblyName>
<FileAlignment>512</FileAlignment>
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v7.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v11.0</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down
8 changes: 5 additions & 3 deletions Fresco.Core/Fresco.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
<AssemblyName>Fresco.Core</AssemblyName>
<FileAlignment>512</FileAlignment>
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v7.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v11.0</TargetFrameworkVersion>
<AndroidCodegenTarget>XamarinAndroid</AndroidCodegenTarget>
<AndroidClassParser>class-parse</AndroidClassParser>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -44,10 +46,10 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<LibraryProjectZip Include="Jars\fbcore-1.8.1.aar" />
<TransformFile Include="Transforms\Metadata.xml" />
</ItemGroup>
<ItemGroup>
<TransformFile Include="Transforms\Metadata.xml" />
<LibraryProjectZip Include="Jars\fbcore-1.14.0.aar" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.Bindings.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down
Binary file added Fresco.Core/Jars/fbcore-1.14.0.aar
Binary file not shown.
Binary file removed Fresco.Core/Jars/fbcore-1.8.1.aar
Binary file not shown.
12 changes: 4 additions & 8 deletions Fresco.Drawee/Fresco.Drawee.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
<AssemblyName>Fresco.Drawee</AssemblyName>
<FileAlignment>512</FileAlignment>
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v7.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v11.0</TargetFrameworkVersion>
<AndroidCodegenTarget>XamarinAndroid</AndroidCodegenTarget>
<AndroidClassParser>class-parse</AndroidClassParser>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -42,13 +44,7 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<LibraryProjectZip Include="Jars\drawee-1.8.1.aar" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Fresco.Core\Fresco.Core.csproj">
<Project>{848ee635-2546-44e5-9c31-7cd371a1cec2}</Project>
<Name>Fresco.Core</Name>
</ProjectReference>
<LibraryProjectZip Include="Jars\drawee-1.14.0.aar" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.Bindings.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down
Binary file added Fresco.Drawee/Jars/drawee-1.14.0.aar
Binary file not shown.
Binary file removed Fresco.Drawee/Jars/drawee-1.8.1.aar
Binary file not shown.
11 changes: 11 additions & 0 deletions Fresco.ImagePipeline.Base/Additions/Additions.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
namespace Com.Facebook.Cache.Disk {
partial class DefaultDiskStorage {
System.Collections.Generic.ICollection<global::Com.Facebook.Cache.Disk.IDiskStorageEntry> global::Com.Facebook.Cache.Disk.IDiskStorage.Entries
{
get
{
return new System.Collections.Generic.List<global::Com.Facebook.Cache.Disk.IDiskStorageEntry>(this.Entries);
}
}
}
}
10 changes: 8 additions & 2 deletions Fresco.ImagePipeline.Base/Fresco.ImagePipeline.Base.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
<AssemblyName>Fresco.ImagePipeline.Base</AssemblyName>
<FileAlignment>512</FileAlignment>
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v7.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v11.0</TargetFrameworkVersion>
<AndroidCodegenTarget>XamarinAndroid</AndroidCodegenTarget>
<AndroidClassParser>class-parse</AndroidClassParser>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand All @@ -38,10 +40,14 @@
<Reference Include="System.Core" />
</ItemGroup>
<ItemGroup>
<Compile Include="Additions\Additions.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<LibraryProjectZip Include="Jars\imagepipeline-base-1.8.1.aar" />
<TransformFile Include="Transforms\Metadata.xml" />
</ItemGroup>
<ItemGroup>
<LibraryProjectZip Include="Jars\imagepipeline-base-1.14.0.aar" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.Bindings.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down
Binary file not shown.
Binary file not shown.
7 changes: 7 additions & 0 deletions Fresco.ImagePipeline.Base/Transforms/Metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<metadata>
<!-- <attr
path="/api/package[@name='com.facebook.imagepipeline.base']/class[@name='DefaultDiskStorage']/method[@name='getEntries']"
name="managedReturn">
System.Collections.Generic.ICollection&lt;Com.Facebook.Cache.Disk.IDiskStorageEntry&gt;
</attr>-->
</metadata>
8 changes: 4 additions & 4 deletions Fresco.ImagePipeline.OkHttp/Additions/Additions.cs
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
using Android.Content;
using Com.Facebook.Imagepipeline.Core;
using Com.Squareup.Okhttp;
//using Com.Squareup.Okhttp;

namespace Com.Facebook.Imagepipeline.Backends.Okhttp
{
public partial class OkHttpImagePipelineConfigFactory
{
// TODO: Expose API in bindings for commented out sections
public static /* ImagePipelineConfig.Builder*/ void NewBuilder(Context context, OkHttpClient okHttpClient)
{
//public static /* ImagePipelineConfig.Builder*/ void NewBuilder(Context context, OkHttpClient okHttpClient)
//{
/*
return ImagePipelineConfig.NewBuilder(context)
.SetNetworkFetcher(new OkHttpNetworkFetcher(okHttpClient));
*/
}
//}
}
}
18 changes: 8 additions & 10 deletions Fresco.ImagePipeline.OkHttp/Fresco.ImagePipeline.OkHttp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
<RootNamespace>Fresco.ImagePipeline.OkHttp</RootNamespace>
<AssemblyName>Fresco.ImagePipeline.OkHttp</AssemblyName>
<FileAlignment>512</FileAlignment>
<AndroidUseLatestPlatformSdk>True</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v11.0</TargetFrameworkVersion>
<AndroidCodegenTarget>XamarinAndroid</AndroidCodegenTarget>
<AndroidClassParser>class-parse</AndroidClassParser>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand All @@ -33,14 +34,7 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Fresco.ImagePipeline.Base, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\dev\disa\ComponentsJavaBindings\Fresco.ImagePipeline.Base.dll</HintPath>
</Reference>
<Reference Include="Mono.Android" />
<Reference Include="SquareUp">
<HintPath>Libs\SquareUp.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
</ItemGroup>
Expand All @@ -51,7 +45,7 @@
<ItemGroup>
<None Include="Jars\AboutJars.txt" />
<None Include="Additions\AboutAdditions.txt" />
<LibraryProjectZip Include="Jars\imagepipeline-okhttp-1.8.1.aar" />
<LibraryProjectZip Include="Jars\imagepipeline-okhttp3-1.14.0.aar" />
</ItemGroup>
<ItemGroup>
<TransformFile Include="Transforms\Metadata.xml" />
Expand All @@ -63,6 +57,10 @@
<Project>{848ee635-2546-44e5-9c31-7cd371a1cec2}</Project>
<Name>Fresco.Core</Name>
</ProjectReference>
<ProjectReference Include="..\Fresco.ImagePipeline.Base\Fresco.ImagePipeline.Base.csproj">
<Project>{613a5c51-590f-428d-ac85-a0bdc4bf5e5e}</Project>
<Name>Fresco.ImagePipeline.Base</Name>
</ProjectReference>
<ProjectReference Include="..\Fresco.ImagePipeline\Fresco.ImagePipeline.csproj">
<Project>{b7caa5c0-4cfb-4ba7-9498-8ab47a5d8dc3}</Project>
<Name>Fresco.ImagePipeline</Name>
Expand Down
Binary file not shown.
Binary file not shown.
7 changes: 7 additions & 0 deletions Fresco.ImagePipeline/Additions/Additions.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/*namespace Com.Facebook.Imagepipeline.Memory {
partial class LruBucketsPoolBackendInvoker {
int global::Com.Facebook.Imagepipeline.Memory.IPoolBackend.GetSize(global::Java.Lang.Object item) {
return 2048;
}
}
}*/
11 changes: 7 additions & 4 deletions Fresco.ImagePipeline/Fresco.ImagePipeline.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
<AssemblyName>Fresco.ImagePipeline</AssemblyName>
<FileAlignment>512</FileAlignment>
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v7.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v11.0</TargetFrameworkVersion>
<AndroidCodegenTarget>XamarinAndroid</AndroidCodegenTarget>
<AndroidClassParser>class-parse</AndroidClassParser>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand All @@ -38,11 +40,9 @@
<Reference Include="System.Core" />
</ItemGroup>
<ItemGroup>
<Compile Include="Additions\Additions.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<LibraryProjectZip Include="Jars\imagepipeline-1.8.1.aar" />
</ItemGroup>
<ItemGroup>
<TransformFile Include="Transforms\Metadata.xml" />
</ItemGroup>
Expand All @@ -52,6 +52,9 @@
<Name>Fresco.ImagePipeline.Base</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<LibraryProjectZip Include="Jars\imagepipeline-1.14.0.aar" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.Bindings.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
Binary file not shown.
Binary file removed Fresco.ImagePipeline/Jars/imagepipeline-1.8.1.aar
Binary file not shown.
4 changes: 4 additions & 0 deletions Fresco.ImagePipeline/Transforms/Metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@
<remove-node path="/api/package[@name='com.facebook.imagepipeline.memory']" />
<remove-node path="/api/package[@name='com.facebook.imagepipeline.cache']" />
<remove-node path="/api/package[@name='com.facebook.imagepipeline.datasource']" />
<remove-node path="/api/package[@name='com.facebook.imagepipeline.debug']" />
<!-- <remove-node path="/api/package[@name='com.facebook.imagepipeline.memory']/interface[@name='PoolBackend']" />-->
<!-- <attr path="/api/package[@name='com.facebook.imagepipeline.memory']/interface[@name='PoolBackend']"
name="visibility">internal</attr>-->
</metadata>
Loading