Home
last modified time | relevance | path

Searched refs:loc (Results 1 – 15 of 15) sorted by relevance

/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dndfdic.c334 word->stem.loc = loctset->loct; in njd_f_get_word()
358 NJ_SEARCH_LOCATION *loc; in njd_f_get_stroke() local
369 loc = &word->stem.loc; in njd_f_get_stroke()
370 data = STEM_AREA_TOP_ADDR(loc->handle) + loc->current; in njd_f_get_stroke()
373 area = YOMI_AREA_TOP_ADDR(loc->handle) + DATA_YOMI(data); in njd_f_get_stroke()
375 if (YOMI_INDX_CNT(loc->handle) == 0) { in njd_f_get_stroke()
392 len = convert_to_yomi(loc->handle, area, DATA_YOMI_SIZE(data), stroke, size); in njd_f_get_stroke()
404 NJ_SEARCH_LOCATION *loc; in njd_f_get_candidate() local
412 loc = &word->stem.loc; in njd_f_get_candidate()
413 data = STEM_AREA_TOP_ADDR(loc->handle) + loc->current; in njd_f_get_candidate()
[all …]
Dndapi.c486 if (result->word.stem.loc.handle == NULL) { in njd_get_stroke()
490 dictype = NJ_GET_DIC_TYPE_EX(result->word.stem.loc.type, result->word.stem.loc.handle); in njd_get_stroke()
499 if (GET_LOCATION_OPERATION(result->word.stem.loc.status) != NJ_CUR_OP_COMP) { in njd_get_stroke()
544 if (result->word.stem.loc.handle == NULL) { in njd_get_candidate()
548 dictype = NJ_GET_DIC_TYPE_EX(result->word.stem.loc.type, result->word.stem.loc.handle); in njd_get_candidate()
896 word->stem.loc.handle = NULL; in njd_init_word()
897 word->stem.loc.type = NJ_DIC_H_TYPE_NORMAL; in njd_init_word()
898 word->stem.loc.current = 0; in njd_init_word()
899 word->stem.loc.top = 0; in njd_init_word()
900 word->stem.loc.bottom = 0; in njd_init_word()
[all …]
Dndbdic.c1383 word->stem.loc = loctset->loct; in njd_b_get_word()
1390 NJ_SEARCH_LOCATION *loc; in njd_b_get_candidate() local
1404 if ((GET_LOCATION_OPERATION(word->stem.loc.status) == NJ_CUR_OP_COMP) || in njd_b_get_candidate()
1405 (GET_LOCATION_OPERATION(word->stem.loc.status) == NJ_CUR_OP_FORE)) { in njd_b_get_candidate()
1408 loc = &word->stem.loc; in njd_b_get_candidate()
1409 data = STEM_AREA_TOP_ADDR(loc->handle); in njd_b_get_candidate()
1410 data += loc->top + loc->current; in njd_b_get_candidate()
1413 get_stem_cand_data(loc->handle, data, &stem_set); in njd_b_get_candidate()
1424 if (GET_LOCATION_OPERATION(word->stem.loc.status) == NJ_CUR_OP_COMP) { in njd_b_get_candidate()
1436 next = get_stem_next(loc->handle, data); in njd_b_get_candidate()
[all …]
Dndldic.c1743 word->stem.loc = loctset->loct; in njd_l_get_word()
1745 word->stem.loc.current &= 0x0000ffff; in njd_l_get_word()
1746 word->stem.loc.current |= ((NJ_UINT32)que_id << 16); in njd_l_get_word()
1774 que_id = (NJ_UINT16)(word->stem.loc.current >> 16); in njd_l_get_stroke()
1786 str = get_string(iwnn, word->stem.loc.handle, que_id, &slen); in njd_l_get_stroke()
1812 que_id = (NJ_UINT16)(word->stem.loc.current >> 16); in njd_l_get_candidate()
1821 str = get_hyouki(iwnn, word->stem.loc.handle, que_id, &slen); in njd_l_get_candidate()
/packages/apps/Email/src/com/android/exchange/
DPartRequest.java33 public String loc; field in PartRequest
39 loc = att.mLocation; in PartRequest()
DAbstractSyncService.java305 if (pr.emailId == emailId && pr.loc.equals(part)) in hasPartRequest()
320 if (pr.emailId == emailId && pr.loc.equals(part)) { in cancelPartRequest()
/packages/apps/Settings/src/com/android/settings/
DSettingsSafetyLegalActivity.java53 String loc = String.format("locale=%s-%s", language, country); in onCreate() local
55 userSafetylegalUrl = String.format("%s&%s", userSafetylegalUrl, loc); in onCreate()
DLocalePicker.java170 Loc loc = mLocales[position]; in onListItemClick() local
171 config.locale = loc.locale; in onListItemClick()
DRadioInfo.java627 GsmCellLocation loc = (GsmCellLocation)location; in updateLocation() local
628 int lac = loc.getLac(); in updateLocation()
629 int cid = loc.getCid(); in updateLocation()
636 CdmaCellLocation loc = (CdmaCellLocation)location; in updateLocation() local
637 int bid = loc.getBaseStationId(); in updateLocation()
638 int sid = loc.getSystemId(); in updateLocation()
639 int nid = loc.getNetworkId(); in updateLocation()
640 int lat = loc.getBaseStationLatitude(); in updateLocation()
641 int lon = loc.getBaseStationLongitude(); in updateLocation()
/packages/apps/Gallery/src/com/android/camera/
DCamera.java610 public JpegPictureCallback(Location loc) { in JpegPictureCallback() argument
611 mLocation = loc; in JpegPictureCallback()
703 private int storeImage(byte[] data, Location loc) { in storeImage() argument
712 loc, // location from gps/network in storeImage()
733 android.hardware.Camera camera, Location loc) { in storeImage() argument
735 int degree = storeImage(data, loc); in storeImage()
785 Location loc = mRecordLocation ? getCurrentLocation() : null; in capture() local
786 if (loc != null) { in capture()
787 double lat = loc.getLatitude(); in capture()
788 double lon = loc.getLongitude(); in capture()
[all …]
/packages/apps/Camera/src/com/android/camera/
DCamera.java615 public JpegPictureCallback(Location loc) { in JpegPictureCallback() argument
616 mLocation = loc; in JpegPictureCallback()
736 private int storeImage(byte[] data, Location loc) { in storeImage() argument
745 loc, // location from gps/network in storeImage()
766 android.hardware.Camera camera, Location loc) { in storeImage() argument
768 int degree = storeImage(data, loc); in storeImage()
818 Location loc = mRecordLocation ? getCurrentLocation() : null; in capture() local
819 if (loc != null) { in capture()
820 double lat = loc.getLatitude(); in capture()
821 double lon = loc.getLongitude(); in capture()
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DDragController.java171 int[] loc = mCoordinatesTemp; in startDrag() local
172 v.getLocationOnScreen(loc); in startDrag()
173 int screenX = loc[0]; in startDrag()
174 int screenY = loc[1]; in startDrag()
DDropTarget.java95 void getLocationOnScreen(int[] loc); in getLocationOnScreen() argument
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
Dnj_ext.h112 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,
Dnj_lib.h275 NJ_SEARCH_LOCATION loc; member