Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f8d45553 authored by Isaac Katzenelson's avatar Isaac Katzenelson Committed by Isaac Katzenelson
Browse files

Adjusting logs for timers

Bug: 10686452
Change-Id: Ia7227985d3fb851fea3975a29a9b7a953656b0f3
(cherry picked from commit d73459ee)
parent f5abb011
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ import java.util.Iterator;

public class Timers {
    // Logging shared by TimerReceiver and TimerAlertFullScreen
    public static final boolean LOGGING = false;
    public static final boolean LOGGING = true;

    // Private actions processed by the receiver
    public static final String START_TIMER = "start_timer";
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ import com.android.deskclock.widget.sgv.StaggeredGridView.ReorderListener;
 */
public final class ReorderHelper {

    private static final String TAG = "Keep";
    private static final String TAG = "DeskClock";

    /**
     * Constant to indicate an unsupported reordering position.
+4 −4
Original line number Diff line number Diff line
@@ -79,7 +79,7 @@ import java.util.Map;
 */
public class StaggeredGridView extends ViewGroup {

    private static final String TAG = "Keep-" + StaggeredGridView.class.getSimpleName();
    private static final String TAG = "Clock-" + StaggeredGridView.class.getSimpleName();

    /*
     * There are a few things you should know if you're going to make modifications
@@ -2209,7 +2209,7 @@ public class StaggeredGridView extends ViewGroup {
            mItemBottoms[k] = mItemBottoms[k] - highestValue + offset;
            mItemTops[k] = mItemBottoms[k];

            Log.v(TAG, "Adjusting to offset = mItemBottoms[" + k + "]: " + mItemBottoms[k]);
            // Log.v(TAG, "Adjusting to offset = mItemBottoms[" + k + "]: " + mItemBottoms[k]);
        }
    }

@@ -2401,13 +2401,13 @@ public class StaggeredGridView extends ViewGroup {
                childRight = childLeft + child.getMeasuredWidth();
            }

            Log.v(TAG, "[layoutChildren] height: " + childHeight
        /*    Log.v(TAG, "[layoutChildren] height: " + childHeight
                    + " top: " + childTop + " bottom: " + childBottom
                    + " left: " + childLeft
                    + " column: " + col
                    + " position: " + position
                    + " id: " + lp.id);

*/
            child.layout(childLeft, childTop, childRight, childBottom);
            if (lp.id == mFocusedChildIdToScrollIntoView) {
                child.requestFocus();