/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | FilterUtils.java | 30 // A clustered album (not including album set) and its base sets are fixed. 175 public static String newFilterPath(String base, int filterType) { argument 185 return base; 188 return "/filter/mediatype/" + mediaType + "/{" + base + "}"; 192 public static String newClusterPath(String base, int clusterType) { argument 211 return base; 214 return "/cluster/{" + base + "}/" + kind; 218 public static String switchFilterPath(String base, int filterType) { argument 219 return newFilterPath(removeOneFilterFromPath(base), filterType); 223 public static String switchClusterPath(String base, in argument 228 removeOneClusterFromPath(String base) argument 233 removeOneClusterFromPath(String base, boolean[] done) argument 263 removeOneFilterFromPath(String base) argument 268 removeOneFilterFromPath(String base, boolean[] done) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/ |
H A D | RendererUtils.java | 186 // Calculate the base flip coordinates. 187 float[] base = getFitVertices(srcWidth, srcHeight, dstWidth, dstHeight); 190 base[0] = -base[0]; 191 base[4] = base[0]; 192 base[2] = -base[2]; 193 base[6] = base[ [all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
H A D | njd.h | 60 #define CALCULATE_HINDO(freq, base, high, div) \ 61 ((NJ_HINDO)((((freq) * ((high) - (base))) / (div)) + (base)))
|
/packages/inputmethods/PinyinIME/jni/include/ |
H A D | mystdlib.h | 27 void *mybsearch(const void *key, const void *base,
|
/packages/apps/Exchange/tests/src/com/android/exchange/ |
H A D | ExchangeServiceTest.java | 30 public MyContext(Context base) { argument 31 super(base);
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
H A D | Pyramid.cpp | 116 ImageTypeShort base; local 123 base = pyr->ptr[-h] - off; 126 for (h = height; h--; base += pyr->pitch) { 128 base[-1 - w] = base[0]; 130 base[off2 + w + 1] = base[off2]; 136 base = pyr->ptr[top - pyr->border] - pyr->border; 137 for (h = top; h--; base -= pyr->pitch) { 138 memcpy(base [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | Paper.java | 73 public float[] getTransform(Position target, Position base, argument 90 Matrix.translateM(mMatrix, 0, mMatrix, 0, base.x, base.y, base.z); 93 target.x - base.x, target.y - base.y, target.z - base.z);
|
H A D | SlotView.java | 208 public void putDisplayItem(Position target, Position base, DisplayItem item) { argument 210 ItemEntry entry = new ItemEntry(item, target, base); 362 position, entry.base, mScrollX, mScrollY), 0); 389 public Position base; field in class:SlotView.ItemEntry 391 public ItemEntry(DisplayItem item, Position target, Position base) { argument 394 this.base = base;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | SymmetricalLinearTween.java | 67 * {@link SystemClock.uptimeMillis} time base. This allows you to 90 long base = mBase; 92 long diff = now-base; 107 long next = base + ((frame+1)*FRAME_TIME);
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
H A D | BaseImageList.java | 179 Uri base = mBaseUri; 180 return Util.equals(base.getScheme(), uri.getScheme()) 181 && Util.equals(base.getHost(), uri.getHost()) 182 && Util.equals(base.getAuthority(), uri.getAuthority()) 183 && Util.equals(base.getPath(), getPathWithoutId(uri));
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppReceiveFileInfo.java | 110 File base = null; 115 base = new File(root + Constants.DEFAULT_STORE_SUBDIR); 116 if (!base.isDirectory() && !base.mkdir()) { 117 if (D) Log.d(Constants.TAG, "Receive File aborted - can't create base directory " 118 + base.getPath()); 121 stat = new StatFs(base.getPath()); 151 filename = base.getPath() + File.separator + filename; 222 * is [base].[ext], the generated filenames are [base] [all...] |
/packages/apps/Calculator/src/com/android/calculator2/ |
H A D | HistoryAdapter.java | 74 String base = entry.getBase(); 78 String res = mEval.evaluate(base);
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/ |
H A D | ContactsMockContext.java | 44 public ContactsMockContext(Context base) { argument 45 super(base);
|
/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
H A D | FakeAsyncTaskExecutor.java | 19 import static com.google.common.base.Preconditions.checkNotNull; 20 import static com.google.common.base.Preconditions.checkState; 22 import com.google.common.base.Preconditions;
|
/packages/inputmethods/LatinIME/native/src/ |
H A D | correction.cpp | 560 inline static void multiplyIntCapped(const int multiplier, int *base) { argument 561 const int temp = *base; 565 *base = TWO_31ST_DIV_2 >= temp ? temp << 1 : S_INT_MAX; 571 *base = tempRetval >= temp ? tempRetval : S_INT_MAX; 576 inline static int powerIntCapped(const int base, const int n) { argument 578 if (base == 2) { 581 int ret = base; 582 for (int i = 1; i < n; ++i) multiplyIntCapped(base, &ret);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | AsyncTaskExecutors.java | 20 import com.google.common.base.Preconditions;
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
H A D | WnnDictionary.java | 135 * {@code base} is the bias of frequency for the dictionary.<br> 138 * Searched word's frequency in the dictionary is mapped to the range from {@code base} to {@code high}. 140 * The maximum value of {@code base} and {@code high} is 1000. 141 * To set a dictionary unused, specify -1 to {@code base} and {@code high}. 144 * @param base The base frequency for the dictionary 148 public int setDictionary(int index, int base, int high ); argument
|
H A D | OpenWnnDictionaryImplJni.java | 208 * @param base The base frequency or -1 212 public static final native int setDictionaryParameter( long work, int index, int base, int high ); argument
|
/packages/apps/Email/src/com/android/email/ |
H A D | MessageListContext.java | 28 import com.google.common.base.Objects; 29 import com.google.common.base.Preconditions;
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
H A D | AccountTypeWithDataSet.java | 19 import com.google.common.base.Objects;
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
H A D | SearchParams.java | 23 import com.google.common.base.Objects;
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
H A D | ImageRecord.java | 20 import com.google.common.base.Preconditions;
|
H A D | MimeRecord.java | 21 import com.google.common.base.Preconditions;
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | StorageManager.java | 287 File base = new File(mExternalStorageDir.getPath() + Constants.DEFAULT_DL_SUBDIR); 288 if (!base.isDirectory() && !base.mkdir()) { 292 "unable to create external downloads directory " + base.getPath()); 294 return base;
|
H A D | Helpers.java | 83 File base = null; 87 base = storageManager.locateDestinationDirectory(mimeType, destination, 93 path = getFullPath(path, mimeType, destination, base); 100 static String getFullPath(String filename, String mimeType, int destination, File base) argument 114 // Split filename between base and extension 126 if (base != null) { 127 filename = base.getPath() + File.separator + filename; 347 * If the filename coming in is [base].[ext], the generated filenames are 348 * [base]-[sequence].[ext].
|