1 package com.android.camera.stats; 2 3 import android.content.Context; 4 5 public class SessionStatsCollector { 6 private static SessionStatsCollector sInstance; 7 8 public static SessionStatsCollector instance() { 9 if (sInstance == null) { 10 sInstance = new SessionStatsCollector(); 11 } 12 return sInstance; 13 } 14 15 public void initialize(Context context) { 16 } 17 18 public synchronized void previewActive(boolean active) { 19 } 20 21 public synchronized void faceScanActive(boolean active) { 22 } 23 24 public synchronized void autofocusActive(boolean active) { 25 } 26 27 public synchronized void autofocusManualTrigger() { 28 } 29 30 public synchronized void autofocusResult(boolean success) { 31 } 32 33 public synchronized void autofocusMoving(boolean moving) { 34 } 35 36 public synchronized void sessionActive(boolean active) { 37 } 38 } 39 40