run whitespace_format.py --add-new-line-marker-at-end-of-file --remove-trailing-whitespace --remove-trailing-empty-lines --new-line-marker=linux --normalize-non-standard-whitespace=remove on src/

This commit is contained in:
Mis012
2025-02-05 16:27:17 +01:00
parent 1d2450443e
commit ab5b600bf1
148 changed files with 9559 additions and 9529 deletions

View File

@@ -430,7 +430,7 @@ public class ListView extends AbsListView {
* data backing this list and for producing a view to represent an
* item in that data set.
*
* @see #getAdapter()
* @see #getAdapter()
*/
@Override
public void setAdapter(ListAdapter adapter) {
@@ -1072,18 +1072,18 @@ public class ListView extends AbsListView {
private class FocusSelector implements Runnable {
private int mPosition;
private int mPositionTop;
public FocusSelector setup(int position, int top) {
mPosition = position;
mPositionTop = top;
return this;
}
public void run() {
setSelectionFromTop(mPosition, mPositionTop);
}
}
@Override
protected void onSizeChanged(int w, int h, int oldw, int oldh) {
if (getChildCount() > 0) {
@@ -1457,7 +1457,7 @@ public class ListView extends AbsListView {
adjustViewsUpOrDown();
}
} else if (lastPosition == mItemCount - 1) {
adjustViewsUpOrDown();
adjustViewsUpOrDown();
}
}
}
@@ -1767,7 +1767,7 @@ public class ListView extends AbsListView {
&& focusLayoutRestoreView.getWindowToken() != null) {
// focusLayoutRestoreView.onFinishTemporaryDetach();
}
mLayoutMode = LAYOUT_NORMAL;
mDataChanged = false;
if (mPositionScrollAfterLayout != null) {
@@ -1979,7 +1979,7 @@ public class ListView extends AbsListView {
/**
* Makes the item at the supplied position selected.
*
*
* @param position the position of the item to select
*/
@Override
@@ -2924,7 +2924,7 @@ public class ListView extends AbsListView {
/**
* Determine the distance to the nearest edge of a view in a particular
* direction.
*
*
* @param descendant A descendant of this list.
* @return The distance, or 0 if the nearest edge is already on screen.
*/
@@ -3174,7 +3174,7 @@ public class ListView extends AbsListView {
final int listBottom = getBottom() - getTop() - effectivePaddingBottom + getScrollY();
if (!mStackFromBottom) {
int bottom = 0;
// Draw top divider or header for overscroll
final int scrollY = getScrollY();
if (count > 0 && scrollY < 0) {
@@ -3271,7 +3271,7 @@ public class ListView extends AbsListView {
}
}
}
if (count > 0 && scrollY > 0) {
if (drawOverscrollFooter) {
final int absListBottom = getBottom();
@@ -3345,7 +3345,7 @@ public class ListView extends AbsListView {
public int getDividerHeight() {
return mDividerHeight;
}
/**
* Sets the height of the divider that will be drawn between each item in the list. Calling
* this will override the intrinsic height as set by {@link #setDivider(Drawable)}
@@ -3403,7 +3403,7 @@ public class ListView extends AbsListView {
public boolean areFooterDividersEnabled() {
return mFooterDividersEnabled;
}
/**
* Sets the drawable that will be drawn above all other list content.
* This area can become visible when the user overscrolls the list.
@@ -3517,10 +3517,10 @@ public class ListView extends AbsListView {
/**
* Returns the set of checked items ids. The result is only valid if the
* choice mode has not been set to {@link #CHOICE_MODE_NONE}.
*
*
* @return A new array which contains the id of each checked item in the
* list.
*
*
* @deprecated Use {@link #getCheckedItemIds()} instead.
*/
@Deprecated
@@ -3626,4 +3626,4 @@ public class ListView extends AbsListView {
return false;
}
}
}