Lines Matching defs:formatType
433 * <p>The formatType parameter determines how the characteristic value
434 * is to be interpreted. For example, settting formatType to
439 * @param formatType The format type used to interpret the characteristic
445 public Integer getIntValue(int formatType, int offset) {
446 if ((offset + getTypeLen(formatType)) > mValue.length) return null;
448 switch (formatType) {
477 * @param formatType The format type used to interpret the characteristic
483 public Float getFloatValue(int formatType, int offset) {
484 if ((offset + getTypeLen(formatType)) > mValue.length) return null;
486 switch (formatType) {
534 * @param formatType Integer format type used to transform the value parameter
538 public boolean setValue(int value, int formatType, int offset) {
539 int len = offset + getTypeLen(formatType);
543 switch (formatType) {
581 * @param formatType Float format type used to transform the value parameter
585 public boolean setValue(int mantissa, int exponent, int formatType, int offset) {
586 int len = offset + getTypeLen(formatType);
590 switch (formatType) {
630 private int getTypeLen(int formatType) {
631 return formatType & 0xF;