Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
P
PDF Reader 2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wanglei
PDF Reader 2
Commits
45ca7619
Commit
45ca7619
authored
Oct 30, 2024
by
wanglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
...手动混淆...
parent
a704ab62
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
14 additions
and
14 deletions
+14
-14
NotificationUiUtil.kt
...c/main/java/com/base/pdfreader2/fcm/NotificationUiUtil.kt
+8
-8
ySADSDficationService.kt
...java/com/base/pdfreader2/service/ySADSDficationService.kt
+2
-2
ResuASAltActivity.kt
...n/java/com/base/pdfreader2/ui/result/ResuASAltActivity.kt
+1
-1
AinDialog.kt
app/src/main/java/com/base/pdfreader2/ui/view/AinDialog.kt
+1
-1
VSSeekBar.kt
app/src/main/java/com/base/pdfreader2/ui/view/VSSeekBar.kt
+1
-1
activity_esult_ba.xml
app/src/main/res/layout/activity_esult_ba.xml
+1
-1
layout_ggseekbar.xml
app/src/main/res/layout/layout_ggseekbar.xml
+0
-0
layout_ob_hhpp_yxit.xml
app/src/main/res/layout/layout_ob_hhpp_yxit.xml
+0
-0
nication_messkjhf.xml
app/src/main/res/layout/nication_messkjhf.xml
+0
-0
notcation_memgggory_bbll_1.xml
app/src/main/res/layout/notcation_memgggory_bbll_1.xml
+0
-0
notifi_juuunk_smkkall.xml
app/src/main/res/layout/notifi_juuunk_smkkall.xml
+0
-0
notifion_wer_binng.xml
app/src/main/res/layout/notifion_wer_binng.xml
+0
-0
notifon_jssunk_bhhig.xml
app/src/main/res/layout/notifon_jssunk_bhhig.xml
+0
-0
notpption_mory_bbbig.xml
app/src/main/res/layout/notpption_mory_bbbig.xml
+0
-0
notssation_weassther_smvvall.xml
app/src/main/res/layout/notssation_weassther_smvvall.xml
+0
-0
stccay_nficsation_sbig.xml
app/src/main/res/layout/stccay_nficsation_sbig.xml
+0
-0
No files found.
app/src/main/java/com/base/pdfreader2/fcm/NotificationUiUtil.kt
View file @
45ca7619
...
...
@@ -153,8 +153,8 @@ object NotificationUiUtil {
}
fun
setActionNotification
(
context
:
Context
,
actionId
:
String
)
{
val
bigRemoteViews
=
RemoteViews
(
AAication
.
context
.
packageName
,
R
.
layout
.
n
otification_message
)
val
smallRemoteViews
=
RemoteViews
(
AAication
.
context
.
packageName
,
R
.
layout
.
n
otification_message
)
val
bigRemoteViews
=
RemoteViews
(
AAication
.
context
.
packageName
,
R
.
layout
.
n
ication_messkjhf
)
val
smallRemoteViews
=
RemoteViews
(
AAication
.
context
.
packageName
,
R
.
layout
.
n
ication_messkjhf
)
val
intent
=
Intent
(
context
,
Spctivity
::
class
.
java
)
intent
.
putExtra
(
"actionId"
,
actionId
)
...
...
@@ -214,7 +214,7 @@ object NotificationUiUtil {
val
percent
=
(
pair
.
first
*
100
/
pair
.
second
).
toInt
()
val
desc
=
"Memory is $percent% used"
val
smallRemoteViewsVar
=
RemoteViews
(
context
.
packageName
,
R
.
layout
.
not
ification_memory_sma
ll_1
)
val
smallRemoteViewsVar
=
RemoteViews
(
context
.
packageName
,
R
.
layout
.
not
cation_memgggory_bb
ll_1
)
smallRemoteViewsVar
.
setProgressBar
(
R
.
id
.
progress_bar
,
percent
,
100
,
false
)
smallRemoteViewsVar
.
setTextViewText
(
R
.
id
.
tv_desc
,
desc
)
val
btnRequestCode
=
Random
.
nextInt
(
1000
)
...
...
@@ -223,7 +223,7 @@ object NotificationUiUtil {
PendingIntent
.
getActivity
(
context
,
btnRequestCode
,
intent
,
PendingIntent
.
FLAG_IMMUTABLE
)
)
val
bigRemoteViewsVar
=
RemoteViews
(
context
.
packageName
,
R
.
layout
.
not
ification_memory_
big
)
val
bigRemoteViewsVar
=
RemoteViews
(
context
.
packageName
,
R
.
layout
.
not
pption_mory_bb
big
)
sendCustomNotification
(
context
,
intent
,
bigRemoteViewsVar
,
smallRemoteViewsVar
)
}
...
...
@@ -233,10 +233,10 @@ object NotificationUiUtil {
if
(
size
==
0L
)
{
size
=
Random
.
nextLong
(
1024
*
5
,
1024
*
10
)
}
val
bigRemoteViewsVar
=
RemoteViews
(
context
.
packageName
,
R
.
layout
.
notif
ication_junk_b
ig
)
val
bigRemoteViewsVar
=
RemoteViews
(
context
.
packageName
,
R
.
layout
.
notif
on_jssunk_bhh
ig
)
bigRemoteViewsVar
.
setTextViewText
(
R
.
id
.
tv_size
,
size
.
toFormatSize
())
val
smallRemoteViewsVar
=
RemoteViews
(
context
.
packageName
,
R
.
layout
.
notifi
cation_junk_sm
all
)
val
smallRemoteViewsVar
=
RemoteViews
(
context
.
packageName
,
R
.
layout
.
notifi
_juuunk_smkk
all
)
smallRemoteViewsVar
.
setTextViewText
(
R
.
id
.
tv_size
,
size
.
toFormatSize
())
sendCustomNotification
(
context
,
intent
,
bigRemoteViewsVar
,
smallRemoteViewsVar
)
...
...
@@ -247,7 +247,7 @@ object NotificationUiUtil {
if
(
weatherBean
.
list
.
isEmpty
())
return
val
subBean
=
weatherBean
.
list
[
0
]
val
smallRemoteViewsVar
=
RemoteViews
(
context
.
packageName
,
R
.
layout
.
not
ification_weather_sm
all
)
val
smallRemoteViewsVar
=
RemoteViews
(
context
.
packageName
,
R
.
layout
.
not
ssation_weassther_smvv
all
)
smallRemoteViewsVar
.
setTextViewText
(
R
.
id
.
tv_city
,
weatherBean
.
city
)
val
min
=
subBean
.
tempMin
.
toInt
()
val
max
=
subBean
.
tempMax
.
toInt
()
...
...
@@ -265,7 +265,7 @@ object NotificationUiUtil {
smallRemoteViewsVar
.
setImageViewResource
(
R
.
id
.
iv_weather
,
icon
)
smallRemoteViewsVar
.
setTextViewText
(
R
.
id
.
tv_wendu_range
,
"$min℃/$max℃"
)
val
bigRemoteViewsVar
=
RemoteViews
(
context
.
packageName
,
R
.
layout
.
notifi
cation_weather_bi
g
)
val
bigRemoteViewsVar
=
RemoteViews
(
context
.
packageName
,
R
.
layout
.
notifi
on_wer_binn
g
)
bigRemoteViewsVar
.
setImageViewResource
(
R
.
id
.
iv_weather_11h
,
icon
)
bigRemoteViewsVar
.
setImageViewResource
(
R
.
id
.
iv_weather_14h
,
icon
)
bigRemoteViewsVar
.
setImageViewResource
(
R
.
id
.
iv_weather_17h
,
icon
)
...
...
app/src/main/java/com/base/pdfreader2/service/ySADSDficationService.kt
View file @
45ca7619
...
...
@@ -64,8 +64,8 @@ class ySADSDficationService : Service() {
val
channelName
=
"PDF Reader Foreground Service Channel"
val
channelId
=
"PDF_Reader_Service_Id"
val
contentView
=
RemoteViews
(
context
.
packageName
,
R
.
layout
.
st
ay_notification_
big
)
val
expendView
=
RemoteViews
(
context
.
packageName
,
R
.
layout
.
st
ay_notification_
big
)
val
contentView
=
RemoteViews
(
context
.
packageName
,
R
.
layout
.
st
ccay_nficsation_s
big
)
val
expendView
=
RemoteViews
(
context
.
packageName
,
R
.
layout
.
st
ccay_nficsation_s
big
)
val
requestCode1
=
Random
.
nextInt
(
1800
)
val
intent1
=
Intent
(
context
,
Spctivity
::
class
.
java
).
apply
{
...
...
app/src/main/java/com/base/pdfreader2/ui/result/ResuASAltActivity.kt
View file @
45ca7619
...
...
@@ -28,7 +28,7 @@ class ResuASAltActivity : ASctivity<ActivityEsultBaBinding>() {
BarASDSAD
.
setStatusBarLightMode
(
this
,
true
)
BarASDSAD
.
setStatusBarColor
(
this
,
Color
.
parseColor
(
"#00B7DD"
))
// binding.root.updatePadding(top = BarUtils.getStatusBarHeight())
AveUtils
.
showNativeAd
(
this
,
binding
.
flAd
,
R
.
layout
.
layout_
admob_app_e
xit
)
AveUtils
.
showNativeAd
(
this
,
binding
.
flAd
,
R
.
layout
.
layout_
ob_hhpp_y
xit
)
from
=
intent
.
extras
?.
getString
(
"from"
)
?:
""
...
...
app/src/main/java/com/base/pdfreader2/ui/view/AinDialog.kt
View file @
45ca7619
...
...
@@ -218,7 +218,7 @@ object AinDialog {
//展开
behavior
.
state
=
BottomSheetBehavior
.
STATE_EXPANDED
AveUtils
.
showNativeAd
(
this
,
binding
.
flAd
,
R
.
layout
.
layout_
admob_app_e
xit
)
AveUtils
.
showNativeAd
(
this
,
binding
.
flAd
,
R
.
layout
.
layout_
ob_hhpp_y
xit
)
binding
.
cardNo
.
setOnClickListener
{
finish
()
...
...
app/src/main/java/com/base/pdfreader2/ui/view/VSSeekBar.kt
View file @
45ca7619
...
...
@@ -203,7 +203,7 @@ class VSSeekBar : FrameLayout {
lateinit
var
maxPlaceholder
:
ImageView
lateinit
var
minPlaceholder
:
ImageView
private
fun
initAttributes
(
context
:
Context
,
attrs
:
AttributeSet
?)
{
val
view
=
inflate
(
context
,
R
.
layout
.
layout_
vertical
seekbar
,
this
)
val
view
=
inflate
(
context
,
R
.
layout
.
layout_
gg
seekbar
,
this
)
container
=
findViewById
(
R
.
id
.
container
)
thumb
=
findViewById
(
R
.
id
.
thumb
)
...
...
app/src/main/res/layout/activity_esult_ba.xml
View file @
45ca7619
...
...
@@ -166,7 +166,7 @@
android:layout_marginTop=
"18dp"
tools:ignore=
"UselessParent"
>
<include
layout=
"@layout/layout_
admob_app_e
xit"
/>
<include
layout=
"@layout/layout_
ob_hhpp_y
xit"
/>
</FrameLayout>
...
...
app/src/main/res/layout/layout_
vertical
seekbar.xml
→
app/src/main/res/layout/layout_
gg
seekbar.xml
View file @
45ca7619
File moved
app/src/main/res/layout/layout_
admob_app_e
xit.xml
→
app/src/main/res/layout/layout_
ob_hhpp_y
xit.xml
View file @
45ca7619
File moved
app/src/main/res/layout/n
otification_message
.xml
→
app/src/main/res/layout/n
ication_messkjhf
.xml
View file @
45ca7619
File moved
app/src/main/res/layout/not
ification_memory_sma
ll_1.xml
→
app/src/main/res/layout/not
cation_memgggory_bb
ll_1.xml
View file @
45ca7619
File moved
app/src/main/res/layout/notifi
cation_junk_sm
all.xml
→
app/src/main/res/layout/notifi
_juuunk_smkk
all.xml
View file @
45ca7619
File moved
app/src/main/res/layout/notifi
cation_weather_bi
g.xml
→
app/src/main/res/layout/notifi
on_wer_binn
g.xml
View file @
45ca7619
File moved
app/src/main/res/layout/notif
ication_junk_b
ig.xml
→
app/src/main/res/layout/notif
on_jssunk_bhh
ig.xml
View file @
45ca7619
File moved
app/src/main/res/layout/not
ification_memory_
big.xml
→
app/src/main/res/layout/not
pption_mory_bb
big.xml
View file @
45ca7619
File moved
app/src/main/res/layout/not
ification_weather_sm
all.xml
→
app/src/main/res/layout/not
ssation_weassther_smvv
all.xml
View file @
45ca7619
File moved
app/src/main/res/layout/st
ay_notification_
big.xml
→
app/src/main/res/layout/st
ccay_nficsation_s
big.xml
View file @
45ca7619
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment