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

12345

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DByteArrayHelpers.java17 package com.android.mediaframeworktest.unit;
H A DImageReaderTest.java17 package com.android.mediaframeworktest.unit;
31 private static final String TAG = "ImageReaderTest-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
/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/support/room/rxjava2/src/main/java/androidx/room/
H A DRxRoom.java123 @NonNull TimeUnit unit) {
/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/src/androidTest/java/androidx/appcompat/widget/
H A DAppCompatBaseAutoSizeTest.java279 final int unit = TypedValue.COMPLEX_UNIT_SP;
283 minTextSize, maxTextSize, granularity, unit);
287 new int[]{minTextSize, 12, 14, 16, 18, maxTextSize}, unit);
298 TypedValue.applyDimension(unit, minTextSize, dm));
305 TypedValue.applyDimension(unit, maxTextSize, dm));
312 assertEquals(Math.round(TypedValue.applyDimension(unit, granularity, dm)),
1093 // It does not matter which unit has been used to set the min size, the getter always
1160 // 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.java2268 private Bundle internalGetResult(Long timeout, TimeUnit unit) argument
2277 return get(timeout, unit);
2313 public Bundle getResult(long timeout, TimeUnit unit) argument
2315 return internalGetResult(timeout, unit);
2454 private T internalGetResult(Long timeout, TimeUnit unit) argument
2463 return get(timeout, unit);
2499 public T getResult(long timeout, TimeUnit unit) argument
2501 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/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.cpp987 // this means we haven't even find the first access unit,
1205 // lastSeqNumberInPlaylist such that we set the correct access unit
1661 // for simplicity, store a reference to the format in each unit
2199 sp<ABuffer> unit = new ABuffer(aac_frame_length); local
2200 memcpy(unit->data(), adtsHeader, aac_frame_length);
2202 unit->meta()->setInt64("timeUs", unitTimeUs);
2203 setAccessUnitProperties(unit, packetSource);
2204 packetSource->queueAccessUnit(unit);
/frameworks/native/services/surfaceflinger/tests/
H A DTransaction_test.cpp1123 const int32_t unit = int32_t(trans / 2); local
1124 shot->expectColor(get8x8Rect(2 * unit, 1 * unit), Color::RED);
1125 shot->expectColor(get8x8Rect(3 * unit, 2 * unit), Color::GREEN);
1126 shot->expectColor(get8x8Rect(1 * unit, 2 * unit), Color::BLUE);
1127 shot->expectColor(get8x8Rect(2 * unit, 3 * unit), Color::WHITE);
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_DngCreator.cpp1272 uint16_t unit = 2; // inches local
1273 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_RESOLUTIONUNIT, 1, &unit, TIFF_IFD_0),
1819 // Note: these are necessary because our unit system assumes a
2046 uint16_t unit = 2; // inches local
2047 BAIL_IF_INVALID_RET_NULL_SP(writer->addEntry(TAG_RESOLUTIONUNIT, 1, &unit, TIFF_IFD_0),

Completed in 4667 milliseconds

12345