-
Notifications
You must be signed in to change notification settings - Fork 21
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
1 parent
7e4e04d
commit 62b6c8a
Showing
29 changed files
with
432 additions
and
177 deletions.
There are no files selected for viewing
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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,7 @@ | ||
# 更新日志 | ||
|
||
### v0.3.0 | ||
|
||
1. 更新了宽高比模式转换 | ||
|
||
2. 修复了bug |
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
16 changes: 16 additions & 0 deletions
16
toucheffectslib/src/main/java/com/lky/toucheffectsmodule/bean/extra/BaseExtraBean.java
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,16 @@ | ||
package com.lky.toucheffectsmodule.bean.extra; | ||
|
||
import com.lky.toucheffectsmodule.types.TouchEffectsWholeType; | ||
|
||
public class BaseExtraBean { | ||
|
||
protected TouchEffectsWholeType mWholeType; | ||
|
||
public void setWholeType(TouchEffectsWholeType wholeType) { | ||
mWholeType = wholeType; | ||
} | ||
|
||
public TouchEffectsWholeType getWholeType() { | ||
return mWholeType; | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...heffectslib/src/main/java/com/lky/toucheffectsmodule/bean/extra/ExtraAspectRatioBean.java
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,23 @@ | ||
package com.lky.toucheffectsmodule.bean.extra; | ||
|
||
import com.lky.toucheffectsmodule.types.TouchEffectsWholeType; | ||
|
||
public class ExtraAspectRatioBean extends BaseExtraBean { | ||
|
||
private float mWidth; | ||
private float mHeight; | ||
|
||
public ExtraAspectRatioBean(TouchEffectsWholeType wholeType,float width,float height) { | ||
mWholeType = wholeType; | ||
mWidth = width; | ||
mHeight = height; | ||
} | ||
|
||
public float getWidth() { | ||
return mWidth; | ||
} | ||
|
||
public float getHeight() { | ||
return mHeight; | ||
} | ||
} |
Oops, something went wrong.