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
| package is.shortcut; | |
| import android.content.Context; | |
| import android.content.res.Resources; | |
| import android.content.res.XmlResourceParser; | |
| import android.util.AttributeSet; | |
| import android.util.Xml; | |
| import android.view.*; | |
| import android.widget.*; | |
| public final class CompiledView { |
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 java.io.*; | |
| import java.util.*; | |
| public class CompareDumpsysMeminfo { | |
| public static void main(String[] args) throws IOException { | |
| // 解析命令行参数 | |
| if (args.length != 3) { | |
| printHelp(); | |
| return; | |
| } |
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
| @Composable | |
| fun ParallaxScreen(modifier: Modifier = Modifier) { | |
| val context = LocalContext.current | |
| val scope = rememberCoroutineScope() | |
| var data by remember { mutableStateOf<SensorData?>(null) } | |
| DisposableEffect(Unit) { | |
| val dataManager = SensorDataManager(context) | |
| dataManager.init() |