Searched refs:quantity (Results 1 – 7 of 7) sorted by relevance
134 … static final String getQuantityString(Context context, @PluralsRes int resourceId, int quantity) { in getQuantityString() argument135 return context.getResources().getQuantityString(resourceId, quantity, quantity); in getQuantityString()
138 public String getQuantityString(@PluralsRes int stringId, int quantity) { in getQuantityString() argument139 return Shared.getQuantityString(mContext, stringId, quantity); in getQuantityString()
479 public static String getNumberFormattedQuantityString(Context context, int id, int quantity) { in getNumberFormattedQuantityString() argument480 final String localizedQuantity = NumberFormat.getInstance().format(quantity); in getNumberFormattedQuantityString()481 return context.getResources().getQuantityString(id, quantity, localizedQuantity); in getNumberFormattedQuantityString()
168 public String getQuantityString(int id, int quantity) { in getResources()170 return quantity + " mins"; in getResources()173 return quantity + " minutes"; in getResources()176 return quantity + " hours"; in getResources()179 return quantity + " days"; in getResources()181 return id + " " + quantity; in getResources()
1dictionary=main:en_us,locale=en_US,description=English (US),date ...