Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
packages_apps_Launcher2
Commits
203a41d0
Commit
203a41d0
authored
11 years ago
by
Michael Feldstein
Committed by
The Android Automerger
11 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Deblue the glow when picking up and dragging icons and widgets around
Change-Id: I2c48f1b871dcb529fefb6e1d3013cb6245d45755
parent
cc37ef8a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
src/com/android/launcher2/BubbleTextView.java
src/com/android/launcher2/BubbleTextView.java
+1
-1
src/com/android/launcher2/HolographicViewHelper.java
src/com/android/launcher2/HolographicViewHelper.java
+1
-1
src/com/android/launcher2/Workspace.java
src/com/android/launcher2/Workspace.java
+2
-2
No files found.
src/com/android/launcher2/BubbleTextView.java
View file @
203a41d0
...
...
@@ -82,7 +82,7 @@ public class BubbleTextView extends TextView {
final
Resources
res
=
getContext
().
getResources
();
mFocusedOutlineColor
=
mFocusedGlowColor
=
mPressedOutlineColor
=
mPressedGlowColor
=
res
.
getColor
(
android
.
R
.
color
.
holo_blue_light
);
res
.
getColor
(
android
.
R
.
color
.
white
);
setShadowLayer
(
SHADOW_LARGE_RADIUS
,
0.0f
,
SHADOW_Y_OFFSET
,
SHADOW_LARGE_COLOUR
);
}
...
...
This diff is collapsed.
Click to expand it.
src/com/android/launcher2/HolographicViewHelper.java
View file @
203a41d0
...
...
@@ -34,7 +34,7 @@ public class HolographicViewHelper {
public
HolographicViewHelper
(
Context
context
)
{
Resources
res
=
context
.
getResources
();
mHighlightColor
=
res
.
getColor
(
android
.
R
.
color
.
holo_blue_light
);
mHighlightColor
=
res
.
getColor
(
android
.
R
.
color
.
white
);
}
/**
...
...
This diff is collapsed.
Click to expand it.
src/com/android/launcher2/Workspace.java
View file @
203a41d0
...
...
@@ -1831,7 +1831,7 @@ public class Workspace extends SmoothPagedView
* Responsibility for the bitmap is transferred to the caller.
*/
private
Bitmap
createDragOutline
(
View
v
,
Canvas
canvas
,
int
padding
)
{
final
int
outlineColor
=
getResources
().
getColor
(
android
.
R
.
color
.
holo_blue_light
);
final
int
outlineColor
=
getResources
().
getColor
(
android
.
R
.
color
.
white
);
final
Bitmap
b
=
Bitmap
.
createBitmap
(
v
.
getWidth
()
+
padding
,
v
.
getHeight
()
+
padding
,
Bitmap
.
Config
.
ARGB_8888
);
...
...
@@ -1848,7 +1848,7 @@ public class Workspace extends SmoothPagedView
*/
private
Bitmap
createDragOutline
(
Bitmap
orig
,
Canvas
canvas
,
int
padding
,
int
w
,
int
h
,
boolean
clipAlpha
)
{
final
int
outlineColor
=
getResources
().
getColor
(
android
.
R
.
color
.
holo_blue_light
);
final
int
outlineColor
=
getResources
().
getColor
(
android
.
R
.
color
.
white
);
final
Bitmap
b
=
Bitmap
.
createBitmap
(
w
,
h
,
Bitmap
.
Config
.
ARGB_8888
);
canvas
.
setBitmap
(
b
);
...
...
This diff is collapsed.
Click to expand it.
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