public abstract class TuEditSmudgeFragmentBase extends TuImageResultFragment implements SmudgeView.SmudgeViewDelegate
mScreenSizeScale
permissionAlertDelegate
构造器和说明 |
---|
TuEditSmudgeFragmentBase() |
限定符和类型 | 方法和说明 |
---|---|
protected void |
asyncEditWithResult(TuSdkResult result)
异步处理图片
|
abstract TuBrushSizeAnimView |
getSizeAnimView()
笔刷尺寸动画视图
|
abstract SmudgeView |
getSmudgeView()
涂抹视图
|
protected void |
handleBackButton()
后退按钮
|
protected void |
handleCompleteButton()
完成按钮
|
protected void |
handleOrigianlButtonDown()
按下显示原图按钮
|
protected void |
handleOrigianlButtonUp()
松开显示原图按钮
|
protected void |
handleRedoButton()
Redo按钮
|
protected void |
handleUndoButton()
Undo按钮
|
protected void |
loadView(android.view.ViewGroup view)
loadView
|
void |
onDestroyView()
视图销毁,删除临时文件
|
void |
onRefreshStepStatesWithHistories(int undoCount,
int redoCount)
用户操作导致撤销/重做数据发生变化
|
boolean |
selectBrushCode(java.lang.String code)
选中一个笔刷
|
protected void |
startSizeAnimation(int currentSize,
int newSize)
播放笔刷尺寸切换动画
|
protected void |
viewDidLoad(android.view.ViewGroup view)
初始化视图
|
asyncLoadImage, asyncLoadImageCompleted, getCuterImage, getCuterImage, getImage, getImageDisplaySize, getImageSqlInfo, getPreview, getTempFilePath, handleTest, isAutoRemoveTemp, isShowResultPreview, loadImageWithThread, loadOrginImage, postProcessWithImage, preProcessWithImage, processingImage, setAutoRemoveTemp, setImage, setImageSqlInfo, setShowResultPreview, setTempFilePath, showResultPreview
addWaterMarkToImage, asyncNotifyProcessing, asyncProcessingIfNeedSave, backUIThreadNotifyProcessing, canSaveFile, getOutputCompress, getSaveToAlbumName, getWaterMarkOption, isSaveToAlbum, isSaveToTemp, notifyProcessing, saveToAlbum, saveToTemp, setOutputCompress, setSaveToAlbum, setSaveToAlbumName, setSaveToTemp, setWaterMarkOption
getErrorListener, getRequestPermissionCode, getRequiredPermissions, hasRequiredPermission, notifyError, onPermissionGrantedResult, onRequestPermissionsResult, requestRequiredPermissions, setErrorListener
alert, alert, filpModalNavigationActivity, filpModalNavigationActivity, hubDismiss, hubDismissRightNow, hubError, hubError, hubStatus, hubStatus, hubSuccess, hubSuccess, initCreateView, onCreateView, onDetach, presentActivity, presentModalNavigationActivity, presentModalNavigationActivity, presentModalNavigationActivity, pushModalNavigationActivity, pushModalNavigationActivity, setNavLeftButton, setNavLeftButton, setNavLeftButton, setNavLeftHighLightButton, setNavLeftHighLightButton, setNavRightButton, setNavRightButton, setNavRightButton, setNavRightHighLightButton, setNavRightHighLightButton
addOrientationListener, backStackEntryCount, bindSoftInputEvent, dismissActivity, dismissActivityWithAnim, dismissActivityWithAnim, equalViewIds, filpModalNavigationActivity, getDismissAnimType, getNavButton, getOriginFragment, getResColor, getResString, getResString, getResString, getResString, getRootView, getRootViewLayoutId, getSdkActivity, getTitle, getViewById, getViewById, getViewId, isBackButtonShowed, isFragmentPause, isFullScreen, isSupportSlideBack, navigatorBarBackAction, navigatorBarCancelAction, navigatorBarHeight, navigatorBarLeftAction, navigatorBarLoaded, navigatorBarRightAction, navSearchViewSearch, navSearchViewSetDelegate, navSegmentedAddTexts, navSegmentedAddTexts, navSegmentedSetDelegate, navSegmentedSetected, onAttach, onBackForSlide, onBackPressed, onCreateAnimation, onDestroy, onFragmentAnimationEnd, onKeyUp, onNavigatorBarButtonClicked, onOrientationChanged, onPause, onPauseFragment, onPreDraw, onRefreshData, onResume, onResumeFragment, popFragment, popFragment, popFragmentRoot, presentActivity, presentActivity, presentModalNavigationActivity, presentModalNavigationActivity, presentModalNavigationActivity, pushFragment, refreshOriginFragment, replaceFragment, runOnUiThread, setIsSupportSlideBack, setNavigatorBarId, setNavigatorBarOnButtom, setNavLeftButton, setNavLeftButton, setNavRightButton, setNavRightButton, setOriginFragment, setRequestedOrientation, setRootViewLayoutId, setTitle, setTitle, showBackButton, showNavigatorBar, showView, showViewIn, wantFullScreen
dump, equals, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getArguments, getChildFragmentManager, getContext, getEnterTransition, getExitTransition, getFragmentManager, getHost, getId, getLayoutInflater, getLayoutInflater, getLifecycle, getLoaderManager, getParentFragment, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSharedElementEnterTransition, getSharedElementReturnTransition, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, getViewLifecycleOwner, getViewLifecycleOwnerLiveData, getViewModelStore, hashCode, hasOptionsMenu, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isMenuVisible, isRemoving, isResumed, isStateSaved, isVisible, onActivityCreated, onActivityResult, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreate, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroyOptionsMenu, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPictureInPictureModeChanged, onPrepareOptionsMenu, onSaveInstanceState, onStart, onStop, onViewCreated, onViewStateRestored, postponeEnterTransition, registerForContextMenu, requestPermissions, requireActivity, requireContext, requireFragmentManager, requireHost, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivity, startActivityForResult, startActivityForResult, startIntentSenderForResult, startPostponedEnterTransition, toString, unregisterForContextMenu
public abstract SmudgeView getSmudgeView()
public abstract TuBrushSizeAnimView getSizeAnimView()
protected void loadView(android.view.ViewGroup view)
loadView
在类中 TuSdkFragment
protected void viewDidLoad(android.view.ViewGroup view)
TuSdkFragment
viewDidLoad
在类中 TuSdkFragment
public void onDestroyView()
TuImageResultFragment
onDestroyView
在类中 TuImageResultFragment
protected void handleBackButton()
public boolean selectBrushCode(java.lang.String code)
code
- 笔刷代号protected void handleUndoButton()
protected void handleRedoButton()
protected void handleOrigianlButtonDown()
protected void handleOrigianlButtonUp()
protected void startSizeAnimation(int currentSize, int newSize)
currentSize
- 是否缩小newSize
- 是否缩小public void onRefreshStepStatesWithHistories(int undoCount, int redoCount)
onRefreshStepStatesWithHistories
在接口中 SmudgeView.SmudgeViewDelegate
undoCount
- 可以撤销的次数redoCount
- 可以重做的次数protected void handleCompleteButton()
protected void asyncEditWithResult(TuSdkResult result)