Searched refs:unit (Results 76 - 100 of 112) sorted by relevance

12345

/frameworks/base/test-runner/src/android/test/
H A DIsolatedContext.java184 public T getResult(long timeout, TimeUnit unit) argument
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
H A DSurfaceCompositionMeasuringActivity.java496 long unit = 1024;
497 if (bytes < unit) {
500 int exp = (int) (Math.log(bytes) / Math.log(unit));
501 return String.format("%.1f %sB", bytes / Math.pow(unit, exp),
/frameworks/rs/script_api/
H A Drs_quaternion.spec107 summary: Quaternion that represents a rotation about an arbitrary unit vector
109 Loads a quaternion that represents a rotation about an arbitrary unit vector.
168 (doesn't have to be unit)
H A Drs_object_types.spec158 as a single unit for packing and alignment purposes.
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
H A DTextToSpeechTests.java248 public static void awaitCountDown(CountDownLatch latch, long timeout, TimeUnit unit) argument
250 Assert.assertTrue("Waited too long for method call", latch.await(timeout, unit));
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
H A DAppCompatTextViewAutoSizeTest.java60 final int unit = TypedValue.COMPLEX_UNIT_SP;
64 minTextSize, maxTextSize, granularity, unit);
68 new int[]{minTextSize, 12, 14, 16, 18, maxTextSize}, unit);
77 TypedValue.applyDimension(unit, minTextSize, dm));
82 TypedValue.applyDimension(unit, maxTextSize, dm));
87 assertEquals(Math.round(TypedValue.applyDimension(unit, granularity, dm)),
831 // It does not matter which unit has been used to set the min size, the getter always
892 // It does not matter which unit has been used to set the max size, the getter always
/frameworks/base/core/java/android/accounts/
H A DAccountManager.java2260 private Bundle internalGetResult(Long timeout, TimeUnit unit) argument
2269 return get(timeout, unit);
2305 public Bundle getResult(long timeout, TimeUnit unit) argument
2307 return internalGetResult(timeout, unit);
2442 private T internalGetResult(Long timeout, TimeUnit unit) argument
2451 return get(timeout, unit);
2487 public T getResult(long timeout, TimeUnit unit) argument
2489 return internalGetResult(timeout, unit);
/frameworks/base/core/java/android/text/style/
H A DTtsSpan.java94 * and a unit. The number can be a cardinal, decimal or a fraction. Set the
96 * {@link #TYPE_DECIMAL} or {@link #TYPE_FRACTION}. The unit can be
287 * Argument used to specify the unit of a measure. The unit should always be
295 public static final String ARG_UNIT = "android.arg.unit";
1083 * @param unit The unit of the measure.
1087 public MeasureBuilder setUnit(String unit) { argument
1088 return setStringArgument(TtsSpan.ARG_UNIT, unit);
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DEqualizerTest.java239 public EqualizerParam(Equalizer equalizer, int min, int max, SeekBar seekBar, TextView textView, String unit) { argument
240 super (min, max, seekBar, textView, unit);
H A DEnvReverbTest.java274 public EnvReverbParam(EnvironmentalReverb reverb, int min, int max, SeekBar seekBar, TextView textView, String unit) { argument
275 super (min, max, seekBar, textView, unit);
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
H A DWifiClientTest.java17 package com.android.connectivitymanagertest.unit;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DCameraUtilsTypeReferenceTest.java17 package com.android.mediaframeworktest.unit;
H A DMediaInserterTest.java17 package com.android.mediaframeworktest.unit;
H A DMediaRecorderStateUnitTestTemplate.java17 package com.android.mediaframeworktest.unit;
27 * @see com.android.mediaframeworktest.unit.MediaRecorderStopStateUnitTest
30 * A typical concrete unit test class would implement the
32 * this class. Then it calls runTestOnMethod() to actually perform the unit
33 * tests. It is recommended that the toString() method of the concrete unit test
H A DRangeTest.java17 package com.android.mediaframeworktest.unit;
26 * -e class 'com.android.mediaframeworktest.unit.RangeTest' \
H A DMediaMetadataRetrieverTest.java17 package com.android.mediaframeworktest.unit;
H A DMediaPlayerMetadataParserTest.java17 package com.android.mediaframeworktest.unit;
H A DMediaPlayerStateUnitTestTemplate.java17 package com.android.mediaframeworktest.unit;
31 * @see com.android.mediaframeworktest.unit.MediaPlayerSeekToStateUnitTest
34 * A typical concrete unit test class would implement the
36 * this class. Then it calls runTestOnMethod() to actually perform the unit
H A DExifInterfaceTest.java17 package com.android.mediaframeworktest.unit;
H A DRationalTest.java17 package com.android.mediaframeworktest.unit;
36 * -e class 'com.android.mediaframeworktest.unit.RationalTest' \
200 // unit is equal to itself
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES31.spec55 void glBindImageTexture ( GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format )
H A DGLES30.spec89 void glBindSampler ( GLuint unit, GLuint sampler )
/frameworks/av/media/libstagefright/httplive/
H A DPlaylistFetcher.cpp973 // this means we haven't even find the first access unit,
1190 // lastSeqNumberInPlaylist such that we set the correct access unit
1646 // for simplicity, store a reference to the format in each unit
2183 sp<ABuffer> unit = new ABuffer(aac_frame_length); local
2184 memcpy(unit->data(), adtsHeader, aac_frame_length);
2186 unit->meta()->setInt64("timeUs", unitTimeUs);
2187 setAccessUnitProperties(unit, packetSource);
2188 packetSource->queueAccessUnit(unit);
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_DngCreator.cpp1273 uint16_t unit = 2; // inches local
1274 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_RESOLUTIONUNIT, 1, &unit, TIFF_IFD_0),
1993 uint16_t unit = 2; // inches local
1994 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_RESOLUTIONUNIT, 1, &unit, TIFF_IFD_0),
/frameworks/base/opengl/java/android/opengl/
H A DGLES31.java950 // C function void glBindImageTexture ( GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format )
953 int unit,
952 glBindImageTexture( int unit, int texture, int level, boolean layered, int layer, int access, int format ) argument

Completed in 417 milliseconds

12345