<commit_before>
package com.kviation.android.sample.orientation;

import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
import android.view.Surface;
import android.view.WindowManager;

public class Orientation implements SensorEventListener {

  public interface Listener {
    void onOrientationChanged(float pitch, float roll);
  }

  private static final int SENSOR_DELAY_MICROS = 100 * 1000; // 100ms

  private final SensorManager mSensorManager;
  private final Sensor mRotationSensor;
  private final WindowManager mWindowManager;

  private int mLastAccuracy;
  private Listener mListener;<commit_msg>Decrease sensor delay to 50ms.<commit_after>
package com.kviation.android.sample.orientation;

import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
import android.view.Surface;
import android.view.WindowManager;

public class Orientation implements SensorEventListener {

  public interface Listener {
    void onOrientationChanged(float pitch, float roll);
  }

  private static final int SENSOR_DELAY_MICROS = 50 * 1000; // 50ms

  private final SensorManager mSensorManager;
  private final Sensor mRotationSensor;
  private final WindowManager mWindowManager;

  private int mLastAccuracy;
  private Listener mListener;
{'fraction_non_alphanumeric': 0.06079664570230608, 'fraction_numerical': 0.013976240391334731, 'mean_word_length': 5.754716981132075, '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': '2767154', 'n_tokens_mistral': 416, 'n_tokens_neox': 386, 'n_words': 111}