Skip to content

Commit e576b94

Browse files
author
Ven
committed
feat: 集成opencv
1 parent 236459d commit e576b94

File tree

1,051 files changed

+841243
-69
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,051 files changed

+841243
-69
lines changed

assists/src/main/java/com/ven/assists/Assists.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ object Assists {
8282
}
8383

8484
/**
85-
* 在当前元素范围下,通过文本查找所有符合条件元素
85+
* 通过文本查找所有符合条件元素
8686
*/
8787
fun findByText(text: String): List<AccessibilityNodeInfo> {
8888
return service?.rootInActiveWindow?.findByText(text) ?: arrayListOf()
@@ -140,7 +140,7 @@ object Assists {
140140
}
141141

142142
/**
143-
* 获取指定元素下所有子元素
143+
* 获取当前元素下所有子元素
144144
*/
145145
fun AccessibilityNodeInfo.getNodes(): ArrayList<AccessibilityNodeInfo> {
146146
val nodeList = arrayListOf<AccessibilityNodeInfo>()
@@ -320,7 +320,7 @@ object Assists {
320320
}
321321

322322
/**
323-
* 粘贴文本
323+
* 粘贴文本到当前元素
324324
*/
325325
fun AccessibilityNodeInfo.paste(text: String?) {
326326
service?.let {

assists/src/main/java/com/ven/assists/stepper/StepManager.kt

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,6 @@ object StepManager {
2020
}
2121
}
2222

23-
/**
24-
* 开始执行,仅用于开始位置执行,如果执行过程调用会导致步骤无法停止
25-
* @param stepImpl 执行的业务实现类
26-
* @param step 步骤序号
27-
* @param delay 步骤执行延迟时间,默认[Assists.Config.defaultStepDelay]
28-
*/
29-
private fun <T : StepImpl> beginExecute(stepImpl: Class<T>, step: Int, delay: Long = DEFAULT_STEP_DELAY, data: StepData? = null): StepManager {
30-
isStop = false
31-
execute(stepImpl, step, delay, data)
32-
return this
33-
}
34-
3523
/**
3624
* 执行步骤
3725
* @param stepImpl 执行的业务实现类

gradle.properties

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
1-
# Version
2-
GROUP_ID=com.ven.assist
3-
# ARTIFACT_ID=jitpack # config in your module
4-
VERSION=0.0.3-beta01
5-
# Project-wide Gradle settings.
6-
# IDE (e.g. Android Studio) users:
7-
# Gradle settings configured through the IDE *will override*
8-
# any settings specified in this file.
9-
# For more details on how to configure your build environment visit
1+
## For more details on how to configure your build environment visit
102
# http://www.gradle.org/docs/current/userguide/build_environment.html
3+
#
114
# Specifies the JVM arguments used for the daemon process.
125
# The setting is particularly useful for tweaking memory settings.
13-
android.enableJetifier=true
14-
android.useAndroidX=true
15-
org.gradle.jvmargs=-Xmx1536m
6+
# Default value: -Xmx1024m -XX:MaxPermSize=256m
7+
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
8+
#
169
# When configured, Gradle will run in incubating parallel mode.
17-
# This option should only be used with decoupled projects. More details, visit
18-
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
10+
# This option should only be used with decoupled projects. For more details, visit
11+
# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects
1912
# org.gradle.parallel=true
20-
21-
13+
#Thu May 02 19:24:42 CST 2024
14+
GROUP_ID=com.ven.assist
15+
VERSION=0.0.3-beta01
16+
android.enableJetifier=true
17+
android.useAndroidX=true
18+
org.gradle.jvmargs=-Xmx2048M -Dkotlin.daemon.jvm.options\="-Xmx2048M"

opencv-sdk/.cxx/Debug/146m3n1y/arm64-v8a/.cmake/api/v1/query/client-agp/cache-v2

Whitespace-only changes.

opencv-sdk/.cxx/Debug/146m3n1y/arm64-v8a/.cmake/api/v1/query/client-agp/cmakeFiles-v1

Whitespace-only changes.

opencv-sdk/.cxx/Debug/146m3n1y/arm64-v8a/.cmake/api/v1/query/client-agp/codemodel-v2

Whitespace-only changes.

0 commit comments

Comments
 (0)