Searched refs:unit (Results 51 - 75 of 112) sorted by relevance

12345

/frameworks/av/media/mtp/tests/
H A DAndroid.mk1 # Build the unit tests.
/frameworks/av/services/mediaresourcemanager/test/
H A DAndroid.mk1 # Build the unit tests.
/frameworks/base/packages/SettingsProvider/test/
H A DAndroid.mk7 # Note we statically link SettingsState to do some unit tests. It's not accessible otherwise
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
H A DBroadcastInterceptingContext.java58 public abstract void assertNotReceived(long timeout, TimeUnit unit) argument
101 public void assertNotReceived(long timeout, TimeUnit unit) argument
104 final Intent intent = get(timeout, unit);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DResourceHelper.java526 int unit; field in class:ResourceHelper.UnitEntry
529 UnitEntry(String name, int type, int unit, float scale) { argument
532 this.unit = unit;
566 * @param requireUnit whether the value is expected to contain a unit.
609 // Might be a unit...
626 // no unit when required? Use dp and out an error.
632 "Dimension \"%1$s\" in attribute \"%2$s\" is missing unit!",
688 for (UnitEntry unit : sUnitNames) {
689 if (unit
698 applyUnit(UnitEntry unit, TypedValue outValue, float[] outScale) argument
[all...]
/frameworks/base/tools/preload2/src/com/android/preload/
H A DDeviceUtils.java65 public static void doShell(IDevice device, String cmdline, long timeout, TimeUnit unit) { argument
66 doShell(device, cmdline, new NullShellOutputReceiver(), timeout, unit);
73 TimeUnit unit) {
75 doShell(device, cmdline, rec, timeout, unit);
83 long timeout, TimeUnit unit) {
85 device.executeShellCommand(cmdline, receiver, timeout, unit);
72 doShellReturnString(IDevice device, String cmdline, long timeout, TimeUnit unit) argument
82 doShell(IDevice device, String cmdline, IShellOutputReceiver receiver, long timeout, TimeUnit unit) argument
/frameworks/av/media/libstagefright/codec2/tests/
H A DAndroid.mk1 # Build the unit tests.
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DCaptureCollector.java313 * @param unit the units to use for the timeout.
318 TimeUnit unit)
321 long nanos = unit.toNanos(timeout);
369 * @param unit the units to use for the timeout.
373 public boolean waitForEmpty(long timeout, TimeUnit unit) throws InterruptedException { argument
374 long nanos = unit.toNanos(timeout);
394 * @param unit the units to use for the timeout.
398 public boolean waitForPreviewsEmpty(long timeout, TimeUnit unit) throws InterruptedException { argument
399 long nanos = unit.toNanos(timeout);
423 * @param unit th
317 queueRequest(RequestHolder holder, LegacyRequest legacy, long timeout, TimeUnit unit) argument
430 waitForRequestCompleted(RequestHolder holder, long timeout, TimeUnit unit, MutableLong timestamp) argument
[all...]
/frameworks/native/opengl/tests/EGLTest/
H A DAndroid.mk1 # Build the unit tests.
/frameworks/native/services/surfaceflinger/tests/
H A DAndroid.mk1 # Build the unit tests,
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAppCompatTextHelper.java301 void setTextSize(int unit, float size) { argument
304 setTextSizeInternal(unit, size);
325 private void setTextSizeInternal(int unit, float size) { argument
326 mAutoSizeTextHelper.setTextSizeInternal(unit, size);
337 int unit) throws IllegalArgumentException {
339 autoSizeMinTextSize, autoSizeMaxTextSize, autoSizeStepGranularity, unit);
342 void setAutoSizeTextTypeUniformWithPresetSizes(@NonNull int[] presetSizes, int unit) argument
344 mAutoSizeTextHelper.setAutoSizeTextTypeUniformWithPresetSizes(presetSizes, unit);
333 setAutoSizeTextTypeUniformWithConfiguration( int autoSizeMinTextSize, int autoSizeMaxTextSize, int autoSizeStepGranularity, int unit) argument
H A DAppCompatTextViewAutoSizeHelper.java232 * @param unit the desired dimension unit for all sizes above. See {@link TypedValue} for the
256 int unit) throws IllegalArgumentException {
260 unit, autoSizeMinTextSize, displayMetrics);
262 unit, autoSizeMaxTextSize, displayMetrics);
264 unit, autoSizeStepGranularity, displayMetrics);
279 * @param unit the desired dimension unit for the preset sizes above. See {@link TypedValue} for
296 void setAutoSizeTextTypeUniformWithPresetSizes(@NonNull int[] presetSizes, int unit) argument
303 if (unit
252 setAutoSizeTextTypeUniformWithConfiguration( int autoSizeMinTextSize, int autoSizeMaxTextSize, int autoSizeStepGranularity, int unit) argument
579 setTextSizeInternal(int unit, float size) argument
[all...]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
H A DWifiSoftAPTest.java17 package com.android.connectivitymanagertest.unit;
/frameworks/av/media/libstagefright/tests/
H A DAndroid.mk1 # Build the unit tests.
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaFrameworkUnitTestRunner.java21 import com.android.mediaframeworktest.unit.*;
26 * Instrumentation Test Runner for all media framework unit tests.
32 * Example on running all unit tests for a single class:
34 * com.android.mediaframeworktest.unit.MediaMetadataRetrieverUnitTest \
37 * Example on running all unit tests for the media framework:
72 // Running all unit tests checking the state machine may be time-consuming.
77 // Running all unit tests checking the state machine may be time-consuming.
89 // Running all unit tests checking the state machine may be time-consuming.
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSDualTileLabel.java129 public void setTextSize(int unit, float size) { argument
130 mFirstLine.setTextSize(unit, size);
131 mSecondLine.setTextSize(unit, size);
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
H A DBlockingSessionCallback.java291 public CameraCaptureSession get(long timeout, TimeUnit unit) throws TimeoutException { argument
292 long timeoutMs = unit.convert(timeout, TimeUnit.MILLISECONDS);
295 "Failed to receive session after " + timeout + " " + unit);
/frameworks/base/media/java/android/media/
H A DTtmlRenderer.java151 String unit = matcher.group(2);
152 if (unit.equals("h")) {
154 } else if (unit.equals("m")) {
156 } else if (unit.equals("s")) {
158 } else if (unit.equals("ms")) {
160 } else if (unit.equals("f")) {
162 } else if (unit.equals("t")) {
/frameworks/support/core-ui/java/android/support/v4/view/
H A DPagerTitleStrip.java208 * Set the default text size to a given unit and value.
214 * @param unit The desired dimension unit
217 public void setTextSize(int unit, float size) { argument
218 mPrevText.setTextSize(unit, size);
219 mCurrText.setTextSize(unit, size);
220 mNextText.setTextSize(unit, size);
/frameworks/support/wear/src/android/support/wear/widget/drawer/
H A DPageIndicatorView.java345 public void setDotFadeOutDuration(int duration, TimeUnit unit) { argument
346 mDotFadeOutDuration = (int) TimeUnit.MILLISECONDS.convert(duration, unit);
363 public void setDotFadeInDuration(int duration, TimeUnit unit) { argument
364 mDotFadeInDuration = (int) TimeUnit.MILLISECONDS.convert(duration, unit);
/frameworks/base/core/java/android/os/
H A DAsyncTask.java550 * @param unit The time unit for the timeout.
560 public final Result get(long timeout, TimeUnit unit) throws InterruptedException, argument
562 return mFuture.get(timeout, unit);
/frameworks/base/core/java/android/util/
H A DTypedValue.java91 /** Complex data: bit location of unit information. */
93 /** Complex data: mask to extract unit information (after shifting by
98 /** {@link #TYPE_DIMENSION} complex unit: Value is raw pixels. */
100 /** {@link #TYPE_DIMENSION} complex unit: Value is Device Independent
103 /** {@link #TYPE_DIMENSION} complex unit: Value is a scaled pixel. */
105 /** {@link #TYPE_DIMENSION} complex unit: Value is in points. */
107 /** {@link #TYPE_DIMENSION} complex unit: Value is in inches. */
109 /** {@link #TYPE_DIMENSION} complex unit: Value is in millimeters. */
112 /** {@link #TYPE_FRACTION} complex unit: A basic fraction of the overall
115 /** {@link #TYPE_FRACTION} complex unit
366 applyDimension(int unit, float value, DisplayMetrics metrics) argument
[all...]
/frameworks/support/compat/java/android/support/v4/content/
H A DModernAsyncTask.java353 * @param unit The time unit for the timeout.
363 public final Result get(long timeout, TimeUnit unit) throws InterruptedException, argument
365 return mFuture.get(timeout, unit);
/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";

Completed in 3615 milliseconds

12345