Residence in Texas Jan. 2020. Residence in California Feb-Dec 2020. Income tax in Jan. be for Texas ? Also, sell company stock Jan. also taxed per Texas?

Moving from Texas (no state tax) to California (state tax). If residence in Texas January but Calfornia residence Feb - Dec.  Am I liable for any CA state tax for the Jan income in Texas ?  Also if I decide to sell taxable stock in Texas in Jan would be this be liable for CA State tax ?