Home
last modified time | relevance | path

Searched refs:primary (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/av/services/audiopolicy/
Daudio_policy.conf84 primary {
106 primary {
115 primary {
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewActions.java333 boolean primary) { in dragHandle() argument
338 new HandleCoordinates(textView, handleType, endIndex, primary), in dragHandle()
407 public HandleCoordinates(TextView textView, Handle handleType, int index, boolean primary) { in HandleCoordinates() argument
411 mPrimary = primary; in HandleCoordinates()
414 + " (" + (primary ? "primary" : "secondary" ) + ")"; in HandleCoordinates()
494 public TextCoordinates(int index, boolean primary) { in TextCoordinates() argument
496 mPrimary = primary; in TextCoordinates()
498 + " (" + (primary ? "primary" : "secondary" ) + ")"; in TextCoordinates()
523 private float[] locateTextAtIndex(TextView textView, int index, boolean primary) { in locateTextAtIndex() argument
530 (primary ? layout.getPrimaryHorizontal(index) in locateTextAtIndex()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DPackageDexUsageTests.java335 private void assertPackageDexUsage(TestData primary, TestData... secondaries) { in assertPackageDexUsage() argument
336 String packageName = primary == null ? secondaries[0].mPackageName : primary.mPackageName; in assertPackageDexUsage()
337 boolean primaryUsedByOtherApps = primary == null ? false : primary.mUsedByOtherApps; in assertPackageDexUsage()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsCbEtwsInfo.java76 boolean primary, byte[] warningSecurityInformation) { in SmsCbEtwsInfo() argument
80 mPrimary = primary; in SmsCbEtwsInfo()
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/
DDomainMatcher.java67 public DomainMatcher(List<String> primary, List<List<String>> secondary) { in DomainMatcher() argument
73 mRoot.addDomain(primary.iterator(), Match.Primary); in DomainMatcher()
/frameworks/data-binding/compiler/src/test/java/android/databinding/
DBindingExpressionParserTest.java147 PrimaryContext primary = parsePrimary("int.class"); in testPrimitiveClassExtraction() local
148 PrimitiveTypeContext type = primary.classExtraction().type().primitiveType(); in testPrimitiveClassExtraction()
154 PrimaryContext primary = parsePrimary("abcdEfg"); in testIdentifier() local
155 assertEquals("abcdEfg", primary.identifier().getText()); in testIdentifier()
/frameworks/base/services/core/java/com/android/server/notification/
DCalendarTracker.java94 final String primary = "\"primary\""; in getPrimaryCalendars() local
96 "(" + Calendars.ACCOUNT_NAME + "=" + Calendars.OWNER_ACCOUNT + ") AS " + primary }; in getPrimaryCalendars()
97 final String selection = primary + " = 1"; in getPrimaryCalendars()
/frameworks/base/core/java/android/os/storage/
DStorageVolume.java124 public StorageVolume(String id, int storageId, File path, String description, boolean primary, in StorageVolume() argument
131 mPrimary = primary; in StorageVolume()
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java533 final StorageVolume primary = storage.getPrimaryVolume(); in fitsOnExternal() local
534 return (params.sizeBytes > 0) && !primary.isEmulated() in fitsOnExternal()
535 && Environment.MEDIA_MOUNTED.equals(primary.getState()) in fitsOnExternal()
536 && params.sizeBytes <= storage.getStorageBytesUntilLow(primary.getPathFile()); in fitsOnExternal()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java157 EnforcedAdmin primary = RestrictedLockUtils.checkIfKeyguardFeaturesDisabled( in checkIfKeyguardFeaturesAreDisabled_notMatchOtherFeatures_unifiedManagedProfile() local
159 assertThat(primary).isNull(); in checkIfKeyguardFeaturesAreDisabled_notMatchOtherFeatures_unifiedManagedProfile()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DPlaybackControlsRowPresenter.java124 Presenter getPresenter(boolean primary) { in getPresenter() argument
125 ObjectAdapter adapter = primary in getPresenter()
134 return primary ? selector.getPrimaryPresenter() in getPresenter()
DPlaybackTransportRowPresenter.java427 Presenter getPresenter(boolean primary) { in getPresenter() argument
428 ObjectAdapter adapter = primary in getPresenter()
DGridLayoutManager.java2234 int primary = newFocusViewCenter - getAdjustedViewCenter(newFocusView); in onLayoutChildren() local
2238 scrollX = primary; in onLayoutChildren()
2241 scrollY = primary; in onLayoutChildren()
2254 scrollAndAppendPrepend(-primary, -secondary); in onLayoutChildren()
2263 scrollAndAppendPrepend(-primary, -secondary); in onLayoutChildren()
2303 void scrollAndAppendPrepend(int primary, int secondary) { in scrollAndAppendPrepend() argument
2304 scrollDirectionPrimary(primary); in scrollAndAppendPrepend()
/frameworks/base/core/java/android/text/
DLayout.java1065 private float getHorizontal(int offset, boolean primary) { in getHorizontal() argument
1066 return primary ? getPrimaryHorizontal(offset) : getSecondaryHorizontal(offset); in getHorizontal()
1321 public int getOffsetForHorizontal(int line, float horiz, boolean primary) { in getOffsetForHorizontal() argument
1341 float bestdist = Math.abs(getHorizontal(best, primary) - horiz); in getOffsetForHorizontal()
1357 if (getHorizontal(adguess, primary) * swap >= horiz * swap) { in getOffsetForHorizontal()
1371 float dist = Math.abs(getHorizontal(low, primary) - horiz); in getOffsetForHorizontal()
1373 float other = Math.abs(getHorizontal(aft, primary) - horiz); in getOffsetForHorizontal()
1388 float dist = Math.abs(getHorizontal(here, primary) - horiz); in getOffsetForHorizontal()
1396 float dist = Math.abs(getHorizontal(max, primary) - horiz); in getOffsetForHorizontal()
/frameworks/av/media/libstagefright/matroska/
DMatroskaExtractor.cpp1095 static inline bool isValidPrimary(const mkvparser::PrimaryChromaticity *primary) { in isValidPrimary() argument
1096 return primary != NULL && primary->x >= 0 && primary->x <= 1 in isValidPrimary()
1097 && primary->y >= 0 && primary->y <= 1; in isValidPrimary()
/frameworks/av/drm/mediacas/plugins/clearkey/protos/
Dlicense_protos.proto45 // Organization table and part of the primary key for the Asset table.
/frameworks/base/core/java/android/widget/
DDialerFilter.java70 mPrimary = (EditText) findViewById(com.android.internal.R.id.primary); in onFinishInflate()
DTextView.java10492 final float primary = mLayout.getPrimaryHorizontal(offset); in populateCharacterBounds() local
10503 left = primary; in populateCharacterBounds()
10504 right = primary + charWidth; in populateCharacterBounds()
10511 left = primary - charWidth; in populateCharacterBounds()
10512 right = primary; in populateCharacterBounds()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java279 final StorageVolume primary = storageManager.getPrimaryVolume(); in systemReady() local
280 massStorageSupported = primary != null && primary.allowMassStorage(); in systemReady()
/frameworks/rs/script_api/include/
Drs_object_info.rsh28 * Allocations are the primary method used to pass data to and from RenderScript kernels.
/frameworks/native/vulkan/doc/implementors_guide/
Dimplementors_guide.adoc11 The primary interface between Vulkan applications and a device's Vulkan driver is the loader, which…
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java3213 final boolean primary = true; in getVolumeList()
3224 description, primary, removable, emulated, mtpReserveSize, in getVolumeList()
/frameworks/opt/setupwizard/tools/docs/
Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ ...
Dandroid-22.txt1702 field public static final int primary = 16908300; // 0x102000c
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...

12