This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data class State( | |
val outerIndex: Int, | |
val innerIndex: Int | |
) | |
class Vector2D(private val vec: Array<IntArray>) { | |
var outerIndex = 0 | |
var innerIndex = 0 | |
fun next(): Int { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.annotation.SuppressLint | |
import android.content.Context | |
import android.graphics.* | |
import android.util.AttributeSet | |
import android.view.GestureDetector.SimpleOnGestureListener | |
import android.view.MotionEvent | |
import android.view.ScaleGestureDetector | |
import android.view.ScaleGestureDetector.OnScaleGestureListener | |
import android.view.ScaleGestureDetector.SimpleOnScaleGestureListener | |
import android.widget.FrameLayout |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<ripple xmlns:android="http://schemas.android.com/apk/res/android" | |
android:color="@color/colorControlHighlight"> | |
<item android:id="@android:id/mask"> | |
<shape android:shape="rectangle"> | |
<corners android:radius="@dimen/popup_corner_radius"/> | |
<solid android:color="@color/polaris_background"/> | |
</shape> | |
</item> | |
<item> |