mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 23:51:21 +02:00
Various fixes (#1030)
## Description Fixes several small issues throughout the app - Adds 1440p as a resolution option - Removes the delay when d-pad seeking on the seek bar & reduces it slightly when controls are hidden - Fixes padding one home customize pages - Adds a title to the search for dialog ### Related issues Fixes #1017 ### Testing Emulator mostly ## Screenshots N/A ## AI or LLM usage None
This commit is contained in:
parent
0004701296
commit
be90a42c57
11 changed files with 75 additions and 42 deletions
|
|
@ -0,0 +1,23 @@
|
|||
package com.github.damontecres.wholphin.test
|
||||
|
||||
import com.github.damontecres.wholphin.ui.util.StreamFormatting.resolutionString
|
||||
import org.junit.Assert
|
||||
import org.junit.Test
|
||||
|
||||
class FormattingTests {
|
||||
@Test
|
||||
fun testResolutionStrings() {
|
||||
Assert.assertEquals("4K", resolutionString(3840, 2160, false))
|
||||
Assert.assertEquals("1080p", resolutionString(1920, 1080, false))
|
||||
Assert.assertEquals("720p", resolutionString(1280, 720, false))
|
||||
Assert.assertEquals("480i", resolutionString(640, 480, true))
|
||||
|
||||
Assert.assertEquals("576p", resolutionString(1024, 576, false))
|
||||
Assert.assertEquals("576p", resolutionString(960, 576, false))
|
||||
|
||||
// 21:9
|
||||
Assert.assertEquals("1080p", resolutionString(1920, 822, false))
|
||||
|
||||
Assert.assertEquals("1440p", resolutionString(2560, 1440, false))
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue