rename from Pixiview to Gallery

This commit is contained in:
Tsanie 2021-08-03 19:16:54 +08:00
parent 98676ce8b2
commit c41282a4b7
206 changed files with 7900 additions and 7891 deletions

View File

@ -1,12 +1,12 @@
using Pixiview.Droid.Effects;
using Pixiview.Utils;
using Gallery.Droid.Effects;
using Gallery.Utils;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
using static Android.Views.View;
[assembly: ResolutionGroupName("Pixiview")]
[assembly: ResolutionGroupName("Gallery")]
[assembly: ExportEffect(typeof(LongPressEffectImplement), "LongPressEffect")]
namespace Pixiview.Droid.Effects
namespace Gallery.Droid.Effects
{
public class LongPressEffectImplement : PlatformEffect
{

View File

@ -7,8 +7,8 @@
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<TemplateGuid>{c9e5eea5-ca05-42a1-839b-61506e0a37df}</TemplateGuid>
<OutputType>Library</OutputType>
<RootNamespace>Pixiview.Droid</RootNamespace>
<AssemblyName>Pixiview.Android</AssemblyName>
<RootNamespace>Gallery.Droid</RootNamespace>
<AssemblyName>Gallery.Android</AssemblyName>
<Deterministic>True</Deterministic>
<AndroidApplication>True</AndroidApplication>
<AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
@ -289,6 +289,6 @@
<AndroidAsset Include="Assets\fa-regular-400.ttf" />
<AndroidAsset Include="Assets\fa-solid-900.ttf" />
</ItemGroup>
<Import Project="..\Pixiview\Pixiview.projitems" Label="Shared" Condition="Exists('..\Pixiview\Pixiview.projitems')" />
<Import Project="..\Gallery\Gallery.projitems" Label="Shared" Condition="Exists('..\Gallery\Gallery.projitems')" />
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
</Project>

View File

@ -3,9 +3,9 @@ using Android.Content.PM;
using Android.OS;
using Android.Runtime;
namespace Pixiview.Droid
namespace Gallery.Droid
{
[Activity(Label = "Pixiview", Icon = "@mipmap/icon", Theme = "@style/MainTheme", ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
[Activity(Label = "Gallery", Icon = "@mipmap/icon", Theme = "@style/MainTheme", ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
public class MainActivity : Xamarin.Forms.Platform.Android.FormsAppCompatActivity
{
public static MainActivity Main { get; private set; }

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.0.927" package="org.tsanie.pixiview" android:versionCode="25">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.0.927" package="org.tsanie.gallery" android:versionCode="25">
<uses-sdk android:minSdkVersion="25" android:targetSdkVersion="30" />
<application android:label="Pixiview" android:icon="@mipmap/icon" android:roundIcon="@mipmap/icon_round"></application>
<application android:label="Gallery" android:icon="@mipmap/icon" android:roundIcon="@mipmap/icon_round"></application>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</manifest>

View File

@ -6,12 +6,12 @@ using Android.App;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Pixiview.Android")]
[assembly: AssemblyTitle("Gallery.Android")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Pixiview.Android")]
[assembly: AssemblyCopyright("Copyright © 2014")]
[assembly: AssemblyProduct("Gallery.Android")]
[assembly: AssemblyCopyright("Copyright © Tsanie.Org 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]

View File

@ -1,11 +1,11 @@
using Android.Content;
using Pixiview.Droid.Renderers;
using Pixiview.UI;
using Gallery.Droid.Renderers;
using Gallery.UI;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
[assembly: ExportRenderer(typeof(AdaptedPage), typeof(AdaptedPageRenderer))]
namespace Pixiview.Droid.Renderers
namespace Gallery.Droid.Renderers
{
public class AdaptedPageRenderer : PageRenderer
{

View File

@ -1,11 +1,11 @@
using Android.Content;
using Pixiview.Droid.Renderers;
using Pixiview.Droid.Renderers.AppShellSection;
using Gallery.Droid.Renderers;
using Gallery.Droid.Renderers.AppShellSection;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
[assembly: ExportRenderer(typeof(Shell), typeof(AppShellRenderer))]
namespace Pixiview.Droid.Renderers
namespace Gallery.Droid.Renderers
{
public class AppShellRenderer : ShellRenderer
{

View File

@ -4,7 +4,7 @@ using Android.Graphics.Drawables;
using System;
using AColor = Android.Graphics.Color;
namespace Pixiview.Droid.Renderers.AppShellSection
namespace Gallery.Droid.Renderers.AppShellSection
{
public class AppColorChangeRevealDrawable : AnimationDrawable
{

View File

@ -13,7 +13,7 @@ using Xamarin.Forms.Platform.Android;
using AColor = Android.Graphics.Color;
using R = Android.Resource;
namespace Pixiview.Droid.Renderers.AppShellSection
namespace Gallery.Droid.Renderers.AppShellSection
{
public class AppShellBottomNavViewAppearanceTracker : IShellBottomNavViewAppearanceTracker
{

View File

@ -1,11 +1,11 @@
using Android.Content;
using Pixiview.Droid.Renderers;
using Pixiview.UI;
using Gallery.Droid.Renderers;
using Gallery.UI;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
[assembly: ExportRenderer(typeof(BlurryPanel), typeof(BlurryPanelRenderer))]
namespace Pixiview.Droid.Renderers
namespace Gallery.Droid.Renderers
{
public class BlurryPanelRenderer : ViewRenderer
{

View File

@ -2,13 +2,13 @@
using Android.Content;
using Android.Graphics;
using Android.Views;
using Pixiview.Droid.Renderers;
using Pixiview.UI;
using Gallery.Droid.Renderers;
using Gallery.UI;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
[assembly: ExportRenderer(typeof(CardView), typeof(CardViewRenderer))]
namespace Pixiview.Droid.Renderers
namespace Gallery.Droid.Renderers
{
public class CardViewRenderer : VisualElementRenderer<CardView>
{

View File

@ -1,13 +1,13 @@
using System;
using System;
using Android.Content;
using Android.Graphics;
using Android.Graphics.Drawables;
using Pixiview.Droid.Renderers;
using Pixiview.UI;
using Gallery.Droid.Renderers;
using Gallery.UI;
using Xamarin.Forms;
[assembly: ExportRenderer(typeof(CircleImage), typeof(CircleImageRenderer))]
namespace Pixiview.Droid.Renderers
namespace Gallery.Droid.Renderers
{
public class CircleImageRenderer : Xamarin.Forms.Platform.Android.FastRenderers.ImageRenderer
{

View File

@ -1,13 +1,13 @@
using Android.Content;
using Android.Webkit;
using Pixiview.Droid.Renderers;
using Pixiview.Login;
using Pixiview.Utils;
using Gallery.Droid.Renderers;
using Gallery.Login;
using Gallery.Utils;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
[assembly: ExportRenderer(typeof(HybridWebView), typeof(HybridWebViewRenderer))]
namespace Pixiview.Droid.Renderers
namespace Gallery.Droid.Renderers
{
public class HybridWebViewRenderer : WebViewRenderer
{

View File

@ -1,12 +1,12 @@
using Android.Content;
using Android.Graphics.Drawables;
using Pixiview.Droid.Renderers;
using Pixiview.UI;
using Gallery.Droid.Renderers;
using Gallery.UI;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
[assembly: ExportRenderer(typeof(OptionEntry), typeof(OptionEntryRenderer))]
namespace Pixiview.Droid.Renderers
namespace Gallery.Droid.Renderers
{
public class OptionEntryRenderer : EntryRenderer
{

View File

@ -1,12 +1,12 @@
using Android.Content;
using Android.Graphics.Drawables;
using Pixiview.Droid.Renderers;
using Pixiview.UI;
using Gallery.Droid.Renderers;
using Gallery.UI;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
[assembly: ExportRenderer(typeof(OptionPicker), typeof(OptionPickerRenderer))]
namespace Pixiview.Droid.Renderers
namespace Gallery.Droid.Renderers
{
public class OptionPickerRenderer : PickerRenderer
{

View File

@ -1,11 +1,11 @@
using Android.Content;
using Android.Graphics;
using Pixiview.Droid.Renderers;
using Pixiview.UI;
using Gallery.Droid.Renderers;
using Gallery.UI;
using Xamarin.Forms;
[assembly: ExportRenderer(typeof(RoundImage), typeof(RoundImageRenderer))]
namespace Pixiview.Droid.Renderers
namespace Gallery.Droid.Renderers
{
public class RoundImageRenderer : Xamarin.Forms.Platform.Android.FastRenderers.ImageRenderer
{

View File

@ -1,13 +1,13 @@
using Android.Content;
using Android.Graphics;
using Android.Graphics.Drawables;
using Pixiview.Droid.Renderers;
using Pixiview.UI;
using Gallery.Droid.Renderers;
using Gallery.UI;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
[assembly: ExportRenderer(typeof(RoundLabel), typeof(RoundLabelRenderer))]
namespace Pixiview.Droid.Renderers
namespace Gallery.Droid.Renderers
{
public class RoundLabelRenderer : Xamarin.Forms.Platform.Android.FastRenderers.LabelRenderer
{

View File

@ -3,8 +3,8 @@ using Android.Widget;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
[assembly: ExportRenderer(typeof(SearchBar), typeof(Pixiview.Droid.Renderers.SearchBarRenderer))]
namespace Pixiview.Droid.Renderers
[assembly: ExportRenderer(typeof(SearchBar), typeof(Gallery.Droid.Renderers.SearchBarRenderer))]
namespace Gallery.Droid.Renderers
{
public class SearchBarRenderer : Xamarin.Forms.Platform.Android.SearchBarRenderer
{

View File

@ -2,12 +2,12 @@
using Android.Graphics.Drawables;
using Android.Views;
using Android.Widget;
using Pixiview.Droid.Renderers;
using Pixiview.UI;
using Gallery.Droid.Renderers;
using Gallery.UI;
using Xamarin.Forms.Platform.Android;
[assembly: Xamarin.Forms.ExportRenderer(typeof(SegmentedControl), typeof(SegmentedControlRenderer))]
namespace Pixiview.Droid.Renderers
namespace Gallery.Droid.Renderers
{
public class SegmentedControlRenderer : ViewRenderer<SegmentedControl, RadioGroup>
{

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

View File

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View File

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -1,16 +1,16 @@
using System.Threading.Tasks;
using System.Threading.Tasks;
using Android.App;
using Android.Content;
using Android.OS;
using AndroidX.AppCompat.App;
namespace Pixiview.Droid
namespace Gallery.Droid
{
[Activity(
MainLauncher = true,
NoHistory = true,
Theme = "@style/MainTheme.Splash",
Name = "org.tsanie.pixiview.SplashScreen")]
Name = "org.tsanie.gallery.SplashScreen")]
//[MetaData("android.app.shortcuts", Resource = "@xml/shortcuts")]
public class SplashActivity : AppCompatActivity
{

View File

@ -6,8 +6,8 @@
<ProjectGuid>{618D8350-495C-42D0-9DAC-87ADD36AC727}</ProjectGuid>
<ProjectTypeGuids>{EE2C853D-36AF-4FDB-B1AD-8E90477E2198};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<RootNamespace>Pixiview.iOS.OpenExtension</RootNamespace>
<AssemblyName>Pixiview.iOS.OpenExtension</AssemblyName>
<RootNamespace>Gallery.iOS.OpenExtension</RootNamespace>
<AssemblyName>Gallery.iOS.OpenExtension</AssemblyName>
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
@ -18,7 +18,7 @@
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodesignKey>iPhone Developer</CodesignKey>
<CodesignKey>Apple Development: Li Chen (5559SN7Z38)</CodesignKey>
<MtouchDebug>true</MtouchDebug>
<MtouchNoSymbolStrip>true</MtouchNoSymbolStrip>
<MtouchFastDev>true</MtouchFastDev>
@ -36,13 +36,14 @@
<DefineConstants></DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodesignKey>iPhone Developer</CodesignKey>
<CodesignKey>Apple Distribution: Li Chen (7HSM5CKPJ2)</CodesignKey>
<MtouchUseLlvm>true</MtouchUseLlvm>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
<MtouchLink>SdkOnly</MtouchLink>
<MtouchArch>ARM64</MtouchArch>
<MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler>
<MtouchVerbosity></MtouchVerbosity>
<CodesignProvision>Gallery.Extensions.Ad-Hoc</CodesignProvision>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
<DebugType>pdbonly</DebugType>
@ -51,12 +52,13 @@
<DefineConstants></DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodesignKey>iPhone Developer</CodesignKey>
<CodesignKey>Apple Distribution: Li Chen (7HSM5CKPJ2)</CodesignKey>
<MtouchNoSymbolStrip>true</MtouchNoSymbolStrip>
<MtouchLink>None</MtouchLink>
<MtouchArch>x86_64</MtouchArch>
<MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler>
<MtouchVerbosity></MtouchVerbosity>
<CodesignProvision>Gallery.Extensions.Ad-Hoc</CodesignProvision>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' ">
<DebugSymbols>true</DebugSymbols>
@ -66,7 +68,7 @@
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodesignKey>iPhone Developer</CodesignKey>
<CodesignKey>Apple Development: Li Chen (5559SN7Z38)</CodesignKey>
<DeviceSpecificBuild>true</DeviceSpecificBuild>
<MtouchDebug>true</MtouchDebug>
<MtouchNoSymbolStrip>true</MtouchNoSymbolStrip>

View File

@ -3,11 +3,11 @@
<plist version="1.0">
<dict>
<key>CFBundleDisplayName</key>
<string>Pixiview.iOS.OpenExtension</string>
<string>Gallery.iOS.OpenExtension</string>
<key>CFBundleName</key>
<string>Pixiview.iOS.OpenExtension</string>
<string>Gallery.iOS.OpenExtension</string>
<key>CFBundleIdentifier</key>
<string>org.tsanie.Pixiview.OpenExtension</string>
<string>org.tsanie.gallery.OpenExtension</string>
<key>CFBundleDevelopmentRegion</key>
<string>China</string>
<key>CFBundleInfoDictionaryVersion</key>
@ -29,8 +29,8 @@
<string>com.apple.share-services</string>
</dict>
<key>CFBundleShortVersionString</key>
<string>1.3.802</string>
<string>2.0.803</string>
<key>CFBundleVersion</key>
<string>32</string>
<string>33</string>
</dict>
</plist>

View File

@ -2,7 +2,7 @@
using MobileCoreServices;
using UIKit;
namespace Pixiview.iOS.OpenExtension
namespace Gallery.iOS.OpenExtension
{
[Register("OpenExtensionHandler")]
public class OpenExtensionHandler : NSExtensionRequestHandling
@ -23,7 +23,7 @@ namespace Pixiview.iOS.OpenExtension
var url = obj as NSUrl;
if (url != null)
{
var uri = NSUrl.FromString($"pixiview://open{url.Path}");
var uri = NSUrl.FromString($"gallery://open{url.Path}");
System.Diagnostics.Debug.WriteLine($"open url: {uri}");
BeginInvokeOnMainThread(() => UIApplication.SharedApplication.OpenUrl(uri));
}

View File

@ -1,7 +1,7 @@
using Foundation;
using UIKit;
namespace Pixiview.iOS
namespace Gallery.iOS
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening (and optionally responding) to

View File

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 44 KiB

View File

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

View File

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

Before

Width:  |  Height:  |  Size: 244 B

After

Width:  |  Height:  |  Size: 244 B

View File

Before

Width:  |  Height:  |  Size: 339 B

After

Width:  |  Height:  |  Size: 339 B

View File

Before

Width:  |  Height:  |  Size: 458 B

After

Width:  |  Height:  |  Size: 458 B

Some files were not shown because too many files have changed in this diff Show More