Home | History | Annotate | Download | only in emoji

Lines Matching refs:rec

64 /*  Given a local index, return (initialized if needed) a rec containing the
76 EncodeDataRec* rec = &gGmojiEncodeData[index];
78 if (NOT_AVAILABLE_ENCODE_SIZE == rec->fSize) {
81 if (UNINITIALIZED_ENCODE_SIZE == rec->fSize) {
88 rec->fData = fact->GetImageBinaryFromAndroidPua(pua, &rec->fSize);
89 if (NULL == rec->fData) {
91 rec->fSize = NOT_AVAILABLE_ENCODE_SIZE;
95 return rec;
103 EncodeDataRec* rec = get_encoderec(index);
105 if (rec) {
106 bitmap = rec->fBitmap;
109 if (!SkImageDecoder::DecodeMemory(rec->fData, rec->fSize, bitmap)) {
112 rec->fSize = NOT_AVAILABLE_ENCODE_SIZE;
116 rec->fBitmap = bitmap;