Home
last modified time | relevance | path

Searched refs:intValue (Results 1 – 25 of 92) sorted by relevance

1234

/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
DNotBindableVo.java29 public NotBindableVo(int intValue) { in NotBindableVo() argument
30 this.mIntValue = intValue; in NotBindableVo()
37 public NotBindableVo(int intValue, String stringValue) { in NotBindableVo() argument
38 this.mIntValue = intValue; in NotBindableVo()
51 public void setIntValue(int intValue) { in setIntValue() argument
52 this.mIntValue = intValue; in setIntValue()
/frameworks/base/core/java/android/animation/
DIntKeyframeSet.java80 return ((Number)mEvaluator.evaluate(fraction, firstValue, lastValue)).intValue(); in getIntValue()
98 intValue(); in getIntValue()
113 … ((Number)mEvaluator.evaluate(intervalFraction, prevValue, nextValue)).intValue(); in getIntValue()
131 intValue(); in getIntValue()
136 return ((Number)mKeyframes.get(mNumKeyframes - 1).getValue()).intValue(); in getIntValue()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DBaseWrapContentWithAspectRatioTest.java260 Integer intValue = (Integer) item; in matches() local
261 final int size = View.MeasureSpec.getSize(intValue); in matches()
262 final int mode = View.MeasureSpec.getMode(intValue); in matches()
274 Integer intValue = (Integer) item; in describeMismatch() local
275 final int size = View.MeasureSpec.getSize(intValue); in describeMismatch()
276 final int mode = View.MeasureSpec.getMode(intValue); in describeMismatch()
/frameworks/base/core/java/android/net/
DLocalSocketImpl.java503 int intValue = 0; in setOption() local
505 intValue = (Integer)value; in setOption()
515 StructLinger linger = new StructLinger(boolValue, intValue); in setOption()
521 StructTimeval timeval = StructTimeval.fromMillis(intValue); in setOption()
531 Os.setsockoptInt(fd, OsConstants.SOL_SOCKET, osOpt, intValue); in setOption()
535 intValue); in setOption()
DLocalSocket.java225 return ((Integer) impl.getOption(SocketOptions.SO_RCVBUF)).intValue(); in getReceiveBufferSize()
233 return ((Integer) impl.getOption(SocketOptions.SO_TIMEOUT)).intValue(); in getSoTimeout()
241 return ((Integer) impl.getOption(SocketOptions.SO_SNDBUF)).intValue(); in getSendBufferSize()
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpAckPacket.java78 Integer.valueOf(mLeaseTime.intValue() / 2)); in finishPacket()
96 return v.intValue(); in getInt()
DDhcpOfferPacket.java80 Integer.valueOf(mLeaseTime.intValue() / 2)); in finishPacket()
/frameworks/base/core/java/android/view/
DViewDebug.java1190 final int intValue = (Integer) methodValue; in exportMethods() local
1193 exportUnrolledFlags(out, flagsMapping, intValue, valuePrefix); in exportMethods()
1198 final int intValue = (Integer) methodValue; in exportMethods() local
1203 if (mapper.from() == intValue) { in exportMethods()
1211 methodValue = intValue; in exportMethods()
1275 final int intValue = field.getInt(view); in exportFields() local
1278 exportUnrolledFlags(out, flagsMapping, intValue, valuePrefix); in exportFields()
1283 final int intValue = field.getInt(view); in exportFields() local
1287 if (mapped.from() == intValue) { in exportFields()
1294 fieldValue = intValue; in exportFields()
[all …]
/frameworks/base/core/java/android/util/
DIntProperty.java41 setValue(object, value.intValue()); in set()
DRational.java381 public int intValue() { in intValue() method in Rational
440 return (short) intValue(); in shortValue()
/frameworks/base/test-runner/src/android/test/
DInstrumentationUtils.java39 id = field.intValue(); in getMenuIdentifier()
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/src/com/android/framework/multidexlegacytestservices/
DReflectIntermediateClass.java36 value += ((Integer) get.invoke(bigClass.newInstance())).intValue(); in get()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
DFloatArrayToSizeFilterTest.java47 assertEquals(3, ((Integer) getOutputFrame("size").asFrameValue().getValue()).intValue()); in testToSize()
/frameworks/native/opengl/tools/glgen/src/
DJniCodeEmitter.java543 int idx = nonPrimitiveArgs.get(i).intValue(); in hasNonConstArg()
907 int idx = nonPrimitiveArgs.get(i).intValue(); in emitJniCode()
1046 int idx = nonPrimitiveArgs.get(i).intValue(); in emitJniCode()
1085 int idx = nonPrimitiveArgs.get(i).intValue(); in emitJniCode()
1119 int idx = stringArgs.get(i).intValue(); in emitJniCode()
1139 int idx = stringArgs.get(i).intValue(); in emitJniCode()
1180 int idx = nonPrimitiveArgs.get(i).intValue(); in emitJniCode()
1358 int idx = nonPrimitiveArgs.get(i).intValue(); in emitJniCode()
1466 int idx = nonPrimitiveArgs.get(i).intValue(); in emitJniCode()
1526 int idx = stringArgs.get(i).intValue(); in emitJniCode()
[all …]
/frameworks/base/core/java/com/google/android/util/
DSmileyResources.java53 return i.intValue(); in getSmileyRes()
/frameworks/base/media/java/android/media/
DMediaFile.java342 return (value == null ? 0 : value.intValue()); in getFileTypeForMimeType()
354 return value.intValue(); in getFormatCode()
362 return value.intValue(); in getFormatCode()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioMixingRule.java108 mIntProp = intProp.intValue(); in AudioMixMatchCriterion()
416 if (criterion.mIntProp == intProp.intValue()) { in addRuleInternal()
/frameworks/base/tools/layoutlib/bridge/src/android/util/
DBridgeXmlPullAttributes.java64 return v.intValue(); in getAttributeNameResource()
75 return v.intValue(); in getAttributeNameResource()
/frameworks/ex/framesequence/samples/FrameSequenceSamples/src/com/android/framesequence/samples/
DSamplesList.java61 int resourceId = ((Integer) SAMPLES.get(position).get(KEY_RESOURCE)).intValue(); in onListItemClick()
/frameworks/base/core/java/com/android/internal/logging/
DAndroidHandler.java162 int value = level.intValue(); in getAndroidLevel()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java89 return allowed2GChannels.get(index).intValue(); in chooseApChannel()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSettingsManager.java165 int intValue = -1; in read() local
174 intValue = Integer.parseInt(value, radix); in read()
180 vendorId = intValue; in read()
182 productId = intValue; in read()
184 deviceClass = intValue; in read()
186 deviceSubclass = intValue; in read()
188 deviceProtocol = intValue; in read()
/frameworks/base/core/java/android/content/
DContentValues.java289 return value != null ? ((Number) value).intValue() : null; in getAsInteger()
419 return ((Number) value).intValue() != 0; in getAsBoolean()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DEnvReverbTest.java348 mReverb.setDecayTime(value.intValue()); in setParameter()
414 mReverb.setReflectionsDelay(value.intValue()); in setParameter()
458 mReverb.setReverbDelay(value.intValue()); in setParameter()
/frameworks/base/core/java/com/android/server/
DNetworkManagementSocketTagger.java140 return Long.decode(string.substring(0, length - 8)).intValue(); in kernelToTag()

1234