Home
last modified time | relevance | path

Searched refs:sourceSize (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationTask.java83 HashSet<String> validPackages, Point sourceSize, Point targetSize) { in GridSizeMigrationTask() argument
88 mSrcX = sourceSize.x; in GridSizeMigrationTask()
89 mSrcY = sourceSize.y; in GridSizeMigrationTask()
907 Point sourceSize = parsePoint(prefs.getString(
913 srcHotseatCount, sourceSize.x, sourceSize.y);
916 srcHotseatCount = backupTable.getRestoreHotseatAndGridSize(sourceSize);
930 .migrate(sourceSize, targetSize)) {
1023 public boolean migrate(Point sourceSize, Point targetSize) throws Exception {
1025 if (!targetSize.equals(sourceSize)) {
1026 if (sourceSize.x < targetSize.x) {
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DLevenshteinDistance.java39 final int sourceSize = source.length; in LevenshteinDistance() local
41 final int[][] editTab = new int[sourceSize+1][targetSize+1]; in LevenshteinDistance()
42 final int[][] distTab = new int[sourceSize+1][targetSize+1]; in LevenshteinDistance()
45 for (int i = 1; i <= sourceSize; ++i) { in LevenshteinDistance()
/packages/inputmethods/LatinIME/native/jni/src/
Ddefines.h48 AK_FORCE_INLINE static int intArrayToCharArray(const int *const source, const int sourceSize, in intArrayToCharArray() argument
55 while (si < sourceSize && di < destLimit && 0 != source[si]) { in intArrayToCharArray()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DGridSizeMigrationTaskTest.java352 protected boolean runStepTask(Point sourceSize, Point nextSize) throws Exception { in runStepTask() argument
353 assertEquals(sourceSize, mPoints.poll()); in runStepTask()