コード例 #1
0
 protected void setupTalkDelegateForAccessibilityViaLayout() {
   if (isAccessibilityEnabled()) {
     talkDelegate =
         talkDelegateFactory.getTalkDelegate(activity, activity.getWindow().getDecorView());
   }
 }
コード例 #2
0
 public TalkDelegate getTalkDelegate() {
   if (talkDelegate == null) {
     talkDelegate = talkDelegateFactory.getTalkDelegate(activity, null);
   }
   return talkDelegate;
 }
コード例 #3
0
 protected void setupTalkDelegateDefault() {
   if (isAccessibilityEnabled()) {
     talkDelegate = talkDelegateFactory.getDefaultTalkDelegate(activity);
   }
 }