Home
last modified time | relevance | path

Searched refs:j (Results 1 – 17 of 17) sorted by relevance

/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DFontsUtils.kt93 for (j in 0..<fromValue.length) { in stringReplaceOnce()
94 if (contents[i + j] != fromValue.get(j).toByte()) { in stringReplaceOnce()
100 for (j in 0..<toValue.length) { in stringReplaceOnce()
101 contents[i + j] = toValue.get(j).toByte(); in stringReplaceOnce()
DMaterialYouColorsSimulationUtils.kt66 for (j in (col - FILTER_SIZE)..(col + FILTER_SIZE)) { in fillAverageColorForUnmappedPixel() variable
67 val pixelValue = colorValidArray[j + i * bitmapWidth] in fillAverageColorForUnmappedPixel()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DChromeOpenTabsRule.java48 for (int j = 0; j < links.length; j++) { in starting()
49 sChomeHelper.get().addNewTab(links[j]); in starting()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DBusinessLogicFactory.java175 for (int j = 0; j < rulesJSONArray.length(); j++) { in extractRulesList()
176 JSONObject ruleJSONObject = rulesJSONArray.getJSONObject(j); in extractRulesList()
216 for (int j = 0; j < methodArgsJSONArray.length(); j++) { in extractRuleConditionList()
217 methodArgs.add(methodArgsJSONArray.getString(j)); in extractRuleConditionList()
242 for (int j = 0; j < methodArgsJSONArray.length(); j++) { in extractRuleActionList()
243 methodArgs.add(methodArgsJSONArray.getString(j)); in extractRuleActionList()
DReadElf.java1078 for (int j = 0; j < this.mVerNeedArr[i].vn_cnt; j++) { in getVerNeed()
1079 if (this.mVerNeedArr[i].vn_vernaux[j].vna_other == ndx) { in getVerNeed()
1106 for (int j = 0; j < mVerNeedArr[i].vn_cnt; j++) { in getVerNeedArr()
1108 mVerNeedArr[i].vn_vernaux[j] = in getVerNeedArr()
1110 mVerNeedArr[i].vn_vernaux[j].vna_lib_name = in getVerNeedArr()
1111 readDynStrTabEntry(mVerNeedArr[i].vn_vernaux[j].vna_name); in getVerNeedArr()
1112 idxAux += mVerNeedArr[i].vn_vernaux[j].vna_next; in getVerNeedArr()
1146 for (int j = 0; j < mVerDefArr[i].vd_cnt; j++) { in getVerDef()
1148 mVerDefArr[i].vd_verdaux[j] = new VerDAux(readWord(), readWord()); in getVerDef()
1149 mVerDefArr[i].vd_verdaux[j].vda_lib_name = in getVerDef()
[all …]
DCrashUtils.java188 .mapToObj(j -> backtrace.optJSONObject(j)) in matchSecurityCrashes()
202 .mapToObj(j -> backtrace.optJSONObject(j)) in matchSecurityCrashes()
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/matchers/
DBitmapMatcher.kt77 for (j in 0..<width) { in <lambda>()
78 val actualIndex = i * actualWidth + j in <lambda>()
79 val expectedIndex = i * expectedWidth + j in <lambda>()
84 diffArray.value[i * width + j] = Color.MAGENTA in <lambda>()
DAlmostPerfectMatcher.kt102 for (j in 0..<width) { in <lambda>()
103 val actualIndex = i * actualWidth + j in <lambda>()
104 val expectedIndex = i * expectedWidth + j in <lambda>()
109 diffArray.value[i * width + j] = Color.MAGENTA in <lambda>()
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/matchers/
DAlmostPerfectMatcherTest.kt137 for (j in 0 until first.width) { in performDiff_sameSize_partialCompare_checkDiffImage() constant
139 val colInRange = j >= interestingRegion.left && j <= interestingRegion.right in performDiff_sameSize_partialCompare_checkDiffImage()
141 assertThat(diffImage[i * first.width + j] == 0).isTrue() in performDiff_sameSize_partialCompare_checkDiffImage()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/
DColorUtils.kt58 for (j in 0 until height) { in darkerThan() method
59 if (getColor(i, j).toArgb() != Color.BLACK) { in darkerThan()
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/
DPixelPerfectMatcherTest.kt178 for (j in 0 until first.width) { in performDiff_sameSize_partialCompare_checkDiffImage() constant
180 val colInRange = j >= interestingRegion.left && j <= interestingRegion.right in performDiff_sameSize_partialCompare_checkDiffImage()
182 assertThat(diffImage[i * first.width + j] == 0).isTrue() in performDiff_sameSize_partialCompare_checkDiffImage()
DMSSIMMatcherTest.kt80 for (j in startWidth..endWidth) { in performDiff_sameRegion() constant
81 filter[j + i * first.width] = true in performDiff_sameRegion()
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/
DSfStatsCollectionHelper.java180 for (int j = 0; j < lines.length; j++) { in getStatPairs()
181 Matcher keyValueMatcher = KEY_VALUE_PATTERN.matcher(lines[j].trim()); in getStatPairs()
/platform_testing/tests/jank/androidtvjanktests/src/com/android/androidtv/janktests/
DSystemUiJankTests.java144 for(int j = 0; j < LOOP_SETTINGS_PREFERENCE; j++){ in navigateDownAndUpCurrentScreen()
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
DTimedStatement.java79 for (int j = 0; j < bytes; j++) { in calibrateMethod()
/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/
DDownloadAppTestHelper.java297 for (int j = 0; j < length; j++) { in randomWord()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/wm/
DWindowManagerStateSubject.kt287 for (j in i + 1 until regions.size) { in <lambda>() constant
288 val (otherTitle, otherRegion) = regions[j] in <lambda>()