This repository has been archived by the owner on Sep 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 369
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Liu Dong
committed
Nov 17, 2017
1 parent
1c38192
commit 641df18
Showing
19 changed files
with
422 additions
and
196 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package net.dongliu.apk.parser.bean; | ||
|
||
/** | ||
* Icon path, and density | ||
*/ | ||
public class IconPath { | ||
private String path; | ||
private int density; | ||
|
||
public IconPath(String path, int density) { | ||
this.path = path; | ||
this.density = density; | ||
} | ||
|
||
/** | ||
* The icon path in apk file | ||
*/ | ||
public String getPath() { | ||
return path; | ||
} | ||
|
||
/** | ||
* Return the density this icon for. 0 means default icon. | ||
* see {@link net.dongliu.apk.parser.struct.resource.Densities} for more density values. | ||
*/ | ||
public int getDensity() { | ||
return density; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "IconPath{" + | ||
"path='" + path + '\'' + | ||
", density=" + density + | ||
'}'; | ||
} | ||
} |
This file contains 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
Oops, something went wrong.