rename Pixiview from Gallery

This commit is contained in:
Tsanie 2021-08-05 10:34:39 +08:00
parent c60e3a6445
commit 2985fdb654
206 changed files with 7847 additions and 7847 deletions

View File

@ -1,12 +1,12 @@
using Gallery.Droid.Effects;
using Gallery.Utils;
using Pixiview.Droid.Effects;
using Pixiview.Utils;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
using static Android.Views.View;
[assembly: ResolutionGroupName("Gallery")]
[assembly: ResolutionGroupName("Pixiview")]
[assembly: ExportEffect(typeof(LongPressEffectImplement), "LongPressEffect")]
namespace Gallery.Droid.Effects
namespace Pixiview.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>Gallery.Droid</RootNamespace>
<AssemblyName>Gallery.Android</AssemblyName>
<RootNamespace>Pixiview.Droid</RootNamespace>
<AssemblyName>Pixiview.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="..\Gallery\Gallery.projitems" Label="Shared" Condition="Exists('..\Gallery\Gallery.projitems')" />
<Import Project="..\Pixiview\Pixiview.projitems" Label="Shared" Condition="Exists('..\Pixiview\Pixiview.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 Gallery.Droid
namespace Pixiview.Droid
{
[Activity(Label = "Gallery", Icon = "@mipmap/icon", Theme = "@style/MainTheme", ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
[Activity(Label = "Pixiview", 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.gallery" android:versionCode="25">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="1.0.927" package="org.tsanie.pixiview" android:versionCode="25">
<uses-sdk android:minSdkVersion="25" android:targetSdkVersion="30" />
<application android:label="Gallery" android:icon="@mipmap/icon" android:roundIcon="@mipmap/icon_round"></application>
<application android:label="Pixiview" android:icon="@mipmap/icon" android:roundIcon="@mipmap/icon_round"></application>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</manifest>

View File

@ -6,11 +6,11 @@ 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("Gallery.Android")]
[assembly: AssemblyTitle("Pixiview.Android")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Gallery.Android")]
[assembly: AssemblyProduct("Pixiview.Android")]
[assembly: AssemblyCopyright("Copyright © Tsanie.Org 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

View File

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

View File

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

View File

@ -4,7 +4,7 @@ using Android.Graphics.Drawables;
using System;
using AColor = Android.Graphics.Color;
namespace Gallery.Droid.Renderers.AppShellSection
namespace Pixiview.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 Gallery.Droid.Renderers.AppShellSection
namespace Pixiview.Droid.Renderers.AppShellSection
{
public class AppShellBottomNavViewAppearanceTracker : IShellBottomNavViewAppearanceTracker
{

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,11 +1,11 @@
using Android.Content;
using Android.Graphics;
using Gallery.Droid.Renderers;
using Gallery.UI;
using Pixiview.Droid.Renderers;
using Pixiview.UI;
using Xamarin.Forms;
[assembly: ExportRenderer(typeof(RoundImage), typeof(RoundImageRenderer))]
namespace Gallery.Droid.Renderers
namespace Pixiview.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 Gallery.Droid.Renderers;
using Gallery.UI;
using Pixiview.Droid.Renderers;
using Pixiview.UI;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
[assembly: ExportRenderer(typeof(RoundLabel), typeof(RoundLabelRenderer))]
namespace Gallery.Droid.Renderers
namespace Pixiview.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(Gallery.Droid.Renderers.SearchBarRenderer))]
namespace Gallery.Droid.Renderers
[assembly: ExportRenderer(typeof(SearchBar), typeof(Pixiview.Droid.Renderers.SearchBarRenderer))]
namespace Pixiview.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 Gallery.Droid.Renderers;
using Gallery.UI;
using Pixiview.Droid.Renderers;
using Pixiview.UI;
using Xamarin.Forms.Platform.Android;
[assembly: Xamarin.Forms.ExportRenderer(typeof(SegmentedControl), typeof(SegmentedControlRenderer))]
namespace Gallery.Droid.Renderers
namespace Pixiview.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

@ -4,13 +4,13 @@ using Android.Content;
using Android.OS;
using AndroidX.AppCompat.App;
namespace Gallery.Droid
namespace Pixiview.Droid
{
[Activity(
MainLauncher = true,
NoHistory = true,
Theme = "@style/MainTheme.Splash",
Name = "org.tsanie.gallery.SplashScreen")]
Name = "org.tsanie.pixiview.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>Gallery.iOS.OpenExtension</RootNamespace>
<AssemblyName>Gallery.iOS.OpenExtension</AssemblyName>
<RootNamespace>Pixiview.iOS.OpenExtension</RootNamespace>
<AssemblyName>Pixiview.iOS.OpenExtension</AssemblyName>
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
@ -28,7 +28,7 @@
<MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler>
<DeviceSpecificBuild>false</DeviceSpecificBuild>
<MtouchVerbosity></MtouchVerbosity>
<CodesignProvision>Gallery.Extensions.Ad-Hoc</CodesignProvision>
<CodesignProvision>Pixiview.Extensions.Ad-Hoc</CodesignProvision>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
<DebugType>pdbonly</DebugType>
@ -44,7 +44,7 @@
<MtouchArch>ARM64</MtouchArch>
<MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler>
<MtouchVerbosity></MtouchVerbosity>
<CodesignProvision>Gallery.Extensions.Ad-Hoc</CodesignProvision>
<CodesignProvision>Pixiview.Extensions.Ad-Hoc</CodesignProvision>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
<DebugType>pdbonly</DebugType>
@ -59,7 +59,7 @@
<MtouchArch>x86_64</MtouchArch>
<MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler>
<MtouchVerbosity></MtouchVerbosity>
<CodesignProvision>Gallery.Extensions.Ad-Hoc</CodesignProvision>
<CodesignProvision>Pixiview.Extensions.Ad-Hoc</CodesignProvision>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' ">
<DebugSymbols>true</DebugSymbols>
@ -81,7 +81,7 @@
<MtouchArch>ARM64</MtouchArch>
<MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler>
<MtouchVerbosity></MtouchVerbosity>
<CodesignProvision>Gallery.Extensions.Ad-Hoc</CodesignProvision>
<CodesignProvision>Pixiview.Extensions.Ad-Hoc</CodesignProvision>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />

View File

@ -3,11 +3,11 @@
<plist version="1.0">
<dict>
<key>CFBundleDisplayName</key>
<string>Gallery.iOS.OpenExtension</string>
<string>Pixiview.iOS.OpenExtension</string>
<key>CFBundleName</key>
<string>Gallery.iOS.OpenExtension</string>
<string>Pixiview.iOS.OpenExtension</string>
<key>CFBundleIdentifier</key>
<string>org.tsanie.gallery.OpenExtension</string>
<string>org.tsanie.pixiview.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>2.1.804</string>
<string>2.1.805</string>
<key>CFBundleVersion</key>
<string>34</string>
<string>35</string>
</dict>
</plist>

View File

@ -2,7 +2,7 @@
using MobileCoreServices;
using UIKit;
namespace Gallery.iOS.OpenExtension
namespace Pixiview.iOS.OpenExtension
{
[Register("OpenExtensionHandler")]
public class OpenExtensionHandler : NSExtensionRequestHandling
@ -23,7 +23,7 @@ namespace Gallery.iOS.OpenExtension
var url = obj as NSUrl;
if (url != null)
{
var uri = NSUrl.FromString($"gallery://open{url.Path}");
var uri = NSUrl.FromString($"pixiview://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 Gallery.iOS
namespace Pixiview.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