Searched refs:base (Results 1 - 25 of 69) sorted by relevance

123

/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
H A Dnjd.h60 #define CALCULATE_HINDO(freq, base, high, div) \
61 ((NJ_HINDO)((((freq) * ((high) - (base))) / (div)) + (base)))
/packages/inputmethods/PinyinIME/jni/include/
H A Dmystdlib.h27 void *mybsearch(const void *key, const void *base,
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DFilterUtils.java30 // A clustered album (not including album set) and its base sets are fixed.
176 public static String newFilterPath(String base, int filterType) { argument
186 return base;
189 return "/filter/mediatype/" + mediaType + "/{" + base + "}";
193 public static String newClusterPath(String base, int clusterType) { argument
212 return base;
215 return "/cluster/{" + base + "}/" + kind;
219 public static String switchClusterPath(String base, int clusterType) { argument
220 return newClusterPath(removeOneClusterFromPath(base), clusterType);
224 private static String removeOneClusterFromPath(String base) { argument
229 removeOneClusterFromPath(String base, boolean[] done) argument
[all...]
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/
H A DExchangeServiceTest.java30 public MyContext(Context base) { argument
31 super(base);
/packages/apps/Exchange/tests/src/com/android/exchange/
H A DExchangeServiceTest.java30 public MyContext(Context base) { argument
31 super(base);
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DPyramid.cpp116 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/LegacyCamera/jni/feature_mos/src/mosaic/
H A DPyramid.cpp116 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/Launcher2/src/com/android/launcher2/
H A DSymmetricalLinearTween.java67 * {@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/inputmethods/LatinIME/native/jni/src/
H A Dcorrection.h150 inline static void multiplyIntCapped(const int multiplier, int *base) { argument
151 const int temp = *base;
160 *base = 0;
162 *base = TWO_31ST_DIV_2 >= temp ? temp << 1 : S_INT_MAX;
168 *base = tempRetval >= temp ? tempRetval : S_INT_MAX;
173 inline static int powerIntCapped(const int base, const int n) { argument
175 if (base == 2) {
178 int ret = base;
179 for (int i = 1; i < n; ++i) multiplyIntCapped(base, &ret);
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DBaseImageList.java179 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 DBluetoothOppReceiveFileInfo.java111 File base = null;
116 base = new File(root + Constants.DEFAULT_STORE_SUBDIR);
117 if (!base.isDirectory() && !base.mkdir()) {
118 if (D) Log.d(Constants.TAG, "Receive File aborted - can't create base directory "
119 + base.getPath());
122 stat = new StatFs(base.getPath());
156 filename = base.getPath() + File.separator + filename;
227 * is [base].[ext], the generated filenames are [base]
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DResourceUtils.java88 public static float getDimensionOrFraction(TypedArray a, int index, int base, argument
95 return a.getFraction(index, base, base, defValue);
/packages/apps/Calculator/src/com/android/calculator2/
H A DHistoryAdapter.java74 String base = entry.getBase();
78 String res = mEval.evaluate(base);
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/
H A DContactsMockContext.java44 public ContactsMockContext(Context base) { argument
45 super(base);
H A DMockAccountTypeManager.java22 import com.google.common.base.Objects;
/packages/apps/Contacts/src/com/android/contacts/util/
H A DAsyncTaskExecutors.java23 import com.google.common.base.Preconditions;
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DWnnDictionary.java135 * {@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 DOpenWnnDictionaryImplJni.java208 * @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 DMessageListContext.java28 import com.google.common.base.Objects;
29 import com.google.common.base.Preconditions;
/packages/apps/Contacts/src/com/android/contacts/model/account/
H A DAccountTypeWithDataSet.java27 import com.google.common.base.Objects;
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DSearchParams.java23 import com.google.common.base.Objects;
/packages/apps/Tag/src/com/android/apps/tag/record/
H A DImageRecord.java20 import com.google.common.base.Preconditions;
H A DMimeRecord.java21 import com.google.common.base.Preconditions;
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DFilterDeleteSet.java21 // FilterDeleteSet filters a base MediaSet to remove some deletion items (we
133 ArrayList<MediaItem> base = mBaseSet.getMediaItem(start + i, count + (j - i));
139 base.remove(k);
141 return base;
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DStorageManager.java294 File base = new File(mExternalStorageDir.getPath() + Constants.DEFAULT_DL_SUBDIR);
295 if (!base.isDirectory() && !base.mkdir()) {
299 "unable to create external downloads directory " + base.getPath());
301 return base;

Completed in 734 milliseconds

123