/packages/modules/NeuralNetworks/tools/api/ |
D | README.md | 76 context -- the *region* in which that line appears. 85 * A conditional region can enclose a section region. 86 * A section region can enclose a conditional region. 90 * A conditional region can be enclosed by a section region. 91 * A section region can be enclosed by a conditional region. 93 #### null region 95 A *null region* is a sequence of lines that is not part of any other region. 97 `%define` and `%define-kinds` consists of a single null region. 99 Within a null region, all lines other than directives are treated as comments 102 #### conditional region [all …]
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | ZoomView.java | 112 Rect region = new Rect(); in doInBackground() local 113 visibleInImage.round(region); in doInBackground() 116 region.intersect(0, 0, imageSize.x - 1, imageSize.y - 1); in doInBackground() 118 if (region.width() == 0 || region.height() == 0) { in doInBackground() 119 Log.e(TAG, "Invalid size for partial region. Region: " + region.toString()); in doInBackground() 129 options.inSampleSize = getSampleFactor(region.width(), region.height()); in doInBackground() 135 options.inSampleSize = getSampleFactor(region.height(), region.width()); in doInBackground() 154 Bitmap b = mDecoder.decodeRegion(region, options); in doInBackground()
|
/packages/modules/Virtualization/vmbase/src/memory/ |
D | shared.rs | 144 let region = MemoryRegion { range: range.clone(), mem_type: MemoryType::ReadOnly }; in alloc_range() localVariable 145 self.check_allocatable(®ion)?; in alloc_range() 150 self.add(region) in alloc_range() 163 let region = MemoryRegion { range: range.clone(), mem_type: MemoryType::ReadOnly }; in alloc_range_outside_main_memory() localVariable 164 self.check_no_overlap(®ion)?; in alloc_range_outside_main_memory() 169 self.add(region) in alloc_range_outside_main_memory() 174 let region = MemoryRegion { range: range.clone(), mem_type: MemoryType::ReadWrite }; in alloc_range_mut() localVariable 175 self.check_allocatable(®ion)?; in alloc_range_mut() 180 self.add(region) in alloc_range_mut() 229 fn check_allocatable(&self, region: &MemoryRegion) -> Result<()> { in check_allocatable() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | PostalSplitter.java | 37 public String region; field in PostalSplitter.Postal 46 region = values.getAsString(StructuredPostal.REGION); in fromValues() 56 values.put(StructuredPostal.REGION, region); in toValues() 87 postal.region, postal.postcode, postal.country in join() 104 final boolean hasRegion = !TextUtils.isEmpty(postal.region); in joinJaJp() 133 builder.append(postal.region); in joinJaJp() 170 final boolean hasRegion = !TextUtils.isEmpty(postal.region); in joinEnUs() 207 builder.append(postal.region); in joinEnUs()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | PostalSplitterTest.java | 99 String neighborhood, String city, String region, String postcode, String country) { in assertSplitPostal() argument 106 assertEquals(region, postal.region); in assertSplitPostal() 112 String neighborhood, String city, String region, String postcode, String country) { in assertJoinedPostal() argument 118 postal.region = region; in assertJoinedPostal()
|
D | PostalSplitterForJapaneseTest.java | 115 String neighborhood, String city, String region, String postcode, String country) { in assertSplitPostal() argument 122 assertEquals(region, postal.region); in assertSplitPostal() 128 String neighborhood, String city, String region, String postcode, String country) { in assertJoinedPostal() argument 134 postal.region = region; in assertJoinedPostal()
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | CarAppMetadataReader.java | 154 for (String region: regions) { in getSupportedDrivingSafetyRegionsForActivityAsUser() 155 if (CarPackageManager.DRIVING_SAFETY_REGION_ALL.equals(region)) { in getSupportedDrivingSafetyRegionsForActivityAsUser() 172 for (String region: regions) { in isRegionSupported() 173 if (CarPackageManager.DRIVING_SAFETY_REGION_ALL.equals(region)) { in isRegionSupported() 176 if (currentRegion.equals(region)) { in isRegionSupported()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/ |
D | UIStats.java | 97 public void setRegion(int region) { in setRegion() argument 98 mRegion = region; in setRegion() 156 public @NonNull UIStats.Builder setRegion(int region) { in setRegion() argument 157 mBuilding.mRegion = region; in setRegion()
|
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/ |
D | AttachmentGridItemView.java | 77 final Rect region = new Rect(); in onFinishInflate() 78 mCheckBox.getHitRect(region); in onFinishInflate() 79 region.inset(-touchAreaIncrease, -touchAreaIncrease); in onFinishInflate() 80 setTouchDelegate(new TouchDelegate(region, mCheckBox)); in onFinishInflate()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | OrientationTouchTransformer.java | 159 OrientationRectF region = mSwipeTouchRegions.get(mCachedDisplayInfo); in createOrAddTouchRegion() local 160 if (region != null) { in createOrAddTouchRegion() 209 private void resetSwipeRegions(Info region) { in resetSwipeRegions() argument 214 mCachedDisplayInfo = new CachedDisplayInfo(region.currentSize, region.rotation); in resetSwipeRegions() 217 regionToKeep = createRegionForDisplay(region); in resetSwipeRegions()
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestPartitioningRandom.cpp | 957 float* region = in TEST_P() local 960 std::generate(region, region + problemSize * problemSize, [this] { return randFrac(); }); in TEST_P() 1339 float* region = static_cast<float*>( in TEST_P() local 1346 region); in TEST_P() 1349 std::fill(region, region + problemSize * problemSize, goldenOutput); in TEST_P() 1377 float* region = static_cast<float*>(ioMemories.getRegion(desc.mMemoryRegion)); in TEST_P() local 1378 std::copy(region, region + problemSize * problemSize, in TEST_P() 1415 float* region = static_cast<float*>(ioMemories.getRegion(desc.mMemoryRegion)); in TEST_P() local 1418 dump(region, region + problemSize * problemSize); in TEST_P() 1420 ASSERT_TRUE(std::equal(region, region + problemSize * problemSize, in TEST_P()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | FaceClustering.java | 58 Rect region = face.getPosition(); in add() local 59 if (mCoverRegion.width() < region.width() && in add() 60 mCoverRegion.height() < region.height()) { in add()
|
/packages/modules/adb/coverage/ |
D | report.sh | 15 --show-region-summary=false \ 22 --show-region-summary=false
|
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/ |
D | ZonePickerSettingsTest.java | 115 private void testSelectTimeZone(String region, String timezone, String expectedTimeZoneOffset, in testSelectTimeZone() argument 128 wait(By.res("android", "search_src_text")).setText(region.substring(0, 2)); in testSelectTimeZone() 130 selectItemInList(new UiSelector().textContains(region)) in testSelectTimeZone()
|
/packages/apps/TV/common/src/com/android/tv/common/util/ |
D | PostalCodeUtils.java | 106 public static boolean matches(@NonNull CharSequence postcode, @NonNull String region) { in matches() argument 107 Pattern pattern = REGION_PATTERN.get(region.toUpperCase()); in matches()
|
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/ |
D | IconNormalizer.java | 141 Region region = new Region(); in normalizeAdaptiveIcon() local 142 region.setPath(path, new Region(0, 0, size, size)); in normalizeAdaptiveIcon() 144 Rect hullBounds = region.getBounds(); in normalizeAdaptiveIcon() 145 int hullArea = GraphicsUtils.getArea(region); in normalizeAdaptiveIcon()
|
/packages/apps/Launcher3/src/com/android/launcher3/celllayout/ |
D | ReorderAlgorithm.java | 429 private boolean isConfigurationRegionOccupied(Rect region, ItemConfiguration configuration, in isConfigurationRegionOccupied() argument 436 .anyMatch(cellAndSpan -> region.intersect( in isConfigurationRegionOccupied() 544 Rect region = new Rect(targetDestination[0], targetDestination[1], in getDirectionVectorForDrop() local 547 Rect dropRegionRect = mCellLayout.getIntersectingRectanglesInRegion(region, in getDirectionVectorForDrop() 549 if (dropRegionRect == null) dropRegionRect = new Rect(region); in getDirectionVectorForDrop()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarInsetsController.kt | 414 val region = in <lambda>() constant 429 region.op(bubbleBarBounds, Region.Op.UNION) in <lambda>() 431 insetsInfo.touchableRegion.set(region) in <lambda>() 433 debugTouchableRegion.lastSetTouchableBounds.set(region.bounds) in <lambda>()
|
/packages/apps/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/data/ |
D | SectionParserTest.java | 161 private static RatingRegion createRatingRegionForTest(String values, int region) { in createRatingRegionForTest() argument 175 return new RatingRegion(region, "", regionalRatings); in createRatingRegionForTest()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/ |
D | PostalCodeFragment.java | 81 String region = LocationUtils.getCurrentCountry(getContext()); in setOnClickAction() 82 if (postalCode != null && PostalCodeUtils.matches(postalCode, region)) { in setOnClickAction()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | VCardResourceEntry.java | 305 final String region = postalData.getRegion(); 306 if (!TextUtils.isEmpty(region)) { 307 sb.append(region);
|
/packages/modules/Virtualization/pvmfw/ |
D | README.md | 19 (“pvmfw”) in the pVM from a protected memory region (this prevents the host or 55 Instead, it receives a pre-loaded memory region from a trusted pvmfw loader and 58 to know how to interpret or obtain the content of that region. 80 To support pKVM, ABL is expected to describe the region using a reserved memory 82 page size used by the hypervisor. This single region must include both the pvmfw 84 node describes a region of size `0x40000` at address `0x80000000`: 103 by appending it to the pvmfw binary and including it in the region passed to the 299 loaded at address `0x7fc0_0000` and uses the 2MiB region at address 416 kernel region (see `/config/kernel-{address,size}` described above) to contain
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | GalleryGridItemView.java | 105 final Rect region = new Rect(0, 0, getWidth(), getHeight()); in onFinishInflate() 106 setTouchDelegate(new TouchDelegate(region, mCheckBox) { in onFinishInflate()
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | DrivingSafetyRegionTest.java | 272 private void setDrivingSafetyRegion(String region) { in setDrivingSafetyRegion() argument 273 runShellCommand("cmd car_service set-drivingsafety-region " + region); in setDrivingSafetyRegion()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/cobalt/ |
D | MeasurementCobaltLoggerTest.java | 362 int region, in verifyLoggedEvent() argument 368 ImmutableList.of(surfaceType, sourceTriggerType, statusEvent, region)); in verifyLoggedEvent()
|