/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
H A D | ndfdic.c | 334 word->stem.loc = loctset->loct; 358 NJ_SEARCH_LOCATION *loc; local 369 loc = &word->stem.loc; 370 data = STEM_AREA_TOP_ADDR(loc->handle) + loc->current; 373 area = YOMI_AREA_TOP_ADDR(loc->handle) + DATA_YOMI(data); 375 if (YOMI_INDX_CNT(loc->handle) == 0) { 392 len = convert_to_yomi(loc->handle, area, DATA_YOMI_SIZE(data), stroke, size); 404 NJ_SEARCH_LOCATION *loc; local [all...] |
H A D | ndapi.c | 486 if (result->word.stem.loc.handle == NULL) { 490 dictype = NJ_GET_DIC_TYPE_EX(result->word.stem.loc.type, result->word.stem.loc.handle); 499 if (GET_LOCATION_OPERATION(result->word.stem.loc.status) != NJ_CUR_OP_COMP) { 544 if (result->word.stem.loc.handle == NULL) { 548 dictype = NJ_GET_DIC_TYPE_EX(result->word.stem.loc.type, result->word.stem.loc.handle); 896 word->stem.loc.handle = NULL; 897 word->stem.loc.type = NJ_DIC_H_TYPE_NORMAL; 898 word->stem.loc [all...] |
H A D | ndbdic.c | 1383 word->stem.loc = loctset->loct; 1390 NJ_SEARCH_LOCATION *loc; local 1404 if ((GET_LOCATION_OPERATION(word->stem.loc.status) == NJ_CUR_OP_COMP) || 1405 (GET_LOCATION_OPERATION(word->stem.loc.status) == NJ_CUR_OP_FORE)) { 1408 loc = &word->stem.loc; 1409 data = STEM_AREA_TOP_ADDR(loc->handle); 1410 data += loc->top + loc->current; 1413 get_stem_cand_data(loc 1485 NJ_SEARCH_LOCATION *loc; local [all...] |
H A D | ndldic.c | 1743 word->stem.loc = loctset->loct; 1745 word->stem.loc.current &= 0x0000ffff; 1746 word->stem.loc.current |= ((NJ_UINT32)que_id << 16); 1774 que_id = (NJ_UINT16)(word->stem.loc.current >> 16); 1786 str = get_string(iwnn, word->stem.loc.handle, que_id, &slen); 1812 que_id = (NJ_UINT16)(word->stem.loc.current >> 16); 1821 str = get_hyouki(iwnn, word->stem.loc.handle, que_id, &slen);
|
/packages/apps/Settings/src/com/android/settings/tts/ |
H A D | TtsEngineSettingsFragment.java | 208 Locale loc = null; 210 loc = new Locale(langCountryVariant[0]); 212 loc = new Locale(langCountryVariant[0], langCountryVariant[1]); 214 loc = new Locale(langCountryVariant[0], langCountryVariant[1], 217 if (loc != null){ 219 loc.getDisplayName(), availableLangs.get(i)));
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | ButtonDropTarget.java | 144 public void getLocationInDragLayer(int[] loc) { argument 145 mLauncher.getDragLayer().getLocationInDragLayer(this, loc);
|
H A D | DropTarget.java | 181 void getLocationInDragLayer(int[] loc); argument
|
H A D | DragLayer.java | 280 public float getLocationInDragLayer(View child, int[] loc) { argument 281 loc[0] = 0; 282 loc[1] = 0; 283 return getDescendantCoordRelativeToSelf(child, loc); 318 int[] loc = new int[2]; 319 getLocationInWindow(loc); 320 int x = loc[0]; 321 int y = loc[1]; 323 v.getLocationInWindow(loc); 324 int vX = loc[ [all...] |
H A D | DragController.java | 179 int[] loc = mCoordinatesTemp; 180 mLauncher.getDragLayer().getLocationInDragLayer(v, loc); 181 int dragLayerX = loc[0] + v.getPaddingLeft() + 183 int dragLayerY = loc[1] + v.getPaddingTop() +
|
H A D | FolderIcon.java | 260 public void getCell(int[] loc) { argument 261 loc[0] = mCellX; 262 loc[1] = mCellY;
|
H A D | Folder.java | 1109 public void getLocationInDragLayer(int[] loc) { argument 1110 mLauncher.getDragLayer().getLocationInDragLayer(this, loc);
|
H A D | Workspace.java | 3196 private void getFinalPositionForDropAnimation(int[] loc, float[] scaleXY, argument 3205 loc[0] = r.left; 3206 loc[1] = r.top; 3210 mLauncher.getDragLayer().getDescendantCoordRelativeToSelf(layout, loc); 3225 loc[0] -= (dragView.getMeasuredWidth() - cellLayoutScale * r.width()) / 2; 3226 loc[1] -= (dragView.getMeasuredHeight() - cellLayoutScale * r.height()) / 2; 3815 public void getLocationInDragLayer(int[] loc) { argument 3816 mLauncher.getDragLayer().getLocationInDragLayer(this, loc);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | Util.java | 633 public static void setGpsParameters(Parameters parameters, Location loc) { argument 641 if (loc != null) { 642 double lat = loc.getLatitude(); 643 double lon = loc.getLongitude(); 650 parameters.setGpsProcessingMethod(loc.getProvider().toUpperCase()); 651 if (loc.hasAltitude()) { 652 parameters.setGpsAltitude(loc.getAltitude()); 659 if (loc.getTime() != 0) { 662 long utcTimeSeconds = loc.getTime() / 1000; 666 loc [all...] |
H A D | Camera.java | 747 public JpegPictureCallback(Location loc) { argument 748 mLocation = loc; 848 Location loc; field in class:Camera.SaveRequest 887 public void addImage(final byte[] data, Location loc, int width, argument 891 r.loc = (loc == null) ? null : new Location(loc); // make a copy 935 storeImage(r.data, r.loc, r.width, r.height, r.dateTaken, 991 private void storeImage(final byte[] data, Location loc, int width, argument 996 loc, orientatio [all...] |
H A D | VideoCamera.java | 1209 Location loc = mLocationManager.getCurrentLocation(); 1210 if (loc != null) { 1211 mMediaRecorder.setLocation((float) loc.getLatitude(), 1212 (float) loc.getLongitude()); 1407 Location loc = mLocationManager.getCurrentLocation(); 1408 if (loc != null) { 1409 mCurrentVideoValues.put(Video.Media.LATITUDE, loc.getLatitude()); 1410 mCurrentVideoValues.put(Video.Media.LONGITUDE, loc.getLongitude()); 2381 Location loc = mLocationManager.getCurrentLocation(); 2382 Util.setGpsParameters(mParameters, loc); 2395 JpegPictureCallback(Location loc) argument 2408 storeImage(final byte[] data, Location loc) argument [all...] |
/packages/apps/Settings/src/com/android/settings/ |
H A D | SettingsSafetyLegalActivity.java | 55 String loc = String.format("locale=%s-%s", language, country); 57 userSafetylegalUrl = String.format("%s&%s", userSafetylegalUrl, loc);
|
H A D | RadioInfo.java | 474 GsmCellLocation loc = (GsmCellLocation)location; 475 int lac = loc.getLac(); 476 int cid = loc.getCid(); 483 CdmaCellLocation loc = (CdmaCellLocation)location; 484 int bid = loc.getBaseStationId(); 485 int sid = loc.getSystemId(); 486 int nid = loc.getNetworkId(); 487 int lat = loc.getBaseStationLatitude(); 488 int lon = loc.getBaseStationLongitude();
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | Util.java | 708 public static void setGpsParameters(Parameters parameters, Location loc) { argument 716 if (loc != null) { 717 double lat = loc.getLatitude(); 718 double lon = loc.getLongitude(); 725 parameters.setGpsProcessingMethod(loc.getProvider().toUpperCase()); 726 if (loc.hasAltitude()) { 727 parameters.setGpsAltitude(loc.getAltitude()); 734 if (loc.getTime() != 0) { 737 long utcTimeSeconds = loc.getTime() / 1000; 741 loc [all...] |
H A D | VideoModule.java | 1264 Location loc = mLocationManager.getCurrentLocation(); 1265 if (loc != null) { 1266 mMediaRecorder.setLocation((float) loc.getLatitude(), 1267 (float) loc.getLongitude()); 1407 Location loc = mLocationManager.getCurrentLocation(); 1408 if (loc != null) { 1409 mCurrentVideoValues.put(Video.Media.LATITUDE, loc.getLatitude()); 1410 mCurrentVideoValues.put(Video.Media.LONGITUDE, loc.getLongitude()); 2471 Location loc = mLocationManager.getCurrentLocation(); 2472 Util.setGpsParameters(mParameters, loc); 2541 JpegPictureCallback(Location loc) argument 2554 storeImage(final byte[] data, Location loc) argument [all...] |
H A D | PhotoModule.java | 897 public JpegPictureCallback(Location loc) { argument 898 mLocation = loc; 1019 Location loc; field in class:PhotoModule.SaveRequest 1053 Location loc, int width, int height, int orientation) { 1058 r.loc = (loc == null) ? null : new Location(loc); // make a copy 1097 storeImage(r.data, r.uri, r.title, r.loc, r.width, r.height, 1135 Location loc, int width, int height, int orientation) { 1136 boolean ok = Storage.updateImage(mContentResolver, uri, title, loc, 1052 addImage(final byte[] data, Uri uri, String title, Location loc, int width, int height, int orientation) argument 1134 storeImage(final byte[] data, Uri uri, String title, Location loc, int width, int height, int orientation) argument [all...] |
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
H A D | AlertUtils.java | 190 String loc; 191 if (location != null && !TextUtils.isEmpty(loc = location.trim())) { 193 sb.append(loc);
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
H A D | nj_ext.h | 112 extern NJ_INT16 njd_l_delete_word(NJ_CLASS *iwnn, NJ_SEARCH_LOCATION *loc); 122 extern NJ_INT16 njd_l_get_relational_word(NJ_CLASS *iwnn, NJ_SEARCH_LOCATION *loc,
|
H A D | nj_lib.h | 275 NJ_SEARCH_LOCATION loc; member in struct:__anon36::NJ_STEM
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
H A D | EasSyncService.java | 411 String loc; 413 loc = locHeader.getValue(); 415 mHostAddress = Uri.parse(loc).getHost(); 418 userLog("Redirecting to: " + loc); 600 String loc = locHeader.getValue(); 603 if (loc != null && loc.startsWith("http")) { 604 post.setURI(URI.create(loc));
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
H A D | CalendarSyncAdapter.java | 1592 String loc = entityValues.getAsString(Events.EVENT_LOCATION); 1593 if (!TextUtils.isEmpty(loc)) { 1596 loc = Utility.replaceBareLfWithCrlf(loc); 1598 s.data(Tags.CALENDAR_LOCATION, loc);
|