From a1d713c589980eebc72553e1b3c2f9855d18cd40 Mon Sep 17 00:00:00 2001 From: mahdihijazi Date: Sun, 20 Aug 2017 15:49:39 +0200 Subject: [PATCH] [Android] Cleanup unused resources & code --- .../dolphinemu/dolphinemu/utils/Pixels.java | 28 --------------- .../src/main/res/drawable-hdpi/ic_cancel.png | Bin 220 -> 0 bytes .../src/main/res/drawable-hdpi/ic_date.png | Bin 726 -> 0 bytes .../src/main/res/drawable-hdpi/ic_drawer.png | Bin 108 -> 0 bytes .../main/res/drawable-hdpi/ic_menu_file.png | Bin 287 -> 0 bytes .../main/res/drawable-hdpi/ic_menu_folder.png | Bin 447 -> 0 bytes .../src/main/res/drawable-mdpi/ic_cancel.png | Bin 178 -> 0 bytes .../res/drawable-xhdpi/ic_action_overflow.png | Bin 144 -> 0 bytes .../src/main/res/drawable-xhdpi/ic_cancel.png | Bin 262 -> 0 bytes .../src/main/res/drawable-xhdpi/ic_date.png | Bin 934 -> 0 bytes .../src/main/res/drawable-xhdpi/ic_drawer.png | Bin 115 -> 0 bytes .../main/res/drawable-xhdpi/ic_menu_file.png | Bin 306 -> 0 bytes .../res/drawable-xhdpi/ic_menu_folder.png | Bin 555 -> 0 bytes .../drawable-xxhdpi/ic_action_overflow.png | Bin 157 -> 0 bytes .../main/res/drawable-xxhdpi/ic_cancel.png | Bin 350 -> 0 bytes .../src/main/res/drawable-xxhdpi/ic_date.png | Bin 1148 -> 0 bytes .../main/res/drawable-xxhdpi/ic_drawer.png | Bin 119 -> 0 bytes .../main/res/drawable-xxhdpi/ic_menu_file.png | Bin 229 -> 0 bytes .../res/drawable-xxhdpi/ic_menu_folder.png | Bin 429 -> 0 bytes .../main/res/drawable-xxxhdpi/ic_cancel.png | Bin 440 -> 0 bytes .../res/layout/fragment_input_gc_list.xml | 33 ------------------ .../res/transition/change_image_transform.xml | 4 --- .../app/src/main/res/values/dimens.xml | 8 ----- .../app/src/main/res/values/styles.xml | 15 -------- 24 files changed, 88 deletions(-) delete mode 100644 Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/Pixels.java delete mode 100644 Source/Android/app/src/main/res/drawable-hdpi/ic_cancel.png delete mode 100644 Source/Android/app/src/main/res/drawable-hdpi/ic_date.png delete mode 100644 Source/Android/app/src/main/res/drawable-hdpi/ic_drawer.png delete mode 100644 Source/Android/app/src/main/res/drawable-hdpi/ic_menu_file.png delete mode 100644 Source/Android/app/src/main/res/drawable-hdpi/ic_menu_folder.png delete mode 100644 Source/Android/app/src/main/res/drawable-mdpi/ic_cancel.png delete mode 100644 Source/Android/app/src/main/res/drawable-xhdpi/ic_action_overflow.png delete mode 100644 Source/Android/app/src/main/res/drawable-xhdpi/ic_cancel.png delete mode 100644 Source/Android/app/src/main/res/drawable-xhdpi/ic_date.png delete mode 100644 Source/Android/app/src/main/res/drawable-xhdpi/ic_drawer.png delete mode 100644 Source/Android/app/src/main/res/drawable-xhdpi/ic_menu_file.png delete mode 100644 Source/Android/app/src/main/res/drawable-xhdpi/ic_menu_folder.png delete mode 100644 Source/Android/app/src/main/res/drawable-xxhdpi/ic_action_overflow.png delete mode 100644 Source/Android/app/src/main/res/drawable-xxhdpi/ic_cancel.png delete mode 100644 Source/Android/app/src/main/res/drawable-xxhdpi/ic_date.png delete mode 100644 Source/Android/app/src/main/res/drawable-xxhdpi/ic_drawer.png delete mode 100644 Source/Android/app/src/main/res/drawable-xxhdpi/ic_menu_file.png delete mode 100644 Source/Android/app/src/main/res/drawable-xxhdpi/ic_menu_folder.png delete mode 100644 Source/Android/app/src/main/res/drawable-xxxhdpi/ic_cancel.png delete mode 100644 Source/Android/app/src/main/res/layout/fragment_input_gc_list.xml delete mode 100644 Source/Android/app/src/main/res/transition/change_image_transform.xml diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/Pixels.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/Pixels.java deleted file mode 100644 index 527badd090..0000000000 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/Pixels.java +++ /dev/null @@ -1,28 +0,0 @@ -package org.dolphinemu.dolphinemu.utils; - -import android.content.Context; -import android.content.res.Resources; -import android.util.DisplayMetrics; - -public final class Pixels -{ - private Pixels() - { - } - - public static float convertDpToPx(float original, Context context) - { - Resources resources = context.getResources(); - DisplayMetrics metrics = resources.getDisplayMetrics(); - - return original * metrics.density; - } - - public static float convertPxToDp(float original, Context context) - { - Resources resources = context.getResources(); - DisplayMetrics metrics = resources.getDisplayMetrics(); - - return original / metrics.density; - } -} diff --git a/Source/Android/app/src/main/res/drawable-hdpi/ic_cancel.png b/Source/Android/app/src/main/res/drawable-hdpi/ic_cancel.png deleted file mode 100644 index de2043e6e1ac9dea07635f63cb02bec9bd25f05d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 220 zcmV<203-j2P)p_D}(XyjAPs&oJq>-Fg=wLj}5^_!J*qWrNR+6yOx{xL0b=PyuhI zCr}mjl%I0Q(;3g$1APbWURe{_BS!C>F zi)=aqSn?|+wH;GRct7{SD#tAl9+{DXO8V*aRDxkxwF)FWJPiTN>XFA6*hj8eU{S9Y zMF;vzG&X~Jw;n?etQrLpd6nEeMe9*uvQdp(!Xe=ily@^sZvqqdDWb7NkKqel;E?PR zgy|E)RpJmGvXdaNK^HeUuEX60-S$; z6@-fd)j@409yzRS{%-{C8z4a|yxsuhNdS``=rM#P97hjd(xMd#QG`Eph(l%8qI?oP z=qQsOquVgOy$8?fI3FqH1RF@uG1(=>&2SU$vcV@RbewXY-UBwMQ}NmV`$=9co6QeS z`5o5g;gQWgjq8u;j}quHMRf#NKCxiaEVn@4;z@u!?TI$8Z;)(ir5s^vlkAeMO-MMj zqA|1znN6+LPVe?6u&5UaN=lG`g%3g%eq7|oHYM;1mP7p6<73KOw+0lSM84m&b*KEY zOST5+fpq1Z^6LwcK+x_YH62-BR)0)?!+X%}J~FSK_{f{*Txp$Vd3Kxf@m|+=&3o`c)N#>_jr4)k$e33sZV{r0j$Bq+vcmg_W%F@07*qo IM6N<$f}q`0LI3~& diff --git a/Source/Android/app/src/main/res/drawable-hdpi/ic_drawer.png b/Source/Android/app/src/main/res/drawable-hdpi/ic_drawer.png deleted file mode 100644 index 23b76c0f6f5fd31c655ef945da919dc5ae33951a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 108 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`Gj#-1*YAr*|tKmPx>_ceU0n~{_C z*I#ehEY`(h6METOS(|O-d(yT9a=RHz&DD`Oo3U7ofnmpYe)A>oOZ9=;89ZJ6T-G@y GGywn%*dS^E diff --git a/Source/Android/app/src/main/res/drawable-hdpi/ic_menu_file.png b/Source/Android/app/src/main/res/drawable-hdpi/ic_menu_file.png deleted file mode 100644 index 5cf2b19bd6eb575692d2e1f3de67cdfe6faee4bb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 287 zcmV+)0pR|LP)~Va8EX$%$BGwMi+QoK(;l#aml$DUEtH$PW z8P{Bvb;T{4-2hW1z$~wP^I6sxe{6LFOv-(TrsM`zb^S)`{53lY&9o7H%9b<=m l_F8P89hSr|lmG-!yCjcSi6P9Ck8}V4002ovPDHLkV1nKvb5;NV diff --git a/Source/Android/app/src/main/res/drawable-hdpi/ic_menu_folder.png b/Source/Android/app/src/main/res/drawable-hdpi/ic_menu_folder.png deleted file mode 100644 index 6b3042e829b681fb72bfbc7f2fb2792c75402bdd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 447 zcmV;w0YLtVP)ueY&T@%TG^OwWuDv9-a9A#@4i{Ti$n2VbN>pE z00}@x2GBP}gJ^`vzaPLFY;L5;W(~zu0Gqgvog#;TZYqEcgcvCc*+XfafJsDuoq&PQ z3CgGkWMT>Z7?49lX_O7Huu~M}*c&Ei225^qBSklJEM!b3z~Tm7s6`d3=2;C&WCDD4 zBWS^RM&#LWMl@g z0>Eb3NZkP619m$xz=4&Y(9sH6B+ z;MV?Mw-imzxBhH;*K^nQaJ!)WyjtdBsgF}sj$UzOT+Kcyr{S4GgzbdneJVUMC#A~D zE9zMME)~fywGleI-k~n!^ScMXR$mtkR$!L&v*DL~a(U%Wo=r_w&x}qyP54&y(U*lM cvpbLR{-%Z#Ir@wFfR14BboFyt=akR{0C>zqF8}}l diff --git a/Source/Android/app/src/main/res/drawable-xhdpi/ic_action_overflow.png b/Source/Android/app/src/main/res/drawable-xhdpi/ic_action_overflow.png deleted file mode 100644 index f9af37f87441e4a2f401e106078532dc90233ff3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 144 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I0wfs{c7_7Ua8DP#wWO>X z=Ch=w5(nmzv?m&vm!ug78f8d0pH%|@5+HAY5G~15z|#&1kOu%DXx;!PI*`YJryCMH zZy-p}yn!GQ${XPSE6y9>1kAqyc>g1EKC?CGiRNoHF(R6Wo7NN0qfP6H9RL6T diff --git a/Source/Android/app/src/main/res/drawable-xhdpi/ic_date.png b/Source/Android/app/src/main/res/drawable-xhdpi/ic_date.png deleted file mode 100644 index d1e4eeca9b019c8fd2846f3200e05b6166db2b55..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 934 zcmV;X16lluP)d*PEv|2tKarK>aE;$3ZY}q6V2OK?=OjW zY*l5IRaRLwRW|NJ1tB8LIK`8K{>=ywAw-oPeJQ89QxpC8nzs=_6w(Ggf6S$Aej4i# zOwlgB$52;3Jv~o#$OS70-vV#bBg$$F(p{*@){+xos^cYPt4`~-i}aIh?>>OMU&5z? zfZzxKOLB<#yEv8i?hypcj$P>(;Et<2j|fX+=VTKuql$>ntRV20Ngg9+AOPZexm=j0e{dN!+IJ3tNx&@CYtES5EdH% zYVH(k~LGZeFH#58-J|+;NGp8FYkIRA<}9DI9?`z zp;a1b8h}?2bsIp|ng`hbQvmim0Kih=ygr7f0I)uWT?L>zJ?Gqn{J|hPK_R|&iq1{^ zGr z29Qm{ia818eSq##c5{=^_zyyx?*kz|r$^}#EqS0^1K#i<*i?L+Cvy?Hs#h3nJM0EeG^N;E~^&HQg#<*sjRZfDyw7acbi!#(tNAi_y7O^07*qo IM6N<$f_@IT(EtDd diff --git a/Source/Android/app/src/main/res/drawable-xhdpi/ic_drawer.png b/Source/Android/app/src/main/res/drawable-xhdpi/ic_drawer.png deleted file mode 100644 index 18bbcccab30f37c3079ae6b5f912dc745928bfa3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 115 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnH3?%tPCZz)@&H$ef*Z=?jH#W5b(YYRTkZPuq zAirP+hO)_LEr2|6PZ!6K3dZCE%wdfT8+!r-5)N>;EsAA0aNATdOzN2_Pzi<Dnm{ Hr-UW|7>OSR diff --git a/Source/Android/app/src/main/res/drawable-xhdpi/ic_menu_file.png b/Source/Android/app/src/main/res/drawable-xhdpi/ic_menu_file.png deleted file mode 100644 index 23d43594b3d4ca2abc5bf2fc83f4b3d738826b01..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 306 zcmV-20nPr2P)`0#o$44H)?Y7+{-y_EL7pCL>-0N~p+Kv8RAMaucAVKmg~D z=P?*iI3Ll3e@GSDFDHdcYzm~@7GR4af00tg_$Gf*u!RAr@d!2kdN07*qoM6N<$ Ef^p1xW&i*H diff --git a/Source/Android/app/src/main/res/drawable-xhdpi/ic_menu_folder.png b/Source/Android/app/src/main/res/drawable-xhdpi/ic_menu_folder.png deleted file mode 100644 index 5417d1b10f13190ba2de92794f543701ad823475..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 555 zcmV+`0@VG9P)r%rVcQbO9WUMvI!Zl4lsoaco-RT zxJ50U0E38ydI2tXX`&Ng5V1rrz~UvXbpi}r_A`;`IX901Spu>k_<8h(HQ56kqN4Yn zb=d+euCtpxMeZ0gvIV3Wi=Y%jb#j2sQ`#eFMIU+;wVw3(tA2E%z6=m>jEV>j^O08y z`^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ic_menu_folder.png deleted file mode 100644 index f541fa544a565d3b302f1ea2536054e2d3681cf4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 429 zcmeAS@N?(olHy`uVBq!ia0vp^2_VeD3?#3*wSy$g0(?ST|NsBr1O`9>2!j~%X|vW= zpa!9mAirP+DPxATGc$cRNABlsSXS(y){`qxE5X3PDB|hj7*fIb_R97|1w#Sni^>}} z_wDW3 zew-JdgLw^o(NZAjbF#=hdN z0COm>OxA*qMpnaum5nNFQb!!ZnS*)efW&zW3!Hg$Obb>tDzTMyGjob$tZV0 e9OzZo|BO`{3Ac{8ygUsIJqAx#KbLh*2~7aO@TaQ) diff --git a/Source/Android/app/src/main/res/drawable-xxxhdpi/ic_cancel.png b/Source/Android/app/src/main/res/drawable-xxxhdpi/ic_cancel.png deleted file mode 100644 index a595593dc048aeae57a2254c1b3ea56e4956ccee..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 440 zcmeAS@N?(olHy`uVBq!ia0vp^2_VeE3?v1%WpM*3g8-ip*Z(8}zx6vDfO`2$g8YIR z%q>5D`e4C#oS*mDiJd!6FFv}5fq_xO)5S5Qg7NJ&bsv)e0oR8=xqUCztgtKTHW$&) zu#4<8_o!KMPkYaCZIiv - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Source/Android/app/src/main/res/transition/change_image_transform.xml b/Source/Android/app/src/main/res/transition/change_image_transform.xml deleted file mode 100644 index 3ee92bd7c4..0000000000 --- a/Source/Android/app/src/main/res/transition/change_image_transform.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/Source/Android/app/src/main/res/values/dimens.xml b/Source/Android/app/src/main/res/values/dimens.xml index ba98e10607..0798c90a96 100644 --- a/Source/Android/app/src/main/res/values/dimens.xml +++ b/Source/Android/app/src/main/res/values/dimens.xml @@ -1,19 +1,11 @@ 16dp - 16dp - 48dp 1dp 4dp - 16dp - 128dp - - 2dp 4dp - 8dp 12dp 16dp - 32dp diff --git a/Source/Android/app/src/main/res/values/styles.xml b/Source/Android/app/src/main/res/values/styles.xml index ae7a869223..1728bb8bcd 100644 --- a/Source/Android/app/src/main/res/values/styles.xml +++ b/Source/Android/app/src/main/res/values/styles.xml @@ -52,23 +52,8 @@ - - - - - -