Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
os
BlissLauncher
Commits
7ccad36f
Commit
7ccad36f
authored
Mar 11, 2018
by
Amit Kumar
Browse files
Remove unnecessary logs
parent
df4cd2c9
Changes
3
Hide whitespace changes
Inline
Side-by-side
.idea/misc.xml
View file @
7ccad36f
...
...
@@ -24,7 +24,7 @@
</value>
</option>
</component>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_1_
8
"
default=
"true"
project-jdk-name=
"1.8"
project-jdk-type=
"JavaSDK"
>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_1_
7
"
default=
"true"
project-jdk-name=
"1.8"
project-jdk-type=
"JavaSDK"
>
<output
url=
"file://$PROJECT_DIR$/build/classes"
/>
</component>
<component
name=
"ProjectType"
>
...
...
app/src/main/java/org/indin/blisslaunchero/CustomAnalogClock.java
View file @
7ccad36f
...
...
@@ -170,7 +170,6 @@ public class CustomAnalogClock extends View {
final
int
w
=
(
int
)
(
mDialWidth
*
sizeScale
);
final
int
h
=
(
int
)
(
mDialHeight
*
sizeScale
);
Log
.
i
(
TAG
,
"w="
+
w
+
", h="
+
h
+
", aw="
+
availW
+
", ah="
+
availH
);
boolean
scaled
=
false
;
if
(
availW
<
w
||
availH
<
h
)
{
...
...
app/src/main/java/org/indin/blisslaunchero/DesktopActivity.java
View file @
7ccad36f
...
...
@@ -92,7 +92,7 @@ public class DesktopActivity extends AppCompatActivity {
private
Animation
wobbleAnimation
;
private
Animation
wobbleReverseAnimation
;
private
static
String
TAG
=
"BLISSLAUNCHER_HOME"
;
private
int
scrollCorner
;
private
Storage
storage
;
...
...
@@ -302,7 +302,6 @@ public class DesktopActivity extends AppCompatActivity {
double
y
=
Math
.
pow
(
mHeightPixels
/
dm
.
ydpi
,
2
);
double
screenInches
=
Math
.
sqrt
(
x
+
y
);
Log
.
i
(
TAG
,
"prepareResources: "
+
screenInches
);
if
(
screenInches
<=
4.5
)
{
nRows
=
4
;
}
else
if
(
screenInches
<=
5.5
)
{
...
...
@@ -577,7 +576,6 @@ public class DesktopActivity extends AppCompatActivity {
* Re-creates the launcher layout based on the data stored in the shared-preferences.
*/
private
void
createUIFromStorage
()
{
Log
.
i
(
TAG
,
"createUIFromStorage: called"
);
Storage
.
StorageData
storageData
=
storage
.
load
();
int
nPages
=
storageData
.
getNPages
();
pages
=
new
ArrayList
<>();
...
...
@@ -802,7 +800,6 @@ public class DesktopActivity extends AppCompatActivity {
layoutParams
.
rightMargin
=
appIconMargin
;
appIconWidth
=
iconWidth
-
2
*
appIconMargin
;
Log
.
i
(
TAG
,
"appIconWidth "
+
appIconWidth
);
if
(
app
.
isClock
())
{
final
CustomAnalogClock
analogClock
=
v
.
findViewById
(
R
.
id
.
icon_clock
);
analogClock
.
setVisibility
(
View
.
VISIBLE
);
...
...
@@ -1151,8 +1148,6 @@ public class DesktopActivity extends AppCompatActivity {
@Override
public
boolean
onDrag
(
View
view
,
DragEvent
dragEvent
)
{
Log
.
d
(
TAG
,
"onDrag() called with: view = ["
+
view
+
"], dragEvent = ["
+
dragEvent
+
"]"
);
if
(
dragEvent
.
getAction
()
==
DragEvent
.
ACTION_DRAG_LOCATION
)
{
lastX
=
dragEvent
.
getX
();
...
...
@@ -1284,7 +1279,6 @@ public class DesktopActivity extends AppCompatActivity {
// Drop functionality when the folder window container
// is not being shown -- default
if
(!
folderInterest
)
{
Log
.
i
(
TAG
,
"onDrag: here"
);
if
(
movingApp
.
getParent
()
==
null
)
{
if
(
view
instanceof
HorizontalPager
)
{
GridLayout
gridLayout
=
pages
.
get
(
getCurrentAppsPageNumber
());
...
...
Write
Preview
Supports
Markdown
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