<commit_before>root.LoadingIndicatorView_Framework = class LoadingIndicatorView_Framework extends root.BaseView
  constructor:(options = {}) ->
    super options
    
    if Ti.Platform.osname == "iphone" || Ti.Platform.osname == "ipad"
      @loadingView = Ti.UI.createView({
        top: 0
        height: "100%"
        width: "100%"
      })
      
      @activityIndicator = Ti.UI.createActivityIndicator({
        top: '50%'
        message: "Loading..."
        width: Ti.UI.SIZE
        height: Ti.UI.SIZE
        color: "#333"
        font: { fontSize: 14, fontWeight: 'bold' }, shadowOffset: { x: 0, y: 1 }, shadowColor: '#fff'
        style: Ti.UI.iPhone.ActivityIndicatorStyle.DARK
      })

      @loadingView.add(@activityIndicator)
      @activityIndicator.show()
      @add(@loadingView)
    else if Ti.Platform.osname == "android"
      @activityIndicator = Ti.UI.createActivityIndicator({
        message: "Loading..."
        width: Ti.UI.SIZE, height: Ti.UI.SIZE
        color: "#333"
        cancelable: true
        font: { fontSize: 14, fontWeight: 'bold' }
      })
      @add(@activityIndicator)
  
  showLoadingIndicator: =>
    if Ti.Platform.osname == "iphone" || Ti.Platform.osname == "ipad"
      @activityIndicator.show()
    else
      @activityIndicator.show()
    
  hideLoadingIndicator: =>
    if Ti.Platform.osname == "iphone" || Ti.Platform.osname == "ipad"
      @activityIndicator.hide()
    else
      @activityIndicator.hide()<commit_msg>Update loading indicator for android<commit_after>root.LoadingIndicatorView_Framework = class LoadingIndicatorView_Framework extends root.BaseView
  constructor:(options = {}) ->
    super options
    
    if Ti.Platform.osname == "iphone" || Ti.Platform.osname == "ipad"
      @loadingView = Ti.UI.createView({
        top: 0
        height: "100%"
        width: "100%"
      })
      
      @activityIndicator = Ti.UI.createActivityIndicator({
        top: '50%'
        message: "Loading..."
        width: Ti.UI.SIZE
        height: Ti.UI.SIZE
        color: "#333"
        font: { fontSize: 14, fontWeight: 'bold' }, shadowOffset: { x: 0, y: 1 }, shadowColor: '#fff'
        style: Ti.UI.iPhone.ActivityIndicatorStyle.DARK
      })

      @loadingView.add(@activityIndicator)
      @activityIndicator.show()
      @add(@loadingView)
    else if Ti.Platform.osname == "android"
      @activityIndicator = Ti.UI.createActivityIndicator({
        width: Ti.UI.SIZE, height: Ti.UI.SIZE
        color: "#333"
        cancelable: true
        style: Ti.UI.ActivityIndicatorStyle.BIG_DARK
        font: { fontSize: '20dp', fontWeight: 'bold' }
      })
      @add(@activityIndicator)
  
  showLoadingIndicator: =>
    if Ti.Platform.osname == "iphone" || Ti.Platform.osname == "ipad"
      @activityIndicator.show()
    else
      @activityIndicator.show()
    
  hideLoadingIndicator: =>
    if Ti.Platform.osname == "iphone" || Ti.Platform.osname == "ipad"
      @activityIndicator.hide()
    else
      @activityIndicator.hide()
{'fraction_non_alphanumeric': 0.1362126245847176, 'fraction_numerical': 0.013953488372093023, 'mean_word_length': 2.538190364277321, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '6642253', 'n_tokens_mistral': 940, 'n_tokens_neox': 931, 'n_words': 183}