Android: Remove unused files

This commit is contained in:
Ryan Meredith 2020-08-31 11:42:27 -04:00
parent 7d39ed9bcc
commit 05f3c4d579
8 changed files with 1 additions and 122 deletions

View File

@ -1,6 +0,0 @@
package org.dolphinemu.dolphinemu.ui.input.gamecube;
public class ControllerFragment
{
}

View File

@ -1,6 +0,0 @@
package org.dolphinemu.dolphinemu.ui.input.gamecube;
public class ControllerFragmentPresenter
{
}

View File

@ -1,6 +0,0 @@
package org.dolphinemu.dolphinemu.ui.input.gamecube;
public interface ControllerFragmentView
{
}

View File

@ -1,29 +0,0 @@
package org.dolphinemu.dolphinemu.utils;
import android.view.View;
import android.view.ViewPropertyAnimator;
public final class Animations
{
private Animations()
{
}
public static ViewPropertyAnimator fadeViewIn(View view)
{
view.setVisibility(View.VISIBLE);
return view.animate()
.withLayer()
.setDuration(100)
.alpha(1.0f);
}
public static ViewPropertyAnimator fadeViewOut(View view)
{
return view.animate()
.withLayer()
.setDuration(300)
.alpha(0.0f);
}
}

View File

@ -1,31 +0,0 @@
package org.dolphinemu.dolphinemu.viewholders;
import androidx.recyclerview.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import org.dolphinemu.dolphinemu.R;
/**
* A simple class that stores references to views so that the FileAdapter doesn't need to
* keep calling findViewById(), which is expensive.
*/
public class FileViewHolder extends RecyclerView.ViewHolder
{
public View itemView;
public TextView textFileName;
public ImageView imageType;
public FileViewHolder(View itemView)
{
super(itemView);
this.itemView = itemView;
textFileName = (TextView) itemView.findViewById(R.id.text_file_name);
imageType = (ImageView) itemView.findViewById(R.id.image_type);
}
}

View File

@ -1,8 +0,0 @@
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="?android:colorControlHighlight">
<item>
<shape android:shape="oval">
<solid android:color="@color/circle_grey"/>
</shape>
</item>
</ripple>

View File

@ -1,33 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="56dp"
android:background="?android:attr/selectableItemBackground"
android:focusable="true"
android:clickable="true"
android:orientation="horizontal">
<ImageView
android:id="@+id/image_type"
android:layout_width="32dp"
android:layout_height="32dp"
android:layout_gravity="center_vertical"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:background="@drawable/oval_ripple_grey"
android:padding="4dp"
tools:src="@drawable/ic_wii"/>
<TextView
android:id="@+id/text_file_name"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="16dp"
android:layout_marginRight="16dp"
android:layout_weight="1"
android:textSize="16sp"
tools:text="File Name"/>
</LinearLayout>

View File

@ -9,8 +9,6 @@
<color name="dolphin_accent_wiiware">#2979ff</color> <color name="dolphin_accent_wiiware">#2979ff</color>
<color name="dolphin_accent_gamecube">#651fff</color> <color name="dolphin_accent_gamecube">#651fff</color>
<color name="circle_grey">#bdbdbd</color>
<color name="tv_card_unselected">#444444</color> <color name="tv_card_unselected">#444444</color>
</resources> </resources>