mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Re-enable some useful stuff deleted on the last cleanup.
This commit is contained in:
@@ -155,11 +155,11 @@ public class NotificationCenter {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
public boolean isAnimationInProgress() {
|
||||
return animationInProgress;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
public void postNotificationName(int id, Object... args) {
|
||||
boolean allowDuringAnimation = false;
|
||||
|
||||
@@ -361,7 +361,6 @@ public class ActionBar extends FrameLayout {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
public void setInterceptTouches(boolean value) {
|
||||
interceptTouches = value;
|
||||
}
|
||||
@@ -369,7 +368,6 @@ public class ActionBar extends FrameLayout {
|
||||
public void setExtraHeight(int value) {
|
||||
extraHeight = value;
|
||||
}
|
||||
*/
|
||||
|
||||
public void closeSearchField() {
|
||||
if (!isSearchFieldVisible || menu == null) {
|
||||
|
||||
@@ -208,11 +208,9 @@ public class ActionBarLayout extends FrameLayout {
|
||||
invalidate();
|
||||
}
|
||||
|
||||
/*
|
||||
public float getInnerTranslationX() {
|
||||
return innerTranslationX;
|
||||
}
|
||||
*/
|
||||
|
||||
public void onResume() {
|
||||
if (transitionAnimationInProgress) {
|
||||
|
||||
@@ -305,11 +305,9 @@ public class BaseFragment {
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
public Dialog getVisibleDialog() {
|
||||
return visibleDialog;
|
||||
}
|
||||
*/
|
||||
|
||||
public void setVisibleDialog(Dialog dialog) {
|
||||
visibleDialog = dialog;
|
||||
|
||||
@@ -151,11 +151,9 @@ public class SimpleTextView extends View implements Drawable.Callback {
|
||||
wasLayout = true;
|
||||
}
|
||||
|
||||
/*
|
||||
public int getTextWidth() {
|
||||
return textWidth;
|
||||
}
|
||||
*/
|
||||
|
||||
public int getTextHeight() {
|
||||
return textHeight;
|
||||
@@ -217,7 +215,6 @@ public class SimpleTextView extends View implements Drawable.Callback {
|
||||
recreateLayoutMaybe();
|
||||
}
|
||||
|
||||
/*
|
||||
public void setDrawablePadding(int value) {
|
||||
if (drawablePadding == value) {
|
||||
return;
|
||||
@@ -227,7 +224,6 @@ public class SimpleTextView extends View implements Drawable.Callback {
|
||||
invalidate();
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
private boolean recreateLayoutMaybe() {
|
||||
if (wasLayout) {
|
||||
|
||||
@@ -38,9 +38,7 @@ public class LetterSectionCell extends FrameLayout {
|
||||
textView.setText(letter.toUpperCase());
|
||||
}
|
||||
|
||||
/*
|
||||
public void setCellHeight(int height) {
|
||||
setLayoutParams(new ViewGroup.LayoutParams(AndroidUtilities.dp(54), height));
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
@@ -96,11 +96,9 @@ public class PhotoAttachPhotoCell extends FrameLayout {
|
||||
checkBox.setChecked(value, animated);
|
||||
}
|
||||
|
||||
/*
|
||||
public void setOnCheckClickLisnener(OnClickListener onCheckClickLisnener) {
|
||||
checkFrame.setOnClickListener(onCheckClickLisnener);
|
||||
}
|
||||
*/
|
||||
|
||||
public void setDelegate(PhotoAttachPhotoCellDelegate delegate) {
|
||||
this.delegate = delegate;
|
||||
|
||||
Reference in New Issue
Block a user