Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,9 @@ public SurfaceView getSurfaceView() {
*
* @param key 切り抜き範囲の枠を識別するキー
* @param cropRect 切り抜き範囲の枠
* @param visible 表示フラグ
*/
public void addCropRect(Object key, Rect cropRect) {
public void addCropRect(Object key, Rect cropRect, boolean visible) {
if (key == null || cropRect == null) {
return;
}
Expand All @@ -241,6 +242,7 @@ public void addCropRect(Object key, Rect cropRect) {
holder = new CropRectHolder();
holder.mTag = key;
holder.mCropRect = cropRect;
holder.mVisible = visible;
holder.mView = inflate(getContext(), R.layout.item_crop_frame, null);

TextView tv = holder.mView.findViewById(R.id.textview);
Expand Down