public class TuEditMultipleFragment extends TuEditMultipleFragmentBase
限定符和类型 | 类和说明 |
---|---|
static interface |
TuEditMultipleFragment.TuEditMultipleFragmentDelegate
多功能图像编辑控制器委托
|
限定符和类型 | 字段和说明 |
---|---|
protected android.view.View.OnClickListener |
mButtonClickListener
按钮点击事件
|
mScreenSizeScale
permissionAlertDelegate
构造器和说明 |
---|
TuEditMultipleFragment()
图片编辑入口控制器
|
限定符和类型 | 方法和说明 |
---|---|
protected boolean |
asyncNotifyProcessing(TuSdkResult result)
异步通知处理结果
|
protected android.view.View |
buildActionButton(TuEditActionType type)
创建动作按钮视图
|
protected void |
dispatcherViewClick(android.view.View v)
分发视图点击事件
|
android.widget.LinearLayout |
getActionsWrap()
动作列表包装视图
|
TuSdkTextButton |
getAutoAdjustButton()
自动校色按钮
|
TuSdkImageButton |
getCancelButton()
下一步按钮
|
TuEditMultipleFragment.TuEditMultipleFragmentDelegate |
getDelegate()
多功能图像编辑控制器委托
|
TuSdkImageButton |
getDoneButton()
返回按钮
|
android.widget.ImageView |
getImageView()
图片视图
|
static int |
getLayoutId()
布局ID
|
int |
getRatioType()
裁剪比例类型 (默认:RatioType.ratio_all)
|
int[] |
getRatioTypeList()
裁剪比例类型列表 ( 优先级 RatioTypeList > RatioType, 默认:RatioType.ratioTypes)
|
int[] |
getRatioTypes()
获取显示的比例类型列表
|
TuSdkTextButton |
getStepNextButton()
下一步按钮
|
TuSdkTextButton |
getStepPrevButton()
返回前一步按钮
|
android.widget.LinearLayout |
getStepwrap()
操作步骤包装视图
|
protected void |
handleAction(TuEditActionType actionType)
处理编辑动作
|
protected void |
loadView(android.view.ViewGroup view)
loadView
|
protected void |
notifyProcessing(TuSdkResult result)
通知处理结果
|
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState)
创建视图
|
protected void |
onPermissionGrantedResult(boolean permissionGranted)
是否已被授予权限
|
protected void |
onRefreshStepStates(int histories,
int brushies)
刷新操作步骤状态
|
void |
setDelegate(TuEditMultipleFragment.TuEditMultipleFragmentDelegate mDelegate)
多功能图像编辑控制器委托
|
void |
setDisplayImage(android.graphics.Bitmap image)
设置显示的图片
|
void |
setRatioType(int mRatioType)
裁剪比例类型 (默认:RatioType.ratio_all)
|
void |
setRatioTypeList(int[] mRatioTypeList)
裁剪比例类型列表 ( 优先级 RatioTypeList > RatioType, 默认:RatioType.ratioTypes)
|
protected void |
viewDidLoad(android.view.ViewGroup view)
初始化视图
|
appendHistory, asyncEditWithResult, asyncLoadImage, asyncLoadImageCompleted, asyncLoadStepImage, asyncLoadStepImage, clearAllSteps, clearSteps, getBrushies, getHistories, getLastSteps, getLimitHistoryCount, getLimitSideSize, getModules, handleAutoAdjust, handleCompleteButton, handleStepNextButton, handleStepPrevButton, isDisableStepsSave, isLimitForScreen, onDestroyView, refreshStepStates, setBrushies, setDisableStepsSave, setHistories, setLimitForScreen, setLimitHistoryCount, setLimitSideSize, setModules
getCuterImage, getCuterImage, getImage, getImageDisplaySize, getImageSqlInfo, getPreview, getTempFilePath, handleTest, isAutoRemoveTemp, isShowResultPreview, loadImageWithThread, loadOrginImage, postProcessWithImage, preProcessWithImage, processingImage, setAutoRemoveTemp, setImage, setImageSqlInfo, setShowResultPreview, setTempFilePath, showResultPreview
addWaterMarkToImage, asyncProcessingIfNeedSave, backUIThreadNotifyProcessing, canSaveFile, getOutputCompress, getSaveToAlbumName, getWaterMarkOption, isSaveToAlbum, isSaveToTemp, saveToAlbum, saveToTemp, setOutputCompress, setSaveToAlbum, setSaveToAlbumName, setSaveToTemp, setWaterMarkOption
getErrorListener, getRequestPermissionCode, getRequiredPermissions, hasRequiredPermission, notifyError, onRequestPermissionsResult, requestRequiredPermissions, setErrorListener
alert, alert, filpModalNavigationActivity, filpModalNavigationActivity, hubDismiss, hubDismissRightNow, hubError, hubError, hubStatus, hubStatus, hubSuccess, hubSuccess, initCreateView, 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 static int getLayoutId()
public TuEditMultipleFragment.TuEditMultipleFragmentDelegate getDelegate()
public void setDelegate(TuEditMultipleFragment.TuEditMultipleFragmentDelegate mDelegate)
public android.view.View onCreateView(android.view.LayoutInflater inflater, android.view.ViewGroup container, android.os.Bundle savedInstanceState)
TuFragment
onCreateView
在类中 TuFragment
protected void notifyProcessing(TuSdkResult result)
notifyProcessing
在类中 TuResultFragment
protected boolean asyncNotifyProcessing(TuSdkResult result)
asyncNotifyProcessing
在类中 TuResultFragment
result
- SDK处理结果public int getRatioType()
public final void setRatioType(int mRatioType)
public final int[] getRatioTypeList()
public final void setRatioTypeList(int[] mRatioTypeList)
public final int[] getRatioTypes()
getRatioTypes
在类中 TuEditMultipleFragmentBase
public android.widget.ImageView getImageView()
public android.widget.LinearLayout getStepwrap()
public TuSdkTextButton getStepPrevButton()
public TuSdkImageButton getCancelButton()
public TuSdkImageButton getDoneButton()
public TuSdkTextButton getStepNextButton()
public TuSdkTextButton getAutoAdjustButton()
public android.widget.LinearLayout getActionsWrap()
protected void dispatcherViewClick(android.view.View v)
protected void loadView(android.view.ViewGroup view)
loadView
在类中 TuEditMultipleFragmentBase
protected android.view.View buildActionButton(TuEditActionType type)
protected void viewDidLoad(android.view.ViewGroup view)
TuSdkFragment
protected void onPermissionGrantedResult(boolean permissionGranted)
onPermissionGrantedResult
在类中 TuComponentFragment
permissionGranted
- protected void handleAction(TuEditActionType actionType)
actionType
- 图片编辑动作类型public void setDisplayImage(android.graphics.Bitmap image)
protected void onRefreshStepStates(int histories, int brushies)
onRefreshStepStates
在类中 TuEditMultipleFragmentBase
histories
- 历史记录数brushies
- 丢弃的记录数