quran / quran_android

a quran reading application for android
http://android.quran.com
GNU General Public License v3.0
2k stars 886 forks source link

glyphs Table Creation? #2759

Open YoussefHachicha opened 3 months ago

YoussefHachicha commented 3 months ago

not an issue but I encountered this function in the AyahInfoDatabaseHandler class

private Cursor getVersesBoundsCursorForPage(int page, boolean withGlyphData) {
    String[] columns = withGlyphData ?
        new String[]{COL_PAGE, COL_LINE, COL_SURA, COL_AYAH, COL_POSITION, MIN_X, MIN_Y, MAX_X, MAX_Y, GLYPH_TYPE} :
        new String[]{COL_PAGE, COL_LINE, COL_SURA, COL_AYAH, COL_POSITION, MIN_X, MIN_Y, MAX_X, MAX_Y};

    return database.query(GLYPHS_TABLE,
        columns,
        COL_PAGE + "=" + page,
        null, null, null,
        COL_SURA + "," + COL_AYAH + "," + COL_POSITION);
  }

here we are getting something from the GLYPHS_TABLE, when I tried to look for the GLYPHS_TABLE I wasn't able to find where have we created the table and where have we added rows to it, which made me confused.