<commit_before>package com.android.buttons;

import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.ColorFilter;
import android.graphics.Paint;
import android.graphics.PixelFormat;
import android.graphics.Rect;
import android.graphics.RectF;
import android.graphics.drawable.Drawable;
import android.util.Property;
import android.util.TypedValue;

import java.util.Arrays;
import java.util.List;

/**
 * Created by Narfss on 21/Nov/2024
 *
 * Original by thibaultguegan on 05/09/2014.
 */
public class TransformableDrawable extends Drawable {

    private static final long ANIMATION_DURATION = 150;
    public static final int DEF_LINES_COLOR = Color.DKGRAY;
    public static final int DEF_BACKGROUND_COLOR = Color.WHITE;
    public static final int DEF_LINE_WIDTH = 4;

    private static final int PLUS_POINTS = 0;
    private static final int MINUS_POINTS = 1;
    private static final int X_POINTS = 2;
    private static final int ANGLE_DOWN_POINTS = 3;
    private static final int ANGLE_LEFT_POINTS = 4;
    private static final int ANGLE_UP_POINTS = 5;
    private static final int ANGLE_RIGHT_POINTS = 6;
    private static final int CHECK_POINTS = 7;
    private static final int ARROW_DOWN_POINTS = 8;
    private static final int ARROW_LEFT_POINTS = 9;
    private static final int ARROW_UP_POINTS = 10;
    private static final int ARROW_RIGHT_POINTS = 11;
    private static final int MENU_POINTS = 12;

    private Paint mLinePaint;
    private Paint mBackgroundPaint;

    private float[] mPoints = new float[12];<commit_msg>bump up animation duration for expand button<commit_after>package com.android.buttons;

import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.ColorFilter;
import android.graphics.Paint;
import android.graphics.PixelFormat;
import android.graphics.Rect;
import android.graphics.RectF;
import android.graphics.drawable.Drawable;
import android.util.Property;
import android.util.TypedValue;

import java.util.Arrays;
import java.util.List;

/**
 * Created by Narfss on 21/Nov/2024
 *
 * Original by thibaultguegan on 05/09/2014.
 */
public class TransformableDrawable extends Drawable {

    private static final long ANIMATION_DURATION = 250;
    public static final int DEF_LINES_COLOR = Color.DKGRAY;
    public static final int DEF_BACKGROUND_COLOR = Color.WHITE;
    public static final int DEF_LINE_WIDTH = 4;

    private static final int PLUS_POINTS = 0;
    private static final int MINUS_POINTS = 1;
    private static final int X_POINTS = 2;
    private static final int ANGLE_DOWN_POINTS = 3;
    private static final int ANGLE_LEFT_POINTS = 4;
    private static final int ANGLE_UP_POINTS = 5;
    private static final int ANGLE_RIGHT_POINTS = 6;
    private static final int CHECK_POINTS = 7;
    private static final int ARROW_DOWN_POINTS = 8;
    private static final int ARROW_LEFT_POINTS = 9;
    private static final int ARROW_UP_POINTS = 10;
    private static final int ARROW_RIGHT_POINTS = 11;
    private static final int MENU_POINTS = 12;

    private Paint mLinePaint;
    private Paint mBackgroundPaint;

    private float[] mPoints = new float[12];
{'fraction_non_alphanumeric': 0.06553607358436332, 'fraction_numerical': 0.020695602184535786, 'mean_word_length': 4.362095531587057, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '973280', 'n_tokens_mistral': 1094, 'n_tokens_neox': 1035, 'n_words': 329}