<commit_before>package com.takusemba.spotlight.shapes;

import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.PointF;
import android.view.View;

public class Circle extends Shape {
	private float mRadius;

	public Circle(View view) {
		setPoint(view);
		this.mRadius = (float) Math.sqrt(Math.pow(view.getWidth(), 2) + Math.pow(view.getHeight(), 2));
	}

	public Circle(PointF point, float radius) {
		this.mPoint = point;
		this.mRadius = radius;
	}

	@Override
	public void draw(Canvas canvas, float animValue, Paint paint) {
		canvas.drawCircle(mPoint.x, mPoint.y, animValue * mRadius, paint);
	}
}
<commit_msg>Add custom radius constructor with view<commit_after>package com.takusemba.spotlight.shapes;

import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.PointF;
import android.view.View;

public class Circle extends Shape {
	private float mRadius;

	public Circle(View view) {
		this(view, (float) Math.sqrt(Math.pow(view.getWidth(), 2) + Math.pow(view.getHeight(), 2)));
	}

	public Circle(View view, float radius) {
		setPoint(view);
		this.mRadius = radius;
	}

	public Circle(PointF point, float radius) {
		this.mPoint = point;
		this.mRadius = radius;
	}

	@Override
	public void draw(Canvas canvas, float animValue, Paint paint) {
		canvas.drawCircle(mPoint.x, mPoint.y, animValue * mRadius, paint);
	}
}

{'fraction_non_alphanumeric': 0.12193362193362194, 'fraction_numerical': 0.002886002886002886, 'mean_word_length': 4.8277310924369745, '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': '5044420', 'n_tokens_mistral': 485, 'n_tokens_neox': 458, 'n_words': 114}